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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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