_     __      ___    __ __      
 /' \  /'__`\  /'___`\ /\ \\ \     
/\_, \/\ \/\ \/\_\ /\ \\ \ \\ \    
\/_/\ \ \ \ \ \/_/// /__\ \ \\ \_  
   \ \ \ \ \_\ \ // /_\ \\ \__ ,__\
    \ \_\ \____//\______/ \/_/\_\_/
     \/_/\/___/ \/_____/     \/_/     the lowest port

powered by mips32 74Kc, qualcomm, tp-link, openwrt, uhttpd, lua and ucode

# 20260906

- Writing this from Miracle (Samsung S26+) running the Acode editor.

- Added the minimal firmware image, the LetsEncrypt certificates and ssh keys to the 0010240.xyz project. also PowerShell and ash scripts to rebuild
the system and update the contents.

- Uhttpd config woes: It seems the init script for uhttpd does not build the right command line with the switches to configure the processing 
of ucode programs. What I did was disable the init script and write just a one-liner to run uhttpd with the right switches.
 
# 20260905

## Image reinstall and designing the workflows

- Managed to fill up all the remaiming free  space, so an image reinstall was necessary. It was an opportunity to take a look at how 
to start with a clean server, how to backup and restore my coding and writing files and how to write from any device.

# 20260904

## Habemus HTTPS

- Worked with acme.sh on Pica (Raspberry Pi 400) to generate the certificate files needed to enable https, but connections to the site 
failed. It took  me some troubleshooting and head-scratching time, only to find out that I had forgotten to write the needed 
firewall rule on the server... :-( 

## The lowest port

- The idea here is to explore how far can you take an outdated wifi ap/router as a server. I wanted to run several services, but 
latest OpenWrt releases, with lua and ucode for scripting and cgi-bin processing, just leave less than 2MB of free storage on this 
64MB RAM/8MB Flash system.

- So this one will be just a web server, with management and writing happening via SSH, plus help from some lua and ucode scripting.

- I have three more ap/routers for this experiment, but as 32MB RAM/4MB Flash devices, installing and running anything will be a 
challenge; but nevertheless, I want them to become a little and happy server family on my homelab.

- I had found that you can buy number-based .xyz domains for less than a $1 yearly, and I already bought three of them; but none were right
for this project. I looked around for some other domain names and .TLDs, but they cost more, so I went back to .xyz and went looking 
at numbers that have to do with networking, got to 1024 that has some special meaning, and it was 0010240.xyz the one availble. 

- After wrangling with custom openwrt images, port-forwarding rules and config files, this server is up and running, reachable from the outside 
world, except for users of Google Chrome; it refuses to connect to unsecure http sites, so that means procuring a Let's Encrypt certificate 
for 0010240.xyz

- About the web design and content, this current setup is just the beginning, I have to work a lot more on the design, write some server-side 
includes, cgi-bin code, slash pages and generate an RSS file.

## Links

acmesh-official/acme.sh: A pure Unix shell script ACME client for SSL https://github.com/acmesh-official/acme.sh

1024 (number) https://en.wikipedia.org/wiki/1024_(number)

The Programming Language Lua https://www.lua.org/

slash pages https://slashpages.net/

ucode - Reference Documentation https://ucode.mein.io/

MIPS System emulator https://qemu-project.gitlab.io/qemu/system/target-mips.html

MIPS32® 74K® - MIPS Technologies - MIPS Everywhere https://web.archive.org/web/20101006060716/http://www.mips.com/products/cores/32-64-bit-cores/mips32-74k/

Text to ASCII Art Generator (TAAG) https://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type+Something+&x=none&v=4&h=4&w=80&we=false

How to read POST from Lua on OpenWRT/uhttpd https://stackoverflow.com/questions/34346499/how-to-read-post-from-lua-on-openwrt-uhttpd

How an MIT research project became a global programming language https://news.mit.edu/2026/how-mit-research-project-became-global-programming-language-0831

Neil Fraser: News: .name Termination https://neil.fraser.name/news/2026/09/03/

Basic CGI with Lua https://stackoverflow.com/questions/22044498/basic-cgi-with-lua

OpenWRT web https://0ink.net/posts/2013/2013-05-30-openwrt-tips.html