Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Web Server in Assembly (x86_64)

Description

This project is a simple web server written in assembly language for x86_64 architecture.

References

Features

  • Handles HTTP GET requests
  • Serve static files from the www directory
  • Configurable port number, bind address, and root directory via assemblywebserver.conf

Requirements

  • NASM (Netwide Assembler)
  • GCC (GNU Compiler Collection)
  • Make

Installation

sudo apt-get install nasm gcc

Building the Project

To build the project, run:

make mk-dirs
make build

Running the Server

After building the project, run the server with:

./dist/assemblywebserver <port number:optional>

File Structure

  • src/assemblywebserver.asm: Main server code
  • Makefile: Build configuration

License

This project is licensed under the MIT License.