{"id":15375871,"url":"https://github.com/rictic/hypnos","last_synced_at":"2025-07-12T16:03:42.242Z","repository":{"id":66372080,"uuid":"330896220","full_name":"rictic/hypnos","owner":"rictic","description":"simple reminder / events bot for discord","archived":false,"fork":false,"pushed_at":"2023-11-26T23:18:49.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T16:07:03.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rictic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-19T07:19:47.000Z","updated_at":"2023-11-26T02:00:53.000Z","dependencies_parsed_at":"2023-11-26T03:20:18.437Z","dependency_job_id":"71560ba5-bace-42a6-8d4e-514b6587b2f1","html_url":"https://github.com/rictic/hypnos","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Fhypnos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Fhypnos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Fhypnos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rictic%2Fhypnos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rictic","download_url":"https://codeload.github.com/rictic/hypnos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241645645,"owners_count":19996425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T14:05:09.153Z","updated_at":"2025-07-12T16:03:42.236Z","avatar_url":"https://github.com/rictic.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### How to use:\n\n1. create a discord app: https://discord.com/developers/applications. take note of the client id (aka application id) of the app\n2. create a bot for your app. create a `secrets.env` file in this directory with content like:\n\n```bash\nexport DISCORD_TOKEN=paste bot token here\n```\n\n3. invite your bot to a server by going to https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE\u0026scope=bot%20applications.commands\n4. in your terminal do:\n\n```bash\nsource secrets.env \u0026\u0026 cargo run\n```\n\n### Image generation\n\nTo support DALL-E 3 image generation, also add your OpenAI API key to secrets.env. Note, of course, that your bot's users can run up your OpenAI bill!\n\n```bash\nexport OPENAI_API_KEY=paste API key here\n```\n\n### Low traffic channels\n\nIf you have channels that are intended to stay quiet, list their IDs in the\n`LOW_TRAFFIC_CHANNELS` environment variable, separated by commas.\n\n```bash\nexport LOW_TRAFFIC_CHANNELS=1234567890123456,9876543210987654\n```\n\n### Prod\n\nTo run the prod build, run ./run_prod.sh, which will kill any previous prod hypnos processes and start hypnos as a daemon logging to `nohup.out`, then tail that file in your current terminal. Quitting the tail will not stop hypnos.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frictic%2Fhypnos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frictic%2Fhypnos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frictic%2Fhypnos/lists"}