A super simple HTML to bash compiler.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file htmlishell-0.2.0.tar.gz.
File metadata
- Download URL: htmlishell-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17e8e0892bf6ca8e2db1e06b3da070b207787f132a0352b287625798478eeb08
|
|
| MD5 |
92d7ff2e55b742d188609df0880460b1
|
|
| BLAKE2b-256 |
d02082e8aa46ea8870bd2b8946217af7fdfcf7a380e16a53dce6fbe13d67f36c
|
File details
Details for the file htmlishell-0.2.0-py3-none-any.whl.
File metadata
- Download URL: htmlishell-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d706b86226216be1d32b8f956d73795c82377a781c2517e555aa45ef3888de8f
|
|
| MD5 |
31bd384a543e9773e736f3fb2fb5d19f
|
|
| BLAKE2b-256 |
d7341b6d72ca75563e43d3cfba925dbb40188fe6031c3cce44c03b3955f92bea
|