trap daily stamp is an application that implements time-varying stamps by regularly updating stamp images. It utilizes traQ's stamp image update events to achieve real-time stamp image updates.
The application provides various types of stamps that change over time:
- 📅 Day (曜日)
- 📆 Month (月)
- 📅 Date (日付)
- ⏰ Hour (時間)
- 🌤️ Weather (天気)
- 🌡️ Temperature (気温)
This application is designed to be deployed on traP's internal PaaS, NeoShowcase.
- Generate requirements.txt:
uv pip compile pyproject.toml > requirements.txt- Deploy Type: Runtime
- Build Type: BuildPack
- URLs: https://{domain} -> 8080/TCP
Required environment variables:
BASE_APP_URL: Base URL of the applicationBASE_URL: Base URL for the serviceBOT_ACCESS_TOKEN: Access token for the botBOT_VERIFICATION_TOKEN: Verification token for the botOPEN_WEATHER_API_KEY: API key for OpenWeatherPYTHONPATH: Set to/workspace/ns-repoSECRET_COOKIE: Secret cookie for session managementTARGET_LATITUDE: Latitude for weather informationTARGET_LONGITUDE: Longitude for weather information
This project uses AiotraQ. AiotraQ is used for interacting with traQ's API and implementing traQ Bot functionality.
This project is licensed under the MIT License - see the LICENSE file for details.
