{"id":21383339,"url":"https://github.com/henrique-coder/discoembed","last_synced_at":"2025-03-16T11:26:20.484Z","repository":{"id":252449932,"uuid":"840476884","full_name":"henrique-coder/discoembed","owner":"henrique-coder","description":"A dynamic site made in Flask that is able to generate intelligent embeds without any limitations from almost any video on Discord.","archived":false,"fork":false,"pushed_at":"2024-10-19T11:50:59.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T23:27:07.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://discoembed.onrender.com","language":"Python","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/henrique-coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-08-09T19:52:27.000Z","updated_at":"2024-10-19T11:51:02.000Z","dependencies_parsed_at":"2024-08-18T20:27:18.407Z","dependency_job_id":"6b51133e-9426-4c0d-90c6-2a825796b987","html_url":"https://github.com/henrique-coder/discoembed","commit_stats":null,"previous_names":["henrique-coder/discoembed"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-coder%2Fdiscoembed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-coder%2Fdiscoembed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-coder%2Fdiscoembed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrique-coder%2Fdiscoembed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrique-coder","download_url":"https://codeload.github.com/henrique-coder/discoembed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243859949,"owners_count":20359622,"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-11-22T11:28:17.847Z","updated_at":"2025-03-16T11:26:20.461Z","avatar_url":"https://github.com/henrique-coder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eDiscoembed\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"icon.ico\" alt=\"favicon\" width=\"64\" height=\"64\"\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/created-at/henrique-coder/discoembed?style=for-the-badge\u0026logoColor=white\u0026labelColor=gray\u0026color=white\" alt=\"GitHub Created At\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/commit-activity/m/henrique-coder/discoembed?style=for-the-badge\u0026logoColor=white\u0026labelColor=gray\u0026color=white\" alt=\"GitHub commit activity\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/henrique-coder/discoembed?style=for-the-badge\u0026logoColor=white\u0026labelColor=gray\u0026color=white\" alt=\"GitHub last commit\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    A dynamic site made in Flask that is able to generate intelligent embeds without any limitations from almost any video on Discord.\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n#### Features\n\n- The website generates a video player with the direct video url you provide in the Discord preview. It's useful for people who don't have Nitro and want to send very large videos to other people quickly and easily.\n\n#### How to use\n\nBasically, the site has a main base url and 4 parameters, 1 of which is required. The parameters are used to generate the embed with the video player and the thumbnail image you want to use (warning: the site will only send a valid response to the bot that Discord uses to display the player to the end user).\n\n- Base API URL: https://discoembed.onrender.com.\n\nParameters:\n\n- **`url`** (required): the direct video url you want to generate the embed _(H265/HEVC encoded videos or MKV files are not supported)_.\n- **`cover`** (optional): the thumbnail image you want to use in the embed _(It must be a direct image url)_.\n- **`width`** (optional): the width of the video player _(Default is 1920)_.\n- **`height`** (optional): the height of the video player _(Default is 1080)_.\n\n#### How was it done?\n\n- Built with [Python](https://www.python.org).\n- Uses [Flask](https://flask.palletsprojects.com) as the web framework.\n\n#### Prerequisites\n\n- [Python 3.12.4](https://www.python.org/downloads/release/python-3124) with pip.\n- [Git](https://gitforwindows.org) (optional).\n\n### Installation from source code\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/henrique-coder/discoembed.git\n\n# 2. Change the directory\ncd discoembed\n\n# 3. Install the requirements\npip install -U -r requirements.txt\n\n# 4. Run the web server\npython discoembed.py  # with Python (development)\ngunicorn -b 0.0.0.0:18500 discoembed:app  # with Gunicorn (production)\n```\n\n### Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have any suggestions that could improve this project, please [fork](https://github.com/henrique-coder/discoembed/fork) the repository and open a pull request. Or simply open an [issue](https://github.com/henrique-coder/discoembed/issues/new) and describe your ideas or let us know what bugs you've found. Don't forget to give the project a star. Thanks again!\n\n1. Fork the project at https://github.com/henrique-coder/discoembed/fork\n2. Create your feature branch ・ `git checkout -b feature/{feature_name}`\n3. Commit your changes ・ `git commit -m \"{commit_message}\"`\n4. Push to the branch ・ `git push origin feature/{feature_name}`\n5. Open a pull request describing the changes made and detailing the new feature. Then wait for an administrator to review it and you're done!\n\n### License\n\nDistributed under the **MIT License**. See [LICENSE](https://github.com/henrique-coder/discoembed/blob/main/LICENSE) for more information.\n\n### Disclaimer\n\nPlease note that this project is still under development and may contain errors or incomplete functionality. If you encounter any problems, feel free to open an [issue](https://github.com/henrique-coder/discoembed/issues/new) and describe the problem you are facing. Your feedback is very important to us.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrique-coder%2Fdiscoembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrique-coder%2Fdiscoembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrique-coder%2Fdiscoembed/lists"}