Inspiration

We often send code to one another but without syntax highlighting it can be hard to read and difficult to understand. Hence we decided to come up with a system to help users generate code snippets as pictures.

What it does

Converts any amount of raw code into syntax highlighted picture through telegram. You can specify any language you want to parse and it will highlight it based on that language.

To add the bot add: @codetoimg_bot

How we built it

Using python With the help of the pygments library

Challenges we ran into

First time building a telegram bot so it was not easy deploying it.

What we learned

How to deploy a telegram bot. How to parse code for languages

What's next for codetoimg

We can support more features such as auto code indentation etc.

Built With

Share this project:

Updates