{"id":16802439,"url":"https://github.com/its-treason/eve","last_synced_at":"2026-04-20T05:35:04.796Z","repository":{"id":148395116,"uuid":"540902913","full_name":"Its-treason/eve","owner":"Its-treason","description":"A Discord Bot","archived":false,"fork":false,"pushed_at":"2023-09-04T21:34:40.000Z","size":2445,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T15:48:46.201Z","etag":null,"topics":["bot","discord","docker"],"latest_commit_sha":null,"homepage":"https://eve.its-treason.com","language":"TypeScript","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/Its-treason.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-24T16:59:48.000Z","updated_at":"2023-02-24T17:28:30.000Z","dependencies_parsed_at":"2024-11-23T08:23:59.937Z","dependency_job_id":"06a5c0f0-2889-48b0-bc62-5b3db7769574","html_url":"https://github.com/Its-treason/eve","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-treason%2Feve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-treason%2Feve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-treason%2Feve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-treason%2Feve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Its-treason","download_url":"https://codeload.github.com/Its-treason/eve/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982294,"owners_count":20378607,"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":["bot","discord","docker"],"created_at":"2024-10-13T09:39:37.441Z","updated_at":"2026-04-20T05:34:59.761Z","avatar_url":"https://github.com/Its-treason.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EVE - A Discord Bot\n\nSee the [Kanboard](https://board.its-treason.com/public/board/cf9ec0539cf9b8b8194a49a789525cd2fb82c194d1c1afb0dd0bae6ff8a0) for upcoming and planed features.\n\n## Setup - Development\n\nPrerequisites:\n- Docker \u0026 Docker-Compose\n\nCopy the `.env.example` to `.env`. Some values are already prefilled and will\nwork with the `docker-compose.development.yml` other need to be set manually.\nImportant: When the environment variables are changed the eve-cli container must\nbe restart for the changes to take effect.\n\n\u003cdetails\u003e\n\u003csummary\u003eInfos for all environment variables\u003c/summary\u003e\n\n- `DISCORD_TOKEN`: Discord-Bot token. Goto [discord.dev](https://discord.dev) and create an Application to obtain one.\n- `CLIENT_ID`: User Id of the discord bot account.\n- `DB_HOST`: Hostname of the MariaDB server.\n- `DB_USER`: Username for the MariaDB server.\n- `DB_PASSWORD`: Password for MariaDB server.\n- `DB_DATABASE`: The MariaDB Database to use.\n- `ELASTIC_HOST`: Hostname of the ElasticSearch. Default is `http://elasticsearch:9200`.\n- `ELASTIC_USERNAME`: Username for Elasticsearch, if it has one.\n- `ELASTIC_PASSWORD`: Password for Elasticsearch, if it has one.\n- `REDIS_URL`: Hostname of the Redis server.\n- `NEXT_PUBLIC_API_HOST`: Url to Eve's for the frontend of the panel. Must be publicly accessible.\n- `NEXT_PUBLIC_AUTH_URL`: Url to start the OAuth2 login process. Goto OAuth2 Page of your bot application and in the \"OAuth2 URL Generator\" select scopes \"identify\" \u0026 \"guilds\"\n- `INTERNAL_API_HOST`: Url to Eve's Api for the backend of panel. Can be the Api's docker container name. \n- `CORS_DOMAIN`: Used in the Eve-Panel-Api, should be the domain of the Api or `*` for development.\n- `CLIENT_SECRET`: Client Secret found in OAuth2 Page of your bot application.\n- `REDIRECT_URI`: Must be added in the OAuth2 Page of your bot application. For development use: `http://localhost:3000/doLogin`.\n- `SPOTIFY_CLIENT_ID`: Client ID of the Spotify-Application. You can create an app here: https://developer.spotify.com/dashboard/applications\n- `SPOTIFY_CLIENT_SECRET`: Client Secret of the Spotify-Application.\n- `GUILD_ID`: Id of the Guild/Server you want to deploy SlashCommands. Only needed for development.\n\n\u003c/details\u003e\n\nStart by cloning the repository. Then you can start the database and node.js\ncontainer using:\n```\ndocker-compose -f docker-compose.development up -d\n```\n\nWait until the everything is up and running. Then you can start Eve's services.\nEve is split into multiple services, all of them have to be started\nindependently using:\n```\ndocker-compose -f docker-compose.development.yml exec eve-cli nx run \u003cservice\u003e\n```\n\u003e You should create an alias to make starting services more convenient. For\n\u003e example: `alias dcd=\"docker compose -f docker-compose.development.yml\"` works\n\u003e great for me.\n\nEve's Services are:\n\n| Name | Command | Info |\n| ---- | ------- | ---- |\n| Bot  | bot:dev | Starting the bot will automatically setup the database |\n| Api  | api:dev | Api will start on port 3030 |\n| Panel | panel:server | The panel will start on port 3000 and depends on the api |\n\ne.g. starting the bot: `docker-compose -f docker-compose.development.yml exec eve-cli nx run bot:dev`\n\n## Setup - Production\n\nPrerequisites:\n- Docker \u0026 Docker-Compose\n\nCopy the `.env` to `.env.example` and change all values accordingly. This is\nexplained in depth in the `Setup - Development` above.\n\nThe production image includes all of Eve's services. You only need to provide\nan argument with the service to start.\nValid arguments are: `bot`, `api` \u0026 `panel`.\n\nExample docker-compose.yml to start the bot:\n```yml\n  eve-bot:\n    image: itstreason/eve:latest\n    // This defines which service to start\n    command: [\"bot\"]\n    env_file: \".env\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-treason%2Feve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-treason%2Feve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-treason%2Feve/lists"}