Skip to main content

uploading website and database system

Project description

image0

Flask text-entry service and database system

introduction

Upbox is a text-entry web program. Text and an optional comment is entered and then these are saved to a database.

image1

setup

sudo apt install sqlite
sudo pip install upbox

Flask

while true; do
    upbox --home="home.html"
done

The service should now be accessible via a link like the following: 10.10.10.95:443/upbox

Gunicorn

sudo gunicorn --workers=1 "upbox.__init__:WSGI(argv=['--home=home.html'])" --bind=0.0.0.0:443 --certfile=/home/user/certificates/fullchain.pem --keyfile=/home/user/certificates/privkey.pem

upbox database structure

There is one table in an upbox database called “data”. This table has the following fields:

field

description

comment

comment for entry

IP

IP address that created the entry

text

entry text

timestamp

entry creation timestamp

unique_ID

entry unique identifier

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upbox-2022.1.20.210.tar.gz (124.7 kB view details)

Uploaded Source

File details

Details for the file upbox-2022.1.20.210.tar.gz.

File metadata

  • Download URL: upbox-2022.1.20.210.tar.gz
  • Upload date:
  • Size: 124.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for upbox-2022.1.20.210.tar.gz
Algorithm Hash digest
SHA256 f67faa3f1be058c89ff41dffea496a2b49a1d9c046b11ea7202faeb01f5afb5f
MD5 49522628c3351edac5744f49b99df78e
BLAKE2b-256 b01528d1649169ea3b3df134a8ce9b129f65e5979a849e176fa4287e52b60e3b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page