git / lists / casts


A simple Phoenix server to upload files if one knows the password
git clone git://git.fusch.online/uqi
Log / Files / Readme / License / Issues


Uqi is a simple phoenix server that allows anyone who knows the password to upload files.


To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Edit config/dev.exs
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Export the following environment variables:

  • UQI_PASSWORD: the password that allows one to upload
  • UQI_UPLOAD: the directory where files will be saved
  • UQI_SMTP: the address of a SMPT server used to send notifications
  • UQI_EMAIL: the address that receives the notifications
  • PLUG_TMPDIR: an accessible directory for storing temporary files

and check the phoenix deployment guide.

Nginx and Systemd configs are included for reference.

Learn more about Phoenix