- Notifications
You must be signed in to change notification settings - Fork14
Easy-to-use markdown-formatting pastebin
License
cespare/pastedown
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An easy-to-use markdown-formatting pastebin.
- Markdown rendering and syntax highlighting
- Doesn't look terrible
- HTTPS built in
- Automatic document deletion
Pastedown is written inGo and usesSass for generating CSS. It usesPygments for syntax highlighting.
To run Pastedown, you will need:
- Python
To build/develop Pastedown you will also require:
For now, the process is:
- Clone this repo.
- Run
make
.
This builds the server executable (pastedown
) and the associated static files.Run it with:
$ ./pastedown [OPTIONS]
Use./pastedown -h
to see all the available options.
You'll need Reflex and Go as in the installation instructions. Use the followingcommand to run the server and rebuild/rerun it when files change:
$ reflex -d fancy -c Reflexfile
This is also available as
$ make watch
Follow the installation instructions, then run this command:
$ make tarball
to build a tarball of all the files you'll need. Copy this to your server andrun pastedown with the options you want as before. You may wish to make an initscript or more fleshed-out deployment scripts.
About
Easy-to-use markdown-formatting pastebin