Files
herolib/lib
Mahmoud-Emad 68dd957421 feat: add modular web UI features
- Enable `web` command to start UI server
- Centralize web server setup and static serving
- Implement modular UI for chat and script editor
- Refactor Heroprompt UI into its own module
- Introduce dynamic theme switching and mobile menu
2025-08-21 18:28:17 +03:00
..
...
2025-08-15 07:09:40 +02:00
...
2025-05-04 08:19:47 +03:00
...
2025-07-21 12:46:31 +02:00
...
2025-08-21 12:21:52 +02:00
...
2025-07-21 06:18:46 +02:00
2025-08-21 18:28:17 +03:00
...
2025-08-16 10:07:35 +02:00
...
2025-08-21 12:05:20 +02:00
...
2025-05-04 08:19:47 +03:00
...
2025-08-21 12:05:20 +02:00
...
2025-08-06 08:50:32 +02:00
...
2025-08-21 12:06:21 +02:00
...
2025-08-21 12:05:20 +02:00
...
2025-08-15 07:09:40 +02:00
...
2025-08-21 12:05:20 +02:00
...
2025-08-19 05:51:43 +02:00
...
2025-08-21 12:13:36 +02:00
2024-12-25 21:48:03 +01:00
...
2025-05-04 08:19:47 +03:00
...
2025-08-15 07:09:40 +02:00
2025-08-21 18:28:17 +03:00
2024-12-25 12:23:15 +01:00

herolib

Is an opinionated library as used by threefold mainly to automate cloud environments, its still very much work in progress and we welcome any contribution.

Please check also our cookbook which might give some ideas how to use it.

Get started with hero

curl -sL https://raw.githubusercontent.com/freeflowuniverse/herolib/development/scripts/install_hero.sh | bash

Get started with herolib

the following script will install vlang and herolib (report bugs please)

curl https://raw.githubusercontent.com/freeflowuniverse/herolib/development/scripts/installer.sh > /tmp/install.sh
bash /tmp/install.sh

optional requirements

  • ssh key loaded for access to github

alternative with manual git checkout & v install

requirements

  • v installed
  • ssh key loaded for access to github
mkdir -p ~/code/github/freeflowuniverse
cd ~/code/github/freeflowuniverse
git clone git@github.com:freeflowuniverse/herolib.git
cd herolib
# checkout a branch with most recent changes
# git checkout development 
bash install.sh

Install Hero

hero is our "hero" tool to execute heroscript, deal with git, ...

hero will be installed in

  • /usr/local/bin for linux
  • ~/hero/bin for osx
curl https://raw.githubusercontent.com/freeflowuniverse/herolib/development/scripts/install_hero.sh > /tmp/hero_install.sh
bash /tmp/hero_install.sh
#to debug
bash -x /tmp/hero_install.sh
#maybe you want to copy to your system bin dir
cp ~/hero/bin/hero /usr/local/bin
#to use hero make sure you restart your shell or you do (if osx)
source ~/.zprofile 
#check how to use, can also do on each of the subcommands
hero -help

requirements

  • ssh key loaded for access to github

generating docs yourself

#cd in this directory
cd ~/code/github/freeflowuniverse/herolib
bash doc.sh

build hero

  • linux as done by github actions, nothing to do
  • osx: ``