A pastebin for markdown pages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Christian Müller cdb7f8c74d makes pre wrap text + whitespace 8 years ago
assets makes pre wrap text + whitespace 8 years ago
.gitignore sets req r&w timeouts to 10s 8 years ago
Gopkg.lock api tests added 8 years ago
Gopkg.toml markdown rendering exchanged 8 years ago
LICENSE LICENSE file added 10 years ago
Makefile frisby tests removed 8 years ago
README.md README extended 8 years ago
email.go minor improvements 8 years ago
render.go id check implemented 8 years ago
server.go id check implemented 8 years ago
stats.go minor refactoring 8 years ago
storage.go id check implemented 8 years ago

README.md

README

"Make every detail perfect and limit the number of details to perfect."
Jack Dorsey

About

Dead simple hosting for markdown notes.

Running

  1. Install dep using Homebrew and run it inside project to install the dependencies: dep ensure.
  2. Create a data base by running make db.
  3. Run the app with make run.

ENV variables used:

  • For emailing of report abuse:
    • SMTP_SERVER:
    • SMTP_USER
    • SMTP_PASSWORD
    • NOTEHUB_ADMIN_EMAIL
  • Recaptcha secret:
    • RECAPTCHA_SECRET
  • Debugging:
    • SKIP_CAPTCHA (expected to be non-empty)