Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chmllr/NoteHub
A pastebin for markdown pages.
https://github.com/chmllr/NoteHub
markdown notes pastebin publishing storage
Last synced: about 2 months ago
JSON representation
A pastebin for markdown pages.
- Host: GitHub
- URL: https://github.com/chmllr/NoteHub
- Owner: chmllr
- License: mit
- Archived: true
- Created: 2012-06-13T21:23:31.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-02-16T20:04:24.000Z (almost 7 years ago)
- Last Synced: 2024-08-01T21:49:30.688Z (5 months ago)
- Topics: markdown, notes, pastebin, publishing, storage
- Language: Go
- Homepage:
- Size: 569 KB
- Stars: 273
- Watchers: 15
- Forks: 33
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`
- Test mode:
- `TEST_MODE` (expected to be non-empty; skips captcha, no writes buffering for stats)## Testing
1. Install `frisby`: `go get -u github.com/verdverm/frisby`.
2. Run `make tests`