JoeBiellik / picturepaste

Simple Node.js image pastebin

Home Page:https://paste.pictures/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

picturepaste

License Release Version Dependencies

Simple Node.js image pastebin built with Koa, MongoDB, Pug and Bootstrap.

Try it out at paste.pictures

Features

  • Clean code thanks to ES7 async/await and Koa
  • Short URLs via shortid, e.g. NyQO9puMe
  • Full support for CLI requests with curl etc
  • Automatic and configurable paste expiry
  • Runs fully containerized with Docker
  • Simple and responsive UI built with Bootstrap

Development

  1. Clone this repo:
git clone https://github.com/JoeBiellik/picturepaste.git && cd picturepaste
  1. Install dependencies:
npm install
  1. Start MongoDB:
docker-compose up -d db
  1. Start app and watch for changes:
npm run watch

Deployment

  1. Configure config/docker.json with any custom settings

  2. Start the production database and Node.js server:

docker-compose up

About

Simple Node.js image pastebin

https://paste.pictures/

License:MIT License


Languages

Language:JavaScript 63.7%Language:HTML 21.9%Language:CSS 14.4%