mirror of
https://github.com/MrUnknownDE/unknownbin.git
synced 2026-04-30 03:23:47 +02:00
add some fancy magic :kekw:
This commit is contained in:
47
README.md
47
README.md
@@ -1,6 +1,6 @@
|
||||
# Hastebin Plus
|
||||
Hastebin Plus is an open-source Pastebin software written in node.js, which is easily installable in any network.
|
||||
It bases upon [haste](https://github.com/seejohnrun/haste-server) and got enhanced in matters of **Design, Speed and Simplicity**.
|
||||
# unknownBIN
|
||||
unknownBIN is a secure and modern open-source Pastebin software written in node.js.
|
||||
It is a fork of the original Hastebin and Hastebin Plus, modernized for security and performance.
|
||||
|
||||
## Features
|
||||
* Paste code, logs and ... almost everything!
|
||||
@@ -8,19 +8,23 @@ It bases upon [haste](https://github.com/seejohnrun/haste-server) and got enhanc
|
||||
* Add static documents
|
||||
* Duplicate & edit pastes
|
||||
* Raw paste-view
|
||||
* Secure, unpredictable paste IDs
|
||||
* Modernized backend with security enhancements
|
||||
|
||||
## Installation
|
||||
[](https://heroku.com/deploy?template=https://github.com/MarvinMenzerath/HastebinPlus)
|
||||
|
||||
1. Install Git and node.js: `sudo apt-get install git nodejs`
|
||||
2. Clone this repository: `git clone https://github.com/MarvinMenzerath/HastebinPlus.git hastebin-plus`
|
||||
3. Open `config.json` and change the settings (if you want to)
|
||||
1. Install Git and node.js (a recent LTS version is recommended).
|
||||
2. Clone this repository: `git clone https://github.com/MrUnknownDE/unknownbin.git unknownbin`
|
||||
3. Change into the directory: `cd unknownbin`
|
||||
4. Install dependencies: `npm install`
|
||||
5. Start the application: `npm start`
|
||||
5. Build static assets: `npm run build`
|
||||
6. Open `config.json` and change the settings (if you want to).
|
||||
7. Start the application: `npm start`
|
||||
|
||||
## Update
|
||||
1. Pull changes from this repository: `git pull`
|
||||
1. Pull changes from the repository: `git pull`
|
||||
2. Install new dependencies: `npm install`
|
||||
3. Re-build static assets: `npm run build`
|
||||
4. Restart the application.
|
||||
|
||||
## Settings
|
||||
| Key | Description | Default value |
|
||||
@@ -30,7 +34,7 @@ It bases upon [haste](https://github.com/seejohnrun/haste-server) and got enhanc
|
||||
| `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 | ` ` |
|
||||
| `createKey` | Needs to be in front of paste to allow creation | `""` |
|
||||
| `documents` | Static documents to serve | See below |
|
||||
|
||||
### Default Config
|
||||
@@ -43,23 +47,6 @@ It bases upon [haste](https://github.com/seejohnrun/haste-server) and got enhanc
|
||||
"maxLength": 500000,
|
||||
"createKey": "",
|
||||
"documents": {
|
||||
"about": "./README.md",
|
||||
"javaTest": "./documents/test.java"
|
||||
"about": "./README.md"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Authors
|
||||
* [haste](https://github.com/seejohnrun/haste-server): John Crepezzi - MIT License
|
||||
* [jQuery](https://github.com/jquery/jquery): MIT License
|
||||
* [highlight.js](https://github.com/isagalaev/highlight.js): Ivan Sagalaev - [License](https://github.com/isagalaev/highlight.js/blob/master/LICENSE)
|
||||
* [Application Icon](https://www.iconfinder.com/icons/285631/notepad_icon): [Paomedia](https://www.iconfinder.com/paomedia) - [CC BY 3.0 License](http://creativecommons.org/licenses/by/3.0/)
|
||||
|
||||
## License
|
||||
Copyright (c) 2014-2016 Marvin Menzerath
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
}
|
||||
Reference in New Issue
Block a user