1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-12-27 06:30:11 +01:00
open source pastebin written in node.js
Find a file
Manuel 8922925491
Merge changes from niekcandaele/feature/docker-support
* Add .dockerignore
* Add docker-compose.yml version number
* Use docker-managed volume instead of directory for files

Co-authored-by: niekcandaele <22315101+niekcandaele@users.noreply.github.com>
2021-02-12 15:43:32 +01:00
.github Fixed dependabot's file 2020-08-28 04:51:54 +02:00
docs Added all dependencies to package.json (#11) 2020-10-01 01:12:07 +02:00
lib Rewrote key generator tests, fixed vowels 2020-09-23 01:07:32 +02:00
static Switched to proper babel-minify lib 2020-09-20 18:18:38 +02:00
test Rewrote key generator tests, fixed vowels 2020-09-23 01:07:32 +02:00
.dockerignore Sync docker ignore with gitignore 2020-10-21 10:29:20 +02:00
.eslintignore Config rewrite 2020-08-28 04:46:48 +02:00
.eslintrc.json Updated eslint rules 2020-08-28 04:39:03 +02:00
.gitignore fixed eslint formatting 2020-08-28 23:57:50 +02:00
about.md Added proper documentation 2020-08-29 05:29:39 +02:00
docker-compose.yml Merge changes from niekcandaele/feature/docker-support 2021-02-12 15:43:32 +01:00
Dockerfile Add Docker support and change default listening address 2021-02-12 14:21:36 +01:00
example.config.js Add Docker support and change default listening address 2021-02-12 14:21:36 +01:00
LICENSE Added proper documentation 2020-08-29 05:29:39 +02:00
package-lock.json Remove storage client packages and update package-lock 2021-02-12 14:28:22 +01:00
package.json Remove storage client packages and update package-lock 2021-02-12 14:28:22 +01:00
README.md Updated haste-client information 2020-09-05 18:06:43 +02:00
server.js Add Docker support and change default listening address 2021-02-12 14:21:36 +01:00

DISCLAIMER

This is a continued version of hastebin server with extended development, developed alone by zneix.
Original developer abandoned this amazing project and due to pile of unmerged Pull Requests and several security issues with outdated dependencies I decided to rewrite whole project in JavaScript ES6.

This version is heavily changed, meaning there will be breaking changes in your config if you were running outdated upstream version.

Haste

Haste is an open-source pastebin software written in Node.JS, which is easily installable in any network.
It can be backed by either redis or filesystem and has a very easy adapter interface for other storage systems.
A publicly available version can be found at haste.zneix.eu

Major design objectives:

  • Be really pretty
  • Be really simple
  • Be easy to set up and use

I also rewrote Command Line utility haste-client, which can do things like:

cat file | haste

it outputs URL to a paste containing contents of file. Check repo for more details.

Installation

Full installation and config instructions can be found in docs directory.

Authors

Project continued by zneix zzneix@gmail.com

Original Code by John Crepezzi john.crepezzi@gmail.com

Other components:

  • jQuery: MIT/GPL license
  • highlight.js: Copyright © 2006, Ivan Sagalaev
  • highlightjs-coffeescript: WTFPL - Copyright © 2011, Dmytrii Nagirniak