{"id":18409614,"url":"https://github.com/portasynthinca3/deutexrium","last_synced_at":"2025-08-01T17:34:25.271Z","repository":{"id":65295940,"uuid":"403183500","full_name":"portasynthinca3/deutexrium","owner":"portasynthinca3","description":"A Discord bot that automatically generates messages based on the previously seen ones","archived":false,"fork":false,"pushed_at":"2024-06-07T10:13:59.000Z","size":3043,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-07T11:36:06.241Z","etag":null,"topics":["discord-bot","elixir","markov-chain","nostrum","text-generation"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/portasynthinca3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-09-05T00:39:24.000Z","updated_at":"2024-06-07T11:36:11.382Z","dependencies_parsed_at":"2024-03-09T04:32:17.312Z","dependency_job_id":null,"html_url":"https://github.com/portasynthinca3/deutexrium","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Fdeutexrium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Fdeutexrium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Fdeutexrium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/portasynthinca3%2Fdeutexrium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/portasynthinca3","download_url":"https://codeload.github.com/portasynthinca3/deutexrium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223276473,"owners_count":17118347,"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":["discord-bot","elixir","markov-chain","nostrum","text-generation"],"created_at":"2024-11-06T03:26:15.358Z","updated_at":"2024-11-06T03:26:16.216Z","avatar_url":"https://github.com/portasynthinca3.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deutexrium\n[![Discord Bots](https://top.gg/api/widget/owner/733605243396554813.svg)](https://top.gg/bot/733605243396554813)\n[![Discord Bots](https://top.gg/api/widget/status/733605243396554813.svg)](https://top.gg/bot/733605243396554813)\n\nElixir [Deuterium](https://github.com/portasynthinca3/deuterium) rewrite, a Discord bot that automatically generates messages based on the previously seen ones on a per-channel basis.\n\n## Use an existing one\n[Invite it to your server](https://discord.com/oauth2/authorize?client_id=733605243396554813\u0026scope=bot%20applications.commands)\n\n## Run your own\nPlease note that Deuterium uses a [custom permissive license](LICENSE.md). It's only 6 lines long and it's a good idea to read it!\n\nThis app is dockerized, so it can be deployed in a few simple steps:\n  1. Create the data volume: `docker volume create --driver local --opt type=none --opt device=/path/on/the/host/where/data/will/be/stored --opt o=bind deut_data`\n  2. Save your Discord bot token: `printf \"DEUTEX_TOKEN=Y0uЯ-t0k3n\" \u003e .env`\n  3. Pull the image: `docker pull ghcr.io/portasynthinca3/deutexrium:latest`\n  4. Run the container: `docker run --mount source=deut_data,target=/var/deutexrium --env-file .env -d deutexrium`\n\nTo connect an IEx shell to a locally running container:\n  1. Download `epmd_docker`: `git clone https://github.com/rlipscombe/epmd_docker.git \u0026\u0026 cd epmd_docker`\n  2. Build `epmd_docker`: `make`\n  3. Run `docker ps` and find out the ID of the container\n  4. Run `iex --erl \"-pa ebin -epmd_module epmd_docker -setcookie deutexrium -sname shell\" --remsh deuterium@c0nta1ner-1d`\n\nOn first startup and when updating the bot register slash commands using the shell (one of):\n  * `Ctl.add_slash_commands` to register them globally (takes about an hour to update across all servers)\n  * `Ctl.add_slash_commands(123)` to register them in the Discord server with ID 123 (instant)\n\n## Performance monitoring\nDeuterium uses Prometheus for performance logging, an example config for which can be found in `apm/`. A dashboard for Grafana can be found in the same directory.\n\n### Exporting data from the master Deuterium instance\nContact me (`/support`) to get your data package. I'm working on a solution to download the data without human intervention just like Deuterium 1.x has previously allowed.\n\n## TODO\n  - bring back `/forget`\n  - bring back `/export`\n  - refactor the settings server (literal unreadable code atm)\n  - set up a Weblate instance for translation\n  - bring back voice channel support\n  - bring back stat logging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportasynthinca3%2Fdeutexrium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fportasynthinca3%2Fdeutexrium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportasynthinca3%2Fdeutexrium/lists"}