Answer a few questions, get a website. My Python script from 2021, now in the browser. Part of Back from Zero.
▶ Open it at websitegenerator.bf0.by0.link
In June 2021 I was 13, called myself byZero and wrote lol.py, a Python script that asked you a few questions in the terminal and turned your answers into a personal website. The first commit was called "First Commit ;D". One day later came v2.0 with social media icons and custom frames. Over the winter I added pronouns and image codes for the icons, and in January 2022 the project got this organization and a pip package. After that it went quiet. Back from Zero is me switching my old byZero projects back on, and this is one of them.
The browser version runs the questions from lol.py in a terminal window:
- It asks for your name, pronouns, a description, your domain, a profile picture and a thumbnail, then for as many cards and social media icons as you want. It still answers your name with "Thanks! … is a really nice name. :D"
- After every answer, your website updates in a browser window next to the terminal.
- Click any earlier answer to change it.
- For card and icon images you can type a URL or an image code. All 55 icons are clickable right in the terminal.
- At the end you download one
index.htmlwith the CSS built in, ready to host. The page is dark, shows your name, description, pronouns, cards and icons, and has a small "Made with WebsiteGenerator" at the bottom.
In the browser: websitegenerator.bf0.by0.link (same thing on GitHub Pages). Nothing to install.
In the terminal: you need Python 3 and requests.
git clone https://github.com/WebsiteGenerator/WebsiteGenerator
cd WebsiteGenerator/src
pip install requests
python main.pyYour website lands in src/web/index.html. The script loads the CSS from this repo, so it needs internet. main.py is a cleaned-up version from 2026. The original lol.py is still in the first commit.
- WebsiteGenerator: the generator. Browser version in
docs/, terminal version insrc/, icons inicons/. - resources: the HTML pieces the old script downloaded in 2022. The current version doesn't need them anymore.
WebsiteGenerator is part of Back from Zero, together with ZeroBot and Counter.
Made by Ruwen, back then byZero · focusonruwen.com · @EinfachRuwen
