Skip to content

k3lux/mint-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mint

A fork of hastebin, which focuses on security, and stability.

Features

  • Code highlighting
  • Netcat support

Command-line (client)

netcat

This is only available for Mint instance that have config.server.enabled set to true.

echo "Hello world!" | nc <instance_host> <instance_port>

Installation

  1. Git clone the repository.
git clone https://github.com/xcgc/mint-server.git
  1. Edit config.json to what you like.
  2. Install required dependencies.
# NPM
npm install
# Yarn
yarn

Endpoint

POST /documents

{
   "key": 00000
}

GET /documents/:key

{
   "key": 00000,
   "data": "Hello world!"
}

GET /raw/:key

Hello world!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published