Marks is a simple notebook/wiki style app that allows you to sketch out, keep track of, document what's keeping you awake and you're lugging around in your head.
It's simple and it works, feel free to clone and deploy on Heroku.
This app is the most simple and vanilla Goland app, no fancy framework, libs as needed, and snippets copied over when small.
Your notes/thoughts/documentation is secured using super advanced Basic Auth. Although you could chose to simply let your darkest secret open to the public, by not setting a user and password, it's a choice you have...
Main packages used:
database/sql
as way to store notes and retrive themgithub.com/lib/pq
driver for postgresqlhtml/template
for rendering pagesnet/http
for all http server needsflag
for configurationgithub.com/kiasaki/batbelt
go get github.com/kiasaki/marks
cd $GOPATH/src/github.com/kiasaki/marks
go run *.go -postgre...
An before that you should have started postgresql and ran the db.sql
file
on the database you wish to use so you have the necessaty tables created.
postgres&
psql marks -f db.sql
Still WIP but gives an idea...