QuickShare

module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: MIT

README

QuickShare

Plug-n'-play file sharing web service. Simply generate a token using:

$ service token --new

This will also generate a default config.ini file. Set the config absolute path using the -c flag.

Copy the displayed token, then start the web service using:

$ service host --port 80

Note: to keep the service up use screen, or even better write your own systemd service file

Next, navigate to the web service in your browser and use the generated token to login and start sharing!

ui-demo

Project structure

  • service: Handles the http web service
    • /app: The frontend app hosted by the web service for web users
    • /jobs: Handles misc. long-running tasks (like file expiration)
  • cmd: command line utils
    • /service: service to host the web service
  • api: general handlers
    • /iface: shared interface types
    • /db: database handler and driver
    • /storage: file storage
  • util: general utility functions

TODOs:

  • service/app: general 'make things pretty'
  • *: grep 'TODO' && do them lol

Directories

Path Synopsis
api
db
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL