Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
/ finder Public archive

#vss365 today prompt finder service

License

Notifications You must be signed in to change notification settings

vss365today/finder

Repository files navigation

#vss365 today finder

#vss365 today prompt tweet finder service

Required Secrets

  • Path to archive downloads directory (DOWNLOADS_PATH)
  • Path to static prompt images directory (IMAGES_DIR)
  • Crontab-formatted list of finder run times (SCHEDULE_TIMES)
  • Twitter API v2 bearer token (TWITTER_BEARER)
  • Running instance of #vss365 today API v2
    • Operating domain (API_DOMAIN)
    • API key with has_archive, has_notifications, has_hosts, and has_prompts permissions (API_AUTH_TOKEN)

Development

  1. Install Python 3.10+, Poetry 1.3.0+, and VS Code
  2. Create required secret keys in appropriate place (default: ./secrets)
  3. Modify configuration/default.json as required
  4. Run poetry install
  5. Launch the app using the provided VS Code launch configuration

Build

Creating a Docker image will install all required components. Creating an image is a one-line command:

  1. docker build -t vss365today-finder:latest .

License

2020-2023 Caleb Ely

MIT