{"id":24489740,"url":"https://github.com/trevorbollinger/statbot","last_synced_at":"2026-02-07T15:13:29.452Z","repository":{"id":269774708,"uuid":"908012231","full_name":"trevorbollinger/StatBot","owner":"trevorbollinger","description":"Discord Server Statistics tool using discord.py, Django, and React","archived":false,"fork":false,"pushed_at":"2024-12-31T01:51:48.000Z","size":584,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T23:12:40.809Z","etag":null,"topics":["analytics","discord","django","postgres","react","statistics"],"latest_commit_sha":null,"homepage":"","language":"Python","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/trevorbollinger.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,"zenodo":null}},"created_at":"2024-12-24T21:36:44.000Z","updated_at":"2024-12-31T01:51:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ce049b3-1b74-4e3d-9ed9-14d30ff8bc47","html_url":"https://github.com/trevorbollinger/StatBot","commit_stats":null,"previous_names":["trevorbollinger/statbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trevorbollinger/StatBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorbollinger%2FStatBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorbollinger%2FStatBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorbollinger%2FStatBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorbollinger%2FStatBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trevorbollinger","download_url":"https://codeload.github.com/trevorbollinger/StatBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trevorbollinger%2FStatBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261324653,"owners_count":23141768,"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":["analytics","discord","django","postgres","react","statistics"],"created_at":"2025-01-21T17:15:42.605Z","updated_at":"2026-02-07T15:13:29.446Z","avatar_url":"https://github.com/trevorbollinger.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StatBot\r\n\r\nStatBot is a Discord Server Statistics tool built with discord.py, Django, and React. It allows you to archive and analyze messages from your Discord server.\r\n\r\n## Features\r\n\r\n- **Real-time Archiving**: Automatically archive messages as they are sent.\r\n- **Historical Import**: Import previous messages using JSON data from Discord Chat Exporter.\r\n- **Daily Archiving**: Archive all messages sent on any previous day without using Discord Chat Exporter.\r\n- **Analytics Dashboard**: View analytics in real time on a React web interface, including:\r\n  - Recent messages\r\n  - Graph showing messages sent over the last 24 hours\r\n  - Total messages sent\r\n  - Average characters per message\r\n  - Most active day\r\n  - Average messages per day\r\n  - Per Channel Statistics\r\n  - Per User Statistics\r\n\r\n## Setup\r\n\r\n- In the StatBot folder, open the `discord` folder.\r\n- Find the file named `.env` (turn on hidden files).\r\n- Paste your Discord token after the equals symbol, do not add spaces or quotes.\r\n- Start with `docker compose up`.\r\n- Dashboard will be accessable on the hostURL defined in config (`http://localhost:8068` by default)\r\n\r\n## Config\r\n\r\n- In the `config.js` file you can edit config settings.\r\n  - **Title**: Name of the frontend\r\n  - **hostUrl**: Frontend URL webserver runs on\r\n  - **apiUrl**: Backend URL Django runs on\r\n  - **Note**: If you change these ports, make sure to also change them in `docker-compose.yml`\r\n  - For the URLs, you could also use 127.0.0.1, your server's internal IP, your external IP, your domain name, etc.\r\n\r\n## License\r\n\r\nThis project is open-source.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrevorbollinger%2Fstatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrevorbollinger%2Fstatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrevorbollinger%2Fstatbot/lists"}