{"id":17026259,"url":"https://github.com/kevboh/potential_literature","last_synced_at":"2025-04-12T11:33:14.849Z","repository":{"id":65296479,"uuid":"581637263","full_name":"kevboh/potential_literature","owner":"kevboh","description":"a Discord bot to enforce Oulipo constraints in servers.","archived":false,"fork":false,"pushed_at":"2023-07-11T13:30:23.000Z","size":30,"stargazers_count":3,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T06:11:47.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/kevboh.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-23T19:46:47.000Z","updated_at":"2023-01-06T23:23:22.000Z","dependencies_parsed_at":"2024-10-14T07:31:26.429Z","dependency_job_id":"938e7117-0b4d-46b2-9ad8-ca2e8b8d2ee7","html_url":"https://github.com/kevboh/potential_literature","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fpotential_literature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fpotential_literature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fpotential_literature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevboh%2Fpotential_literature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevboh","download_url":"https://codeload.github.com/kevboh/potential_literature/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560123,"owners_count":21124596,"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-14T07:31:22.013Z","updated_at":"2025-04-12T11:33:14.819Z","avatar_url":"https://github.com/kevboh.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Potential Literature\n\nA Discord bot to add [Oulipo](https://en.wikipedia.org/wiki/Oulipo)-style constraints to servers.\n\n## Current Rules\n\n1. No use of the letter `E` on Tuesdays. Messages containing the fifth glyph will be deleted (and DMed privately to the author, to preserve their sin).\n\nPrefixing a message with `!` will skip rule enforcement, for emergencies.\n\n## Development\n\n`cp .env.example .env` and add your bot token. You can create an application [here](https://discord.com/developers/applications). Then:\n\n```\nmix deps.get\n```\n\n`iex -S mix` will start your bot locally with a connected REPL.\n\n## Deploying via Fly.io\n\nYou'll need a volume named `db` for SQLite. If you’re trying to stick inside the free tier:\n\n```\nfly volumes create db --size 1\n```\n\nSet some secrets to prepare for initial release:\n\n```\nfly secrets set DISCORD_BOT_TOKEN=\"your-token\" SUMMARY_GUILD_ID=\"your-guild-id\" SUMMARY_CHANNEL_ID=\"your-main-channel-id\"\n```\n\nThe `DATABASE_URL` should be picked up by the `fly.toml` config. Then:\n\n```\nfly launch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevboh%2Fpotential_literature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevboh%2Fpotential_literature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevboh%2Fpotential_literature/lists"}