{"id":26384593,"url":"https://github.com/mlibre/linkmagicbot","last_synced_at":"2025-07-29T00:04:31.786Z","repository":{"id":199344883,"uuid":"701837504","full_name":"mlibre/LinkMagicBot","owner":"mlibre","description":"LinkMagicBot: Download YouTube, Instagram, or any links effortlessly! 😎🌟","archived":false,"fork":false,"pushed_at":"2024-08-16T07:12:39.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-08T04:19:51.066Z","etag":null,"topics":["download","telegram","youtube"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mlibre.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":"2023-10-07T17:49:49.000Z","updated_at":"2024-10-12T11:36:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa6c7c74-2f38-450f-b5fe-d01fecef913a","html_url":"https://github.com/mlibre/LinkMagicBot","commit_stats":null,"previous_names":["mlibre/linkmagicbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mlibre/LinkMagicBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibre%2FLinkMagicBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibre%2FLinkMagicBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibre%2FLinkMagicBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibre%2FLinkMagicBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlibre","download_url":"https://codeload.github.com/mlibre/LinkMagicBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlibre%2FLinkMagicBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267605942,"owners_count":24114618,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["download","telegram","youtube"],"created_at":"2025-03-17T07:29:46.387Z","updated_at":"2025-07-29T00:04:31.748Z","avatar_url":"https://github.com/mlibre.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LinkMagicBot 🚀\n\n`LinkMagicBot` is a Telegram bot that makes link downloading a breeze! This bot can grab videos and files from various platforms, including YouTube and Instagram.\n\n## Features 🌟\n\n- Download videos from YouTube 🎥\n- Download videos from Instagram 📸\n- Download any other file links 📦\n\n## How to Use 🤖\n\n1. Start a chat with `LinkMagicBot` on Telegram.\n2. Send a link you want to download using the `/d` command for videos or `/y` for YouTube videos.\n3. Sit back and relax as `LinkMagicBot` does the heavy lifting for you! 🪄\n4. The bot will send you the downloaded file.\n\n## Commands 📝\n\n- `/d [link]`: Download videos from various sources\n- `/y [link]`: Download YouTube videos\n\n## Permissions 🔐\n\nTo use the bot, make sure you're an allowed user. The bot owner can grant permissions to specific users\n\n## Requirements 🛠️\n\nMake sure you have the following tools installed:\n\n- [yt-dlp](https://github.com/yt-dlp/yt-dlp) for downloading YouTube videos\n- [instaloader](https://instaloader.github.io/) for downloading Instagram videos\n- [aria2c](https://aria2.github.io/) for downloading other files\n- [ffmpeg](https://ffmpeg.org/) for converting videos and audio files\n\n```bash\nsudo apt install python3-pip aria2 ffmpeg\npip3 install -U \"yt-dlp[default]\"\npip3 install instaloader\n```\n\n## Installation 🚚\n\nClone this repository and install the required dependencies:\n\n```bash\ngit clone https://github.com/mlibre/LinkMagicBot.git\ncd LinkMagicBot\nnpm install\n```\n\n## Configuration ⚙️\n\nYou can set environment variables to configure the bot in `shell` or create a `.env` file in the project directory:\n\nTo set environment variables in shell simply set `process.env.TELEGRAM_BOT_TOKEN` environment variable and if needed `process.env.ALLOWED_USERS` environment variable.\n\nTo use `.env` file, simply rename the `.env.example` file to `.env` and fill in the values:\n\n```bash\nmv .env.example .env\n```\n\n```bash\nTELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN_HERE\nALLOWED_USERS=comma,separated,usernames,if,needed\nYT_MAX_FILESIZE=49M\nYT_SPLIT_CHAPTERS=true\n```\n\n## Running the Bot 🏃\n\nTo run the bot, execute the following command in your terminal:\n\n```bash\nnode --env-file=.env bot.js\n```\n\n## Run using pm2\n\nTo run the bot using pm2 process manager, install pm2 globally:\n\n```bash\nnpm install pm2 -g\npm2 startup\nsystemctl enable pm2-root\npm2 start bot.js --node-args=\"--env-file=.env\"\npm2 save\npm2 logs 0\n```\n\n## Usage Examples 🚀\n\n### Download a Video (Non-YouTube)\n\nTo download a video from a any sources, simply send the link using the `/d` command. For example:\n\n```bash\n/d https://example.com/video.mp4\n```\n\n### Download a YouTube Video\n\nTo download a YouTube video, use the `/y` command followed by the YouTube video link. For example:\n\n```bash\n/y https://www.youtube.com/watch?v=YOUR_VIDEO_ID_HERE\n```\n\n## Local bot server\n\nLocal bot server is a simple way to run the bot without using the Telegram bot API.  \nYou can then upload files up to 2000mg\n\n### Create a new application\n\nOpen [my.telegram](https://my.telegram.org/auth?to=apps). while adBlockers and firefox protectors are disabled.\n\nCreate a new application using the following parameters:\n\n- App title: TestApp1\n- Short name: testapp1\n- URL: N/A (Fill nothings here)\n- Platform: Desktop\n- Description: N/A (Fill nothings here)\n\n### Install on your server\n\n```bash\napt install cmake libssl-dev gperf ffmpeg g++ zlib1g-dev\ngit clone --recursive https://github.com/tdlib/telegram-bot-api.git\ncd telegram-bot-api\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Release ..\ncmake --build . --target install\n./telegram-bot-api --api-id ID --api-hash HASH --local\n```\n\n## Contributing 🤝\n\nWe welcome contributions from the community! Feel free to fork this repository, make improvements, and create pull requests.\n\n## License 📄\n\nThis project is licensed under the MIT License.\n\nHappy downloading! 🚀📥\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlibre%2Flinkmagicbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlibre%2Flinkmagicbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlibre%2Flinkmagicbot/lists"}