Skip to content

codebndr/gistbender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gistbender

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.

Features

  • 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.

Run Locally

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

Chrome Extension (incomplete)

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages