{"id":23010053,"url":"https://github.com/dmdhrumilmistry/ng_bot","last_synced_at":"2026-05-19T03:07:10.975Z","repository":{"id":104977882,"uuid":"537331468","full_name":"dmdhrumilmistry/ng_bot","owner":"dmdhrumilmistry","description":"bot to push ngork links on telegram/discord","archived":false,"fork":false,"pushed_at":"2025-07-05T07:30:25.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-05T08:32:00.944Z","etag":null,"topics":["discord","discord-bot","dmdhrumilmistry","hacking","ngrok","port-forwarding","python","python3","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","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/dmdhrumilmistry.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,"zenodo":null}},"created_at":"2022-09-16T06:22:32.000Z","updated_at":"2025-07-05T07:30:26.000Z","dependencies_parsed_at":"2024-04-15T06:54:19.857Z","dependency_job_id":"cbf05317-d420-4de5-bc9f-6e9c63d7b433","html_url":"https://github.com/dmdhrumilmistry/ng_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmdhrumilmistry/ng_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmdhrumilmistry%2Fng_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmdhrumilmistry%2Fng_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmdhrumilmistry%2Fng_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmdhrumilmistry%2Fng_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmdhrumilmistry","download_url":"https://codeload.github.com/dmdhrumilmistry/ng_bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmdhrumilmistry%2Fng_bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266845403,"owners_count":23994062,"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-24T02:00:09.469Z","response_time":99,"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":["discord","discord-bot","dmdhrumilmistry","hacking","ngrok","port-forwarding","python","python3","telegram","telegram-bot"],"created_at":"2024-12-15T09:16:49.610Z","updated_at":"2026-05-19T03:07:10.944Z","avatar_url":"https://github.com/dmdhrumilmistry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ng-Bot\n\nNgrok Bot (Ng-Bot) publishes updated ngrok URLs to telegram chat ids and restricts other users to access the bot or on discord using webhook url.\n\n\u003e `Note`: This bot may be used for malicious purposes too. Its upto users how they use this tool/bot. Author is not responsible for user's action in any manner.\n\n## Installation\n\n### Using pip\n\n- Install from pypi\n\n  ```bash\n  python3 -m pip install ng-bot\n  ```\n\n  **OR**\n\n- Install from main branch\n\n  ```bash\n  python3 -m pip install git+https://github.com/dmdhrumilmistry/ng_bot.git\n  ```\n\n### Manual\n\n- Clone repo\n\n  ```bash\n  git clone --depth=1 https://github.com/dmdhrumilmistry/ng_bot.git\n  ```\n\n- Change directory\n\n  ```bash\n  cd ng_bot\n  ```\n\n- Install package\n\n  ```bash\n  python3 -m pip install .\n  ```\n\n\n## Usage\n\n- Create Ngrok account\n\n- Complete Sign Up process\n\n- Add new AUTH TOKEN from [dashboard](https://dashboard.ngrok.com/get-started/your-authtoken)\n\n- Store variables in `.env` file\n\n  ```bash\n  NGROK_AUTH_TOKEN='your_auth_token'\n  TELE_BOT_TOKEN='telegram_bot_token'\n  ALLOWED_USER_IDS=tele_user_id1, tele_user_id2, tele_user_id3\n  DISCORD_WEBHOOK_URL='webhook-url' \n  ```\n\n  \u003e Above variables can also be stored in environment variables\n\n- Start application\n\n  ```bash\n  # for telegram\n  python3 -m ng_bot --http 8080 --tcp 22 4444 --platform telegram\n\n  # for discord\n  python3 -m ng_bot --tcp 22 --platform discord\n  ```\n\n## Security\n\n- Disable password based authentication in `/etc/ssh/ssh_config`\n  \n  ```config\n  PasswordAuthentication no\n  ```\n\n- Add client's public key to server's `~/.ssh/authorized_keys` file\n\n\u003e Now only users with authorized public key can access server\n\n## Run as a Service\n\n- Read [Instructions](./service/README.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmdhrumilmistry%2Fng_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmdhrumilmistry%2Fng_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmdhrumilmistry%2Fng_bot/lists"}