2.3 KiB
This is a Next.js project bootstrapped with create-next-app.
Notification Setup (Discord/Telegram)
To receive alerts when someone cancels a cat sitting slot, you can configure a Webhook in the Settings menu of your dashboard.
👾 Discord
- Open your Discord server and go to Server Settings > Integrations > Webhooks.
- Click New Webhook, name it (e.g., "Cat Sitting Bot"), and select the desired channel.
- Click Copy Webhook URL.
- Paste this URL into the Notification Webhook field in the plan settings.
✈️ Telegram
Telegram doesn't support simple Webhooks natively for users. The easiest way is using a bridge like Intergram:
- Open Telegram and search for the
@IntergramBot. - Send
/startto get your unique Chat ID. - Your Webhook URL will be:
https://www.intergram.xyz/msg/YOUR_CHAT_ID - Paste this URL into the Notification Webhook field in the plan settings.
Note: The app sends notifications automatically whenever a booking is deleted.
🐳 Deployment (Docker)
The easiest way to host the Cat Sitting Planner is via Docker.
1. Build & Run
docker-compose up -d --build
2. Persist & Backup Data (Important)
All coordination data is stored in a single SQLite file at /app/data/dev.db inside the container.
To ensure your plans are safe:
- Always map a volume to
/app/data. - Backups: Simply copy the
dev.dbfile from your host path (e.g.,/mnt/user/appdata/csp/dev.db). - Upgrades: As long as the volume mapping stays the same, your data will survive container updates.
- Moving Systems: If you move the app, copy your existing
dev.dbinto the new host data folder before starting the container.
Example docker-compose.yml volumes:
volumes:
- /mnt/user/appdata/csp:/app/data
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!