{"id":24774358,"url":"https://github.com/donteatoreo/dougabot","last_synced_at":"2025-07-25T02:37:13.290Z","repository":{"id":65405269,"uuid":"590094024","full_name":"DontEatOreo/DougaBot","owner":"DontEatOreo","description":"Discord bot which can Download, Compress, Trim and change speed of videos and audios","archived":false,"fork":false,"pushed_at":"2024-07-16T20:26:25.000Z","size":128,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"remote-processing","last_synced_at":"2025-01-29T04:09:08.656Z","etag":null,"topics":["bot","compression","csharp","discord","discord-bot","discord-net","discordotnet","dotnet","dotnet-core","ffmpeg","netcore","video"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DontEatOreo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-01-17T16:38:26.000Z","updated_at":"2024-07-16T20:26:28.000Z","dependencies_parsed_at":"2023-11-20T19:45:31.961Z","dependency_job_id":"fe0d7178-53c6-4e99-bc0c-fa1a6b3f64e8","html_url":"https://github.com/DontEatOreo/DougaBot","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/DontEatOreo%2FDougaBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DontEatOreo%2FDougaBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DontEatOreo%2FDougaBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DontEatOreo%2FDougaBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DontEatOreo","download_url":"https://codeload.github.com/DontEatOreo/DougaBot/tar.gz/refs/heads/remote-processing","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236136595,"owners_count":19100628,"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","compression","csharp","discord","discord-bot","discord-net","discordotnet","dotnet","dotnet-core","ffmpeg","netcore","video"],"created_at":"2025-01-29T05:48:43.151Z","updated_at":"2025-01-29T05:48:43.788Z","avatar_url":"https://github.com/DontEatOreo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Remote Processing Branch\n\nThis branch of DougaBot sends videos and audios to [DougaAPI](https://github.com/DontEatOreo/DougaAPI) to be processed.\n\nTo switch to the [local-processing](https://github.com/DontEatOreo/DougaBot/tree/local-processing) branch, run \n\n```bash\ngit checkout local-processing\n```\nin your local repository. Once on the new branch, follow the same instructions in the original README to set up and run the bot.\n\n## AppSettings.json\n`appsettings.json` is a configuration file used by DougaBot to store settings. To configure settings for DougaBot, you will need to edit the `appsettings.json` file. The file is structured as a JSON object with various settings.\n\nHere is an example of what the `appsettings.json` file might look like:\n\n```json\n{\n  \"DougaSettings\": {\n    \"DougaApiLink\": [ \"https://localhost:5001/\", \"https://dougabot-site.com/\" ],\n    \"AutoConvertWebm\": true,\n    \"RegisterGlobalCommands\": true,\n    \"Crf\": 30\n  }\n}\n```\n\n* **DougaApiLink**: The URL of the DougaAPI server that DougaBot should send videos and audios to for processing.\n* **AutoConvertWebm**: A boolean value indicating whether or not DougaBot should automatically convert WebM videos to MP4 for iOS compatibility.\n* **RegisterGlobalCommands**: A boolean value indicating whether or not DougaBot should register global commands.\n* **Crf**: The Constant Rate Factor (CRF) used by FFmpeg to compress videos. A higher value results in lower quality but smaller file sizes.\n\n# DougaBot\n\nDougaBot is a [Discord](https://discord.com/) bot written in C# using the [Discord.Net](https://discordnet.dev/). It utilizes [DougaAPI](https://github.com/DontEatOreo/DougaAPI) to download, compress, speed up, and trim videos and audios.\n\n## Features\n\n- Video downloading\n- Video compression\n- Video to Audio Conversion\n- Speed control for Videos and Audios\n- Video and Audio trimming\n- Automatic conversion of WebM videos to MP4 for iOS compatibility\n\n## Slash Commands\n\n- `/download video`: Download a video\n- `/compress video`: Compress a video\n- `/speed`: Adjust the playback speed of a video\n- `/trim`: Trim a video\n- `/toaudio`: Convert a video to audio\n\nIf a file is above the guild file size limit, DougaBot will automatically upload the file to a file hosting service and send a link to the file instead.\n\n## Important\n\n## The bot token is stored in environment variable called ``DOUGA_TOKEN``\n\n## Notes\n\n- DougaBot currently only processes the first video or the selected video in a playlist. It **WILL NOT** download, compress, speed up, or trim the entire playlist.\n- DougaBot will store logs at `DougaBot/logs`. It rolls everyday and the retention period is 7 files.\n\n## Running the bot\n- Set environment variable `DOUGA_TOKEN` to your bot token\n- Download .NET 7.0 SDK from [here](https://dotnet.microsoft.com/download/dotnet/7.0)\n- Run ``dotnet run`` in the project directory\n- And you are done!\n\nThat's it! If you encounter any issues, please feel free to open an issue on [Issues Page](https://github.com/DontEatOreo/DougaBot/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonteatoreo%2Fdougabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonteatoreo%2Fdougabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonteatoreo%2Fdougabot/lists"}