{"id":19835811,"url":"https://github.com/zachey01/g4f-telegram-bot","last_synced_at":"2026-04-12T20:32:56.850Z","repository":{"id":246548381,"uuid":"821450321","full_name":"zachey01/g4f-telegram-bot","owner":"zachey01","description":"🌌 Telegram Bot for Free Access to ChatGPT-4 and ChatGPT-3","archived":false,"fork":false,"pushed_at":"2024-06-28T15:31:29.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T21:59:15.199Z","etag":null,"topics":["bun","chatgpt","free","g4f","gpt-35-turbo","gpt-4","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zachey01.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-06-28T15:07:31.000Z","updated_at":"2025-02-20T16:02:16.000Z","dependencies_parsed_at":"2024-06-28T16:52:05.327Z","dependency_job_id":null,"html_url":"https://github.com/zachey01/g4f-telegram-bot","commit_stats":null,"previous_names":["zachey01/g4f-telegram-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zachey01/g4f-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachey01%2Fg4f-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachey01%2Fg4f-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachey01%2Fg4f-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachey01%2Fg4f-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachey01","download_url":"https://codeload.github.com/zachey01/g4f-telegram-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachey01%2Fg4f-telegram-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268439343,"owners_count":24250669,"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-08-02T02:00:12.353Z","response_time":74,"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":["bun","chatgpt","free","g4f","gpt-35-turbo","gpt-4","telegram-bot"],"created_at":"2024-11-12T12:09:19.408Z","updated_at":"2026-04-12T20:32:56.817Z","avatar_url":"https://github.com/zachey01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot for Free Access to ChatGPT-4 and ChatGPT-3\n\nThis Telegram bot provides free access to ChatGPT-4 and ChatGPT-3. Users can select their preferred language, clear chat history, and all user data is stored in `dialogues.db`.\n\n## Features\n\n- Access to ChatGPT-4 and ChatGPT-3\n- Language selection\n- Clear chat history\n- User data storage in `dialogues.db`\n\n## Prerequisites\n\n- Node or Bun\n\n## Installation and Setup\n\n### Using npm\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/zachey01/g4f-telegram-bot.git\n   cd g4f-telegram-bot\n   ```\n\n2. **Install dependencies:**\n\n   ```sh\n   npm install\n   ```\n\n3. **Configure environment variables:**\n   Create a `.env` file in the root directory and add your Telegram bot token:\n\n   ```env\n   TELEGRAM_TOKEN=your-telegram-bot-token\n   ```\n\n4. **Run the bot:**\n   ```sh\n   node src/bot.js\n   ```\n\n### Using bun.sh\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/zachey01/g4f-telegram-bot.git\n   cd g4f-telegram-bot\n   ```\n\n2. **Install dependencies:**\n\n   ```sh\n   bun install\n   ```\n\n3. **Configure environment variables:**\n   Create a `.env` file in the root directory and add your Telegram bot token:\n\n   ```env\n   TELEGRAM_TOKEN=your-telegram-bot-token\n   ```\n\n4. **Run the bot:**\n   ```sh\n   bun run src/bot.js\n   ```\n\n## Database\n\nAll user data, including chat history, is stored in `dialogues.db`.\n\n## Contributing\n\nFeel free to open issues or submit pull requests if you have any improvements or bug fixes.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachey01%2Fg4f-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachey01%2Fg4f-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachey01%2Fg4f-telegram-bot/lists"}