Skip to content

davidthewatson/flasgist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Flask using Github's gist as blog data store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors