Skip to main content

A cli tool to host any non-binary files

Project description

Instant-Host

Python application

Host static pages and Files from your Terminal. It can host your HTML, JSON, XML, and many non-binary files. All hosted files are encrypted and compressed.

Installation

$ pip install instanthost

Usage

Usage of Instanthost is very simple

Host new page

Demo

instanthost ~/path/to/file

Output is like this

✌️  Hosted Successfully ✨

created_at: 05/16/2021, 16:39:56

hosted_at: http://instant-host.herokuapp.com/render/U4uhdM4

mimetype: application/xml

private_key: U4uhdM4bnovt

public_key: U4uhdM4

tiny_url: https://tinyurl.com/yehcy54n

Editing the existing page

You can change the data in the file without causing any issues to link with the secret private key. Store your private key for editing content.

instanthost ~/path/to/new/file --edit --key <your-private-key>

Output is

✌️  Hosted Successfully ✨

hosted_at: http://instant-host.herokuapp.com/render/U4uhdM4

mimetype: application/xml

private_key: U4uhdM4bnovt

public_key: U4uhdM4

updated_at: 05/16/2021, 16:43:34

tiny_url: https://tinyurl.com/yehcy54n

Delete the existing page

instanthost delete --key <your-private-key>

Like this you can host all non-binary type file from your terminal

you can host your simple static web page, blog post and etc ..

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

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

Source Distribution

instanthost-1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

instanthost-1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file instanthost-1.1.tar.gz.

File metadata

  • Download URL: instanthost-1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for instanthost-1.1.tar.gz
Algorithm Hash digest
SHA256 97662aa7c10437187af5fa0b22829bf50b1e75ed5cd63e93240a8a3c0e2cab4f
MD5 e8414a56b8cf13d1ca0b67f3f7c01ed3
BLAKE2b-256 247d9e6a8044fa49ec891932537765e1850a1c29091e12cd9aea67f535621589

See more details on using hashes here.

File details

Details for the file instanthost-1.1-py3-none-any.whl.

File metadata

  • Download URL: instanthost-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for instanthost-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5d27566ac5e5ba19e4f32df9bfffbfd7af89393a9dece9db761e3e08090c79
MD5 4e5be6bbc74f9f423d5b8c4b73c58be2
BLAKE2b-256 cb417c940217499b5b8b7fc434fe32f51391c24ab720289e21c3d54c0ce6f286

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