Lulzx / copypasta

Just a simple pastebin.com clone as a web service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copypasta 🍝

Just a simple pastebin.com clone as a web service to paste text in memory. I wanted to play around with deno and this is my first project with it.

run

  1. Install deno
  2. Execute deno run --allow-net https://raw.githubusercontent.com/kr1sp1n/copypasta/master/copypasta.bundle.js
  3. Goto http://localhost:8080/ and play around.

develop

Install denon: deno install --allow-read --allow-run --allow-write -f --unstable https://deno.land/x/denon/denon.ts

denon start

bundle

deno bundle src/main.js copypasta.bundle.js

build docker image

docker build -t kr1sp1n/copypasta .

run docker image

docker run --rm -p "8080:8080" kr1sp1n/copypasta

About

Just a simple pastebin.com clone as a web service


Languages

Language:JavaScript 99.8%Language:Dockerfile 0.2%