Flask using Github's gist as blog data store
HTML Python CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screenshots
static
templates
.gitignore
Procfile
README.md
requirements.txt
run_gevent.py
run_server.py
views.py

README.md

Update

I'm no longer using FlasGist. Instead, I've designed a similar system called ZeGiBl entirely using client-side JavaScript instead of server-side python. Thus, there is no server footprint as the system functions entirely using github pages, gists, static HTML, and javascript.

FlasGist

Flasgist is a blog based on Bootstrap, Flask, Gevent, Github, Heroku, Python, and Requests

FlasGist stores its blog data as Gist on Github. The heavy lifting is done via python-requests asynchronously. It uses the Github Gist API to access this data. Right now it uses youtube and flickr embed for the media, but I will convert those to API calls also. Github repositories are listed on the software page via the github API also.

##FlasGist works like this

###I create a starred gist on github

github.com Specific Starred Gist

###I save the starred gist on github; it shows up on github

github.com: List of Starred Gists

###A user hits my blog; flasgist makes an API request, gets the starred gists from github, and displays them

davidwatson.org: List of Starred Gists

If the user clicks a specific link, the content for that starred gist is returned from github and rendered as markdown or html

davidwatson.org: Specific Starred Gist

This precludes me from having to implement content management functions such as content creation, editing, updating, and deleting. In addition, I get versioning and forking of content for free - this is beneficial for both annotation of existing content and attribution of content that I did not create, but rather may have extended.

david watson