2016-10-25 23:34:42 +02:00
# Haste for YunoHost
2016-10-25 00:00:01 +02:00
2016-10-25 23:34:42 +02:00
Haste is an open-source pastebin software written in node.js.
2016-10-25 00:00:01 +02:00
2016-10-26 23:35:42 +02:00
[Haste Github repository ](https://github.com/seejohnrun/haste-server )
A publicly available version can be found at [http://hastebin.com/ ](http://hastebin.com/ )
2016-10-25 00:00:01 +02:00
## Requirements
- Functionnal instance of [YunoHost ](https://yunohost.org )
2016-10-26 23:35:42 +02:00
## `haste` command
With this package is included the `haste` command based on this:
https://github.com/diethnis/standalones/blob/master/hastebin.sh
This allow to pipe text to it and upload the text on your haste instance. You can also install it on your local computer by copying the file /usr/bin/haste on a computer that has bash and curl.
2016-10-26 23:49:57 +02:00
```bash
2016-10-26 23:35:42 +02:00
cat LICENSE | haste
######################################################################## 100,0%
https://haste.example.com/zuyejeduzu
```
2016-10-25 00:00:01 +02:00
## Installation
From command line:
2016-10-25 23:34:42 +02:00
`sudo yunohost app install -l Haste https://github.com/YunoHost-Apps/haste_ynh`
2016-10-25 00:00:01 +02:00
## Upgrade
From command line:
2016-10-25 23:34:42 +02:00
`sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/haste_ynh haste`
2016-10-25 00:00:01 +02:00
## Infos
2016-10-26 23:49:57 +02:00
- [YunoHost forum thread ](https://forum.yunohost.org/t/haste-package-pastebin-software/2038 )
2016-10-25 00:00:01 +02:00
## License
2016-10-26 23:35:42 +02:00
Both Haste and this package are published under MIT License