htmlishell
A super simple HTML to bash compiler, inspired by this moment.
htmlishell
| |^^^^^
| \because with sh it didn't sound
\ what Primagen likes
I hate JS so much so I won't do react, but rather just html
Examples
I am too dumb (and lazy too) to do all the bash spec, so I just did a few features.
Simple ls
<ls />
Transforms into
ls
ls with arguments
<ls>
<all />
</ls>
Transforms into
ls --all
ls with short arguments
<ls>
<all />
<l short=true />
</ls>
Transforms into
ls --all -l
Installing
Do not use pip for Python packages (see this).
TLDR: not venv-wide pip installation may break your system, use pipx (it will manage venvs for you).
pipx install htmlishell
Then run
htmlishell ./path/to/your/file.html
Installing for local developing
git clone https://github.com/PerchunPak/htmlishell.git
cd htmlishell
Installing poetry
Next we need install poetry with recommended way.
If you use Linux, use command:
curl -sSL https://install.python-poetry.org | python -
If you use Windows, open PowerShell with admin privileges and use:
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
Installing dependencies
poetry install
If something is not clear
You can always write to me!
Thanks
This project was generated with python-template.
Metadata
Release files for htmlishell 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| htmlishell-0.2.0.tar.gz | 3.5 kB | Without provenance | Details for htmlishell-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| htmlishell-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for htmlishell-0.2.0-py3-none-any.whl |
Total release size: 7.8 kB
Release files / htmlishell-0.2.0.tar.gz
| Download URL | htmlishell-0.2.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17e8e0892bf6ca8e2db1e06b3da070b207787f132a0352b287625798478eeb08
|
|
BLAKE2b-256 checksum How to use checksums |
d02082e8aa46ea8870bd2b8946217af7fdfcf7a380e16a53dce6fbe13d67f36c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / htmlishell-0.2.0-py3-none-any.whl
| Download URL | htmlishell-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d706b86226216be1d32b8f956d73795c82377a781c2517e555aa45ef3888de8f
|
|
BLAKE2b-256 checksum How to use checksums |
d7341b6d72ca75563e43d3cfba925dbb40188fe6031c3cce44c03b3955f92bea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Security for htmlishell 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.