Gistbender is a web based application allowing for effortless testing and sharing of Arduino sketches directly from the browser (similar to Github's Gist).
It is built on the Flask framework, using MongoDB for the database.
- Utilizes the codebender compilerflasher to provide:
- Compilation of Arduino sketches
- Upload to Arduino devices
- Console output
- Unique URL generation for sharing
- Workspace for editing sketches
- Work in progress: Chrome extension for identifying and capturing Arduino code in the current browser window. You can find work around it in the extensions branch.
Gistbender is currently configured to run on a local machine.
Set up MongoDB
sudo mkdir -p /data/db
sudo chown -R `id -u` /data/db
mongod --dbpath /data/db
Install requirements
pip install -r requirements.txt
Running MongoDB and the server
mongod
python /app/main.py
Open a browser and navigate to
localhost:8080
Provided is a starting point for a Chrome extension. Features implemented thus far include:
- Scraping the page to identify and compile Arduino sketch code
- Injecting codebender options directly into the page upon validation of code
- As of now, 'Share sketch' button does not link to gistbender app