AlasDiablo Docs

Documentation for project make by AlasDiablo, Janoeo Project and more.

URL Paste documentation

/ Home / URL Paste

URL Paste is a paste services who want to respect user privacy by encoding the paste data into the url, or letting the user create their own storage server.

You can access URL Paste via this url https://paste.alasdiablo.fr.

How to get url encode paste

To get the url encode paste you can copy the website url (the url is automatically updated when you write text or code), to get the url you can also click on Copy URL button in the nav bar.

How to get a server stored url

To get a stored paste you need a storage server (see server documentation below), if you have a storage server you need to access the Share Online panel by clicking on the button named Share Online in the nav bar.

When you get into the Share Online panel complete and understand the following form with :

Share Online panel

Share Online Panel

How to set-up a storage server

  1. Install NodeJS 16.x LTS (You can use other version at you own risk)
  2. Clone or download the official GitHub repository
  3. Run npm intall in the cloned repository to install dependencies.
  4. Run npm run server in the cloned repository to start the storage server.
  5. Get your server ip and use it on the application.

Default Server options:

{
  "serverPort": 3001, // server port
  "maxPasteSize": 8000, // Size of the paste in char (bytes)
  "daysBetweenRemoval": 1, // Time in day between each database check
  "pasteDuration": 1, // Duration of a paste in month
  "userQuotaByMonth": 10, // Number of paste generated by an ip in a month
  "useHttps": true // Use https (certificat need to be in the same folder)
}