Just hit it on Telegram. It'll tell you what to do
Telegram chatbot created to generate nice code images using puppeteer on carbon.now.sh.
Everytime it gets a block or line of pre-formatted code (surrounded by one or three backticks), it generates an image with default settings (for now) on carbon.now.sh, an uses puppeteer to grab a screenshot of that page.
Configuration options and other features are coming soon. PRs are very welcome.
The first thing you'll need is an authorization token to communicate with Telegram's bot API. You can get it from BotFather. Then, choose one of the methods below and follow the instructions.
npm run build
docker build . -t IMAGE_TAGreplacing IMAGE_TAG with the desired local tag for this image
docker runcommand mapping the environment variables
Just click the button below, set the envs and that's it.