Code Monkey home page Code Monkey logo

django_pastebin's Introduction

a pastebin site with django

At first, I wanted to use this project for production purposes but I failed to write a desktop program as I wanted, so I decided to share this project with others for any usage they want.

concept

Each user has their own account, when they login, they can save their text on the site. Text will remain private until the user clicks on the share button. Then the shared text will get a link, links are a hash of the text itself. When a user clicks on a delete button, the text will be immediately removed from the database.

pastebin sites are famous for not editing the texts.

and the last thing is that this site provides all the functions as API, so you can use API of the site to add a text, share, delete and, view a text.

site are avilable in both persian and english, to use it in persion, in the django url change the template url to template/per

API

if you need all the API methods, you can download api-doc.pdf all API and usage explained.

how to run

  1. so at fist clone the repo git clone https://github.com/shabane/pastebin.git
  2. then if you have linux just cd to project dir and enter ./manage.py runserver
  3. the server will run in 127.0.0.1:8000, and just open this url in your browser.

screenshot

Home page pastebin

Logout pastebin

Login pastebin

Singup pastebin

Adding Text page pastebin

django_pastebin's People

Contributors

blackiq avatar shabane avatar yamin8000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

blackiq

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.