https://github.com/gernest/gopastebin3
A Pastebin using Go, Oauth, and JSON Web Tokens
https://github.com/gernest/gopastebin3
Last synced: about 2 months ago
JSON representation
A Pastebin using Go, Oauth, and JSON Web Tokens
- Host: GitHub
- URL: https://github.com/gernest/gopastebin3
- Owner: gernest
- Created: 2015-08-18T04:40:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-08T18:35:25.000Z (about 10 years ago)
- Last Synced: 2025-01-12T19:26:03.496Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 895 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gopastebin3
This version of Pastebin uses PrismJS syntax highlighting. I tried to figure Bootstrap out. Logging out invalidates the cookie. I used MongoBD for storing the pastes.# Dependencies
go get github.com/dgrijalva/jwt-go
go get code.google.com/p/goauth2/oauth
go get gopkg.in/mgo.v2
go get gopkg.in/mgo.v2/bson
# Encryption
Use openssl to make a private key called "demo.rsa" and a related public key called "demo.rsa.pub". Put them in the "static" directory.