Git Product home page Git Product logo

uplaud's Introduction

Uplaud

Uplaud (portmanteau of Upload and Applaud) is a service you can run to upload text and files to. It was made because I've explored many public file shares and none of them provide a quick, simple way to visit the files you've just uploaded on another device. You either need to sign in to an account with a mandatory email and long, complex password, or you need to remember an unituitive token like Fje3dBv. Uplaud solves this. It asks for a username and password, merely 1+ characters in length, to hide your ephemeral uploaded data. Also, despite a passwords' potential to be meaningless here, they are still encrypted with scrypt in case you want them to be meaningful.

Preview

Right now, it looks like this.

preview

Set Up

Rename rename_to_configs.py to configs.py and set the variables inside that file.

Consider changing route limits. Look for both routed wrapped in @limiter.limit.

Install Redis for rate limiting.

sudo apt update
sudo apt install redis-server
sudo nano /etc/redis/redis.conf # set line `supervised no` to `supervised systemd`
sudo systemctl restart redis
sudo systemctl status redis

Change redis://localhost:6379 if needed.

To delete the expired records, set up a cronjob with sudo crontab -e.

*/5 * * * * /path/uplaud/venv/bin/python3 /path/uplaud/garbage_truck.py >> ~/cronout.txt 2>&1

uplaud's People

Watchers

skwzrd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.