{"id":17026094,"url":"https://github.com/roziscoding/carbon-telegram-bot","last_synced_at":"2026-04-13T02:30:17.130Z","repository":{"id":39717126,"uuid":"204308257","full_name":"roziscoding/carbon-telegram-bot","owner":"roziscoding","description":"Telegram Chatbot that generates carbon.now.sh images from source code","archived":true,"fork":false,"pushed_at":"2022-12-30T17:12:37.000Z","size":766,"stargazers_count":65,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-12T04:13:08.344Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roziscoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"rjmunhoz"}},"created_at":"2019-08-25T14:49:07.000Z","updated_at":"2023-11-30T23:11:46.000Z","dependencies_parsed_at":"2023-01-31T12:15:53.552Z","dependency_job_id":null,"html_url":"https://github.com/roziscoding/carbon-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcarbon-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcarbon-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcarbon-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcarbon-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roziscoding","download_url":"https://codeload.github.com/roziscoding/carbon-telegram-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219847890,"owners_count":16556345,"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","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":["hacktoberfest"],"created_at":"2024-10-14T07:30:27.986Z","updated_at":"2026-04-13T02:30:17.038Z","avatar_url":"https://github.com/roziscoding.png","language":"TypeScript","funding_links":["https://patreon.com/rjmunhoz"],"categories":["TypeScript"],"sub_categories":[],"readme":"carbon.now.sh telegram chatbot\n========\n\n\u003e This project uses code from [carbon-now-cli](https://github.com/mixn/carbon-now-cli). Go give it a star!\n\u003e Also, give [carbon.now.sh](https://github.com/carbon-app/carbon) a star for their awesome work\n\n# Usage\nJust hit it [on Telegram](https://t.me/carbonshbot). It'll tell you what to do\n\n# What is it\nTelegram chatbot created to generate nice code images using puppeteer on carbon.now.sh.\n\nEverytime it gets a block of pre-formatted code (surrounded by three backticks), it generates an image with on [carbon.now.sh](https://carbon.now.sh), an uses puppeteer to grab a screenshot of that page.\n\nIf you want, you can change the default theme and settings for your images by sending the `/settings` command on a private chat with the bot. This settings apply to you regardless of the chat (groups or private) you are in.\n\n# How to run it\nThe first thing you'll need is an authorization token to communicate with Telegram's bot API. You can get it from [BotFather](https://t.me/botfather).\nThen, choose one of the methods below and follow the instructions.\n\n## Locally\n- Clone this repo and cd into it\n- Run `npm install`\n- Run `npm run build`\n- Set all environment variables described in the [sample envs file](.envrc.sample)\n- Run `npm start`\n\n## Using Docker\n- Clone this repo and cd into it\n- Run `docker build . -t IMAGE_TAG` replacing IMAGE_TAG with the desired local tag for this image\n- - Set all environment variables described in the [sample envs file](.envrc.sample)\n- Run `docker run` command mapping the environment variables\n\n## On Heroku\n\nJust click the button below, set the envs and that's it.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n# Contributing\nSee [this](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froziscoding%2Fcarbon-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froziscoding%2Fcarbon-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froziscoding%2Fcarbon-telegram-bot/lists"}