No description
Find a file
2026-05-27 15:30:49 +02:00
.vscode Initial version 2026-05-27 04:12:14 +02:00
scripts Refresh tokens 2026-05-27 15:26:25 +02:00
src Split checkins by day on pending view 2026-05-27 15:30:49 +02:00
static Initial version 2026-05-27 04:12:14 +02:00
.env.example Initial version 2026-05-27 04:12:14 +02:00
.gitignore Initial version 2026-05-27 04:12:14 +02:00
.npmrc Initial version 2026-05-27 04:12:14 +02:00
.prettierignore Initial version 2026-05-27 04:12:14 +02:00
.prettierrc Initial version 2026-05-27 04:12:14 +02:00
docker-compose.yml Initial version 2026-05-27 04:12:14 +02:00
drizzle.config.ts Initial version 2026-05-27 04:12:14 +02:00
eslint.config.js Initial version 2026-05-27 04:12:14 +02:00
package-lock.json Initial version 2026-05-27 04:12:14 +02:00
package.json Initial version 2026-05-27 04:12:14 +02:00
README.md Refresh tokens 2026-05-27 15:26:25 +02:00
svelte.config.js Initial version 2026-05-27 04:12:14 +02:00
tsconfig.json Initial version 2026-05-27 04:12:14 +02:00
vite.config.ts Initial version 2026-05-27 04:12:14 +02:00

TräwellPlan

This is a Sveltekit app allowing you to schedule trips in Träwelling, automatically checking you in an hour before it starts.

There's a live demo available at trips.rlin.eu.

Disclaimer

Keep in mind that this was born out of laziness, so even for my standards there's some hacky stuff in there. I consider this to still be in alpha, so expect some bugs and missing features.

Developing

To start a development server run the following command after installing dependencies:

npm run dev

Background polling

Run the check-in poller in a separate terminal so it checks the database and sends check-in requests to Träwelling:

npm run checkin:poll

Set CHECKIN_POLL_INTERVAL_MS to change the interval. The default is 30000.

Running with Docker

You can also run the app with Docker. Just run the following command in the project directory: You'll probably need to change the .env file, to set the OAuth settings, and some other settings.

docker-compose up