Skip to content

A simple FastHTML app to turn browser into Python console. (Experimental ☢️)

License

Notifications You must be signed in to change notification settings

iamaziz/fh_pyconsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyConsole

Railway Badge

Turn browser into a console for Python using FastHTML (in 34 lines).

Usage

Setup

pip install python-fasthtml
git clone https://github.com/iamaziz/fh_pyconsole.git
cd fh_pyconsole

Run

python main.py

Open browser and navigate to http://localhost:5001

Demo

demo.mov

A live demo is available here and here.


Disclaimer ⚠️

Under the hood, exec() is used to execute Python code.

About

A simple FastHTML app to turn browser into Python console. (Experimental ☢️)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages