Warning
This project was mostly vibecoded!
A simple and easy-to-use sync tool for continuously importing your USOS schedule into Google Calendar. usos-sync syncs your classes for this and next week from USOS into Google Calendar.
git clone https://github.com/denipolis/usos-sync.gitcd usos-syncpnpm install- Create
.envfrom.env.example pnpm configurepnpm start
git clone https://github.com/denipolis/usos-sync.gitcd usos-syncpnpm installpnpm build
git clone https://github.com/denipolis/usos-sync.gitcd usos-sync- Create
.envfrom.env.example - Run
pnpm install && pnpm configureto generateconfig.json docker compose up --build -d(ordocker compose -f docker-compose.prod.yml up -dto run pre-built version from GHCR)- Optional logs:
docker compose logs -f usos-sync - Stop:
docker compose down
pnpm configure— interactive setup (USOS OAuth + Google OAuth + calendar id)pnpm sync:once— run one synchronization cyclepnpm start— build and run scheduled syncpnpm dev— TypeScript watch mode
- Static credentials are stored in
.env. - Runtime/dynamic tokens are stored in
config.json