Pokebin is an open-source Pastebin software written in node.js, which is easily installable in any network.
It bases upon hastebinplus and got enhanced in matters of Privacy, Speed and Simplicity lol
- Syntax-Highlighting
- Add static documents
- Duplicate & edit pastes
- Raw paste-view
- Install Git and node.js:
sudo apt-get install git nodejs
- Clone this repository:
git clone https://github.com/ashpotter/pokebin/pokebin.git pokebin
- Open
config.json
and change the settings (if you want to) - Install dependencies:
npm install
- Start the application:
npm start
- Pull changes from this repository:
git pull
- Install new dependencies:
npm install
Key | Description | Default value |
---|---|---|
host |
The host the server runs on | 0.0.0.0 |
port |
The port the server runs on | 8080 |
dataPath |
The directory where all pastes are stored | ./data |
keyLength |
The length of the pastes' key | 10 |
maxLength |
Maximum chars in a paste | 500000 |
createKey |
Needs to be in front of paste to allow creation | |
documents |
Static documents to serve |
{
"host": "0.0.0.0",
"port": 8080,
"dataPath": "./data",
"keyLength": 10,
"maxLength": 500000,
"createKey": "",
"documents": {
"about": "./README.md",
}
}
- haste: John Crepezzi - MIT License
- hastebinplus: Marvin Menzerath - MIT License
- jQuery: MIT License
- highlight.js: Ivan Sagalaev - License
- Application Icon: Paomedia - CC BY 3.0 License