CodeCanvas is code image generator that creates nice-looking images of your code snippets to share on social media. This tool is powered by the Flask web framework and includes packages like Pygments and Playwright
● Python ,Flask ● HTML-CSS-JavaScript
To run the Flask App use this commands
-
Clone the project
git clone https://github.com/WahomeKezia/CodeCanvas.git
-
Install the depandicies from the
requirements.txt
alternatively
pip install Flask playwright Pygments
-
Run
python -m flask run
This will run the application locally on port 5000
To avoid any version conflicts run the app from a virtual environment,
- Windows
python -m venv venv
and activate the env with.\venv\Scripts\activate
- Mac and linux
python -m venv venv
activate withsource venv/bin/activate
- Run
python -m flask run
This will run the application locally on port 5000
To avoid any version conflict run the app from a virtual environment,
- Windows
python -m venv venv
and activate the env with.\venv\Scripts\activate
- Mac and linux
python -m venv venv
activate withsource venv/bin/activate
The app is also available on :https://codecanvas.azurewebsites.net/