gasm is a unique bare-metal i386 Gopher server built in pure x86 Assembly, perfectly suited for resource-constrained hardware. With a minimal footprint and zero dependencies, it runs efficiently on older systems while maintaining essential features like dynamic directory listings and strict input sanitization.
gasm: A Bare-Metal Gopher Server
gasm is a lightweight and efficient Gopher server specifically designed for Linux operating systems, written entirely in pure x86 Assembly. This project emphasizes minimalism and performance, running seamlessly on resource-constrained hardware, from vintage computers like the 386DX to contemporary low-power devices.
int 0x80 syscalls.socketcall interface for robust networking.gasm targets the i386 (IA-32) instruction set:
With simple prerequisites such as nasm and ld, building and running gasm is straightforward:
# Build the server
make
# Prepare the content directory
mkdir content
echo "Hello from Assembly" > content/hello.txt
# Run the server
a./gasm content
To test the server:
curl gopher://localhost:7890
Download the binary from here and unlock the potential of resource-efficient Gopher hosting.
No comments yet.
Sign in to be the first to comment.