Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

Repository files navigation

htmlishell

Support Ukraine

Build Status Code style: black Python support versions badge (from pypi)

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.

About

A super simple HTML to bash compiler.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages