Skip to content
/ upsty Public

💻 upsty - CLI Backend and Tool for up.psty.io ⭐

License

Notifications You must be signed in to change notification settings

psty-io/upsty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains the code for both the webapplication running on https://up.psty.io and also the command line tool that interfaces with it.

About Upsty

Upsty is a tool that is inspired by https://transfer.sh which used to be nice to use until they kept having downtime. With the service we host allowing file uploads and pastes, this felt like a nice additon to add.

Backend

The backend folder contains the Flask application running the service. This is a simple single file Flask app that utilizes a config file in backend/config.json. Before starting development make sure to set up all the information inside of that config file.

Usage:

curl --upload-file <filepath> https://up.psty.io/<filename>

Requirements:

  • Flask
  • boto3

Running:

flask run

This will run a server on http://localhost:5000

Command Line Tool

The command line tool is a pip program that you can install by running pip install upsty. This will remove the need for cURL and simply interfaces with the API on https://up.psty.io already.

Usage:

usage: upsty [-h] filepath filename

positional arguments:
  filepath    Path to file for upload.
  filename    Filename to download as.

optional arguments:
  -h, --help  show this help message and exit

Credit

Written by Max Bridgland

License

View Here

About

💻 upsty - CLI Backend and Tool for up.psty.io ⭐

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages