{"id":26250843,"url":"https://github.com/ihatenodejs/request-bot","last_synced_at":"2025-07-31T09:37:37.148Z","repository":{"id":271428392,"uuid":"913355718","full_name":"ihatenodejs/request-bot","owner":"ihatenodejs","description":"A Telegram bot which takes requests for modules.lol","archived":false,"fork":false,"pushed_at":"2025-05-29T01:15:51.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T05:01:50.084Z","etag":null,"topics":["bot","telegraf","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ihatenodejs.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":"2025-01-07T14:25:50.000Z","updated_at":"2025-05-29T01:15:55.000Z","dependencies_parsed_at":"2025-01-07T18:18:57.172Z","dependency_job_id":"fc845601-b2d2-4445-9d60-b1a710656039","html_url":"https://github.com/ihatenodejs/request-bot","commit_stats":null,"previous_names":["ihatenodejs/request-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ihatenodejs/request-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihatenodejs%2Frequest-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihatenodejs%2Frequest-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihatenodejs%2Frequest-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihatenodejs%2Frequest-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ihatenodejs","download_url":"https://codeload.github.com/ihatenodejs/request-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihatenodejs%2Frequest-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268017357,"owners_count":24181669,"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-31T02:00:08.723Z","response_time":66,"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":["bot","telegraf","telegram","telegram-bot"],"created_at":"2025-03-13T16:37:25.519Z","updated_at":"2025-07-31T09:37:37.126Z","avatar_url":"https://github.com/ihatenodejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# request-bot\n\n[![Build and Push Docker Image](https://github.com/ihatenodejs/request-bot/actions/workflows/docker.yml/badge.svg)](https://github.com/ihatenodejs/request-bot/actions/workflows/docker.yml)\n[![Bump Dependencies](https://github.com/ihatenodejs/request-bot/actions/workflows/bump.yml/badge.svg)](https://github.com/ihatenodejs/request-bot/actions/workflows/bump.yml)\n\nA Telegram bot which takes requests for modules.lol\n\n## Setting up and self-hosting\n\n### Using Docker\n\n1. **Fetch needed files**\n\n   Pick your preferred option to get the files needed for Docker. Either option is fine, although Git is arguably the best option.\n\n   **Option One:** Clone Git Repo\n\n   ```bash\n   git clone https://git.pontusmail.org/aidan/request-bot.git\n   ```\n\n   **Option Two:** Download only needed files\n\n   ```bash\n   wget https://git.pontusmail.org/aidan/request-bot/raw/branch/main/docker-compose.yml\n   wget https://git.pontusmail.org/aidan/request-bot/src/branch/main/.env.example\n   ```\n\n   You may have to install `wget`, or you could use `curl` instead.\n\n2. **Change variables**\n\n   Copy `.env.example` to `.env` and open the file in a text editor:\n\n   ```bash\n   cp .env.example .env # Copy .env file\n   nano .env # Open in nano (or vim, if you prefer)\n   ```\n\n   Replace `ADMIN_ID` with your Telegram user ID. This will be used for admin-only commands.\n\n   Replace `BOT_TOKEN` with your Telegram bot token you created through @BotFather\n\n3. **Bring up the containers**\n\n   ```bash\n   docker compose up -d\n   ```\n\n   Please note: `sudo` may be required.\n\n   You may customize the container with the included `docker-compose.yml` file if needed.\n\n### Using Node\n\n1. **Clone repository**\n\n   ```bash\n   git clone https://git.pontusmail.org/aidan/request-bot.git\n   ```\n\n2. **Install dependencies**\n\n   ```bash\n   bun install\n   ```\n\n   **OR**\n\n   ```bash\n   npm install\n   ```\n\n3. **Change variables**\n\n   Copy `.env.example` to `.env` and open the file in a text editor.\n\n   Replace `ADMIN_ID` with your Telegram user ID. This will be used for admin-only commands.\n\n   Replace `BOT_TOKEN` with your Telegram bot token you created through @BotFather\n\n4. **Start the bot**\n\n   ```bash\n   bun index.js\n   ```\n\n   **OR**\n\n   ```bash\n   node index.js\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihatenodejs%2Frequest-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihatenodejs%2Frequest-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihatenodejs%2Frequest-bot/lists"}