Skip to content
/ jpaste Public

A paste service similar to sprunge.us in async Rust.

Notifications You must be signed in to change notification settings

jorenvo/jpaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jpaste
======

This is a pastebin-like service meant to be used with cURL. It uses Redis for storage and pastes expire after one month.

Example:
  $ echo hi | curl -F 'j=<-' https://jvo.sh/j
  https://jvo.sh/ZnD9BBwj
  $ curl https://jvo.sh/ZnD9BBwj
  hi

Easiest way to build and run is with cargo:
  $ cargo run

Some configuration is possible with environment variables (default values are shown):
  - JPASTE_REDIS='redis://127.0.0.1/'
  - JPASTE_PUBLIC_URL='http://127.0.0.1'
  - JPASTE_PUBLIC_IP='127.0.0.1'
  - JPASTE_LOCALHOST_PORT='3030'

About

A paste service similar to sprunge.us in async Rust.

Topics

Resources

Stars

Watchers

Forks