Skip to content

btwotch/pastebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pastebin

Pastebin for the console with syntax highlighting

Build

make to make - this installs also some prerequisites (libmicrohttpd, highlight, libhttpserver)

Usage

It is listening on port 8080 and shows some useful information on how to use it:

PUT: curl http://server:8080/foo.c --data-binary @foo.c
PUT with rudimentary auth: curl http://server:8080/foo.c --data-binary @foo.c --user britneyspears
GET: curl http://server:8080/foo.c
GET without highlighting: curl -http://server:8080/foo.c -A ""

About

Pastebin for the console with syntax highlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published