{"id":15669282,"url":"https://github.com/dcdunkan/file-upload-bot","last_synced_at":"2026-03-08T06:31:47.842Z","repository":{"id":114588062,"uuid":"456581270","full_name":"dcdunkan/file-upload-bot","owner":"dcdunkan","description":"Upload your local files \u0026 folders to Telegram chat.","archived":false,"fork":false,"pushed_at":"2022-03-08T04:41:09.000Z","size":2729,"stargazers_count":27,"open_issues_count":4,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-26T08:43:38.428Z","etag":null,"topics":["deno","grammyjs","telegram-bot","typescript","uploader"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dcdunkan.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":"2022-02-07T16:15:23.000Z","updated_at":"2025-08-13T07:14:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"df7b0fab-22f2-4237-95d9-44fcbad6a753","html_url":"https://github.com/dcdunkan/file-upload-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcdunkan/file-upload-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Ffile-upload-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Ffile-upload-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Ffile-upload-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Ffile-upload-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcdunkan","download_url":"https://codeload.github.com/dcdunkan/file-upload-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Ffile-upload-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30247342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deno","grammyjs","telegram-bot","typescript","uploader"],"created_at":"2024-10-03T14:22:10.041Z","updated_at":"2026-03-08T06:31:47.810Z","avatar_url":"https://github.com/dcdunkan.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n\n# File/Folder Upload Bot\n\n\u003c/div\u003e\n\n\u003cdiv align=\"justify\"\u003e\n\nA dead simple Telegram bot to upload your local files by file path or folder\npath. Can be used as a backup helper. Originally, I created this bot to automate\nbacking up my files to Telegram while I change or reinstall my Linux distro. For\nexample, if you have a directory of videos, you can use this bot to upload them\nfor you. With some slight modifications, you can make it upload as you want.\nWith a [local bot API server](https://github.com/tdlib/telegram-bot-api) you can\nalso make it support files upto 2GB in size.\n\n\u003c/div\u003e\n\n\u003c!-- ![preview](https://user-images.githubusercontent.com/70066170/152817684-8826bb91-182e-44e2-a6f8-12fdc8f5b39a.gif) --\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n### Demo usage preview\n\n\u003cdiv align=\"left\"\u003e\n\nIt's a bit older preview, but it still almost the same thing. The command\n`/folder` has been changed to `/upload` after adding the support for both files\nand folders.\u003c/div\u003e\n\n\u003cimg src=\"preview.gif\" width=\"90%\"\u003e\u003cbr\u003e\n\n\u003c/div\u003e\n\n- [x] It would be cool to have index messages of the uploaded files. (in groups\n      and channels)\n- [ ] ZIP/RAR/TAR support?\n\n## Setup\n\nYou need [Deno](https://deno.land/) to run this bot. I created this bot on\nv1.18.2. Also, I recommend setting up a\n[local bot API server](https://github.com/tdlib/telegram-bot-api) and increasing\nyour file size limit.\n\n**1. Clone the repository**\n\n```bash\ngit clone https://github.com/dcdunkan/folder-upload-bot\ncd folder-upload-bot\n```\n\n**2. Configure the `.env` variables**\n\nYou can either set them in a `.env` file in the root of this repo folder, or you\ncan set them using `export ADMIN_ID=1234567890` in your terminal.\n\n- `BOT_TOKEN`: Telegram Bot token. Get yours from https://t.me/BotFather.\n- `ADMIN_ID`: The user ID of the owner. Because- you know, you don't want other\n  people downloading your private files, right?\n- `API_ROOT`: Set this to the URL of your local api server, if you have one.\n\n**3. Run `bot.ts`**\n\n```bash\ndeno run --allow-net --allow-read --allow-env bot.ts\n```\n\n- `--allow-net`: For internet access.\n- `--allow-env`: For accessing required ENV variables.\n- `--allow-read`: To read files from your machine.\n\nIf you have everything done right, your bot should be running, and you should\nsee a message `\"\u003cbot_username\u003e started.\"` in your console.\n\nBut if you're still having issues, please open an issue\n[here](https://github.com/dcdunkan/file-upload-bot/issues) :)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdunkan%2Ffile-upload-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcdunkan%2Ffile-upload-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdunkan%2Ffile-upload-bot/lists"}