Skip to content

pombredanne/hypertextual

 
 

Repository files navigation

##Hypertextual

Hypertextual is a simple hypertext platform. It uses Markdown for formatting, and wiki-like links for getting around. All pages are versioned, and every user has both a public and a private home page. This allows Hypertextual to serve as a free-form web presence, as well as a private repository for notes, lists, and documents.

The app is written in Python, using the Flask web framework with Chameleon page templates. Data is stored in PostgreSQL, with SQLAlchemy to handle the object-relational mappings. The google-diff-match-patch library is used to generate patches for versioning. All passwords are hashed with bcrypt because that is the right thing to do.

A functional prototype is now complete! Check out the backlog if you like.

####Setup on Mac

Install database

brew install postgresql
createdb hypertextual

Create a role for the local user and grant privileges on the new database. (See http://www.postgresql.org/docs/8.1/static/sql-createrole.html and http://www.postgresql.org/docs/8.4/static/sql-grant.html)

Install app

brew install python
git clone git@github.com:alienlike/hypertextual.git
cd hypertextual/
pip install -r requirements.txt
python hypertextual/init_db.py

Run app

python hypertextual/hypertextual.py -d

Use -d for debug mode, to generate debugging output in the browser on exceptions.

Use -r for reload mode, which causes Flask to reload changed files.

About

Versioned hypertext

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%