1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00
haste_ynh/README.md

43 lines
1.2 KiB
Markdown
Raw Normal View History

# Haste for YunoHost
2016-10-25 00:00:01 +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.
```
bash
cat LICENSE | haste
######################################################################## 100,0%
https://haste.example.com/zuyejeduzu
```
2016-10-25 00:00:01 +02:00
## Installation
From command line:
`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:
`sudo yunohost app upgrade -u https://github.com/YunoHost-Apps/haste_ynh haste`
2016-10-25 00:00:01 +02:00
## Infos
- [YunoHost forum thread](https://forum.yunohost.org/)
## License
2016-10-26 23:35:42 +02:00
Both Haste and this package are published under MIT License