Skip to content

PyFarsi/PyPaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFarsi's PasteBin

Features :

  • Syntax Highlighting
  • Create documents with nc(Netcat)
  • Api

Todo :

  • Create documents in website

How to run : Run mainapp.py and server.py :)

Api Usage :

  1. For create documents :
  • Api url : /api/documents
  • Request body : content (content = 'your code')
  • Request method : POST
  • Response Content-type : application/json
  1. For get document content(You can use /raw/key instead of this api) :
  • Api url : /api/getdoc
  • Request body : key (key = 'key of a paste')
  • Request method : POST
  • Response Content-type : application/json

Special Thanks to :