2.0 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 Data
The database is stored in /app/data/dev.db inside the container. To persist your plans and bookings, map a volume to /app/data:
Example docker-compose.yml volume:
volumes:
- ./data:/app/data
If you are using Unraid or a custom path:
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!