Going to the website, you'll see a pretty empty page with a button. This is the homepage which i'm too lazy to make.
Going to the url with a path of "/board" and a query of "?id=someCodeHere" (or simply pressing the button on the homepage) will bring you to the Paste Board.
The Paste Board is a website I made to help me transfer some text from one computer's clipboard, to another computer.
I made this because I found myself on a public school computer, and I was coding some random stuff. I wanted to transfer the code to my computer, but the only way to do that was to log into my google account, which takes time, or post it online on pastebin for everyone to see for about a minute. And I my class was starting soon.
Anyways, I made this to solve this small problem.
To install and run this on your own computer, clone this repository, and run npm i or npm install to download the 2 dependancies (both of them are only used for the server).
To run the server, use node server.js
Some of the variable to keep in mind which you can change are;
- the 2 at the top of server.js, "HOST" and "PORT"
If you change these variables, update the HOST and PORT variables in the file /editor/editor.js to reflect these changes.