项目作者: berwiecom

项目描述 :
Rentry.co: Pastebin- / Publishing-Service mit Vorschau. Schnell, einfach, ohne Anmeldung und sogar kostenlos. Aber mit Spionage durch Google-Analytics!
高级语言: Python
项目地址: git://github.com/berwiecom/HST.HTM..www.rentry.co..german.git
创建时间: 2019-12-17T22:58:42Z
项目社区:https://github.com/berwiecom/HST.HTM..www.rentry.co..german

开源协议:MIT License

下载


rentry

rentry.co markdown pastebin

Rentry.co ist ein Pastebin- / Publishing-Service von @radude mit Vorschau. Schnell, einfach, ohne Anmeldung und sogar kostenlos. Aber mit Spionage durch Google-Analytics!

Dieses Repositorium enthält ein einfaches Skript, welches das Veröffentlichen und Editieren von der Kommandozeile aus erlaubt.

Installation

Manuell:
  1. wget https://raw.githubusercontent.com/radude/rentry/master/rentry -O ./rentry && chmod +x ./rentry
Mit PyPI:
  1. pip3 install rentry

Anwendung:

  1. $ rentry --help
  2. Befehl: rentry {new | edit | raw} {-h | --help} {-u | --url} {-p | --edit-code} Mein_Text
  3. Befehls-Parameter:
  4. new Veröffentlicht eine neue Rentry.co-Seite
  5. edit Editiere eine existierende Rentry.co-Seite
  6. raw Zeigt den puren Markdown-Text einer existierenden Rentry.co-Seite
  7. Optionen:
  8. -h, --help show this help message and exit
  9. -u, --url URL URL for the entry, random if not specified
  10. -p, --edit-code EDIT-CODE edit code for the entry, random if not specified
  11. Examples:
  12. rentry new 'markdown text' # new entry with random url and edit code
  13. rentry new -p pw -u example 'text' # with custom edit code and url
  14. rentry edit -p pw -u example 'text' # edit the example entry
  15. cat FILE | rentry new # read from FILE and paste it to rentry
  16. cat FILE | rentry edit -p pw -u example # read from FILE and edit the example entry
  17. rentry raw -u example # get raw markdown text
  18. rentry raw -u https://rentry.co/example # -u accepts absolute and relative urls
URL

Optional URL can be set (-u, --url URL)
It goes rentry.co/HERE. If no Url was set then random Url will be generated automatically.

Edit code

Optional edit code can be set (-p, --edit-code EDIT-CODE)
It can be used to edit the entry later. If no edit code was set then random edit code will be generated automatically. Generated edit code will be shown to you only once, so remember it or save it. You can share this code with anyone so a group of people can edit the same entry.