#link #url #webpage #actix #actix-web #web

pslink-shared

A simple webservice that allows registered users to create short links including qr-codes. Anyone can visit the shortened links. This is an ideal setup for small busines or for publishing papers.

2 releases

0.4.1-beta.2 Aug 13, 2021
0.4.1-alpha.0 Aug 12, 2021

#16 in #webpage

27 downloads per month
Used in 2 crates

MIT/Apache

13KB
322 lines

The pslink library and binary

This is the pslink server part. It provides a webserver to be run behind another webserver like apache or nginx. Everything needed to run is bundled in the pslink binary. So you can compile everything locally and the copy the single binary to your server and run it.

Library features:

  • models for writing and retriving information from the database

Server/Binary features:

  • creation and migration of the database
  • creating an admin user
  • creating a .env file with all available options
  • launch the server
    • serve the wasm-file
    • serve styling and js bindings
    • provide a REST-JSON-Api to get and modify entries in the database
    • authentication

Dependencies

~1.7–2.6MB
~46K SLoC