https://github.com/stavromulabeta/ersatz
A simple web browser that I am making for my A-level computing project.
https://github.com/stavromulabeta/ersatz
c html libcurl libxml2 minimal sdl2 web web-browser
Last synced: 4 months ago
JSON representation
A simple web browser that I am making for my A-level computing project.
- Host: GitHub
- URL: https://github.com/stavromulabeta/ersatz
- Owner: StavromulaBeta
- License: bsd-2-clause
- Created: 2021-07-25T09:04:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-20T17:20:35.000Z (about 4 years ago)
- Last Synced: 2025-03-21T23:29:38.967Z (about 1 year ago)
- Topics: c, html, libcurl, libxml2, minimal, sdl2, web, web-browser
- Language: C
- Homepage:
- Size: 1.43 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ersatz

A simple web browser that I (Finn Barber) am making for my A-level computing project.
## Build
First make sure you have a working C compiler and install headers for libCurl, libXML2 (AT LEAST 2.9.13, webpages will appear blank on earlier versions), libSDL2, libSDL2-image, and libSDL2-ttf. Then run
```
make
```
## Running
Now you can run Ersatz by simply typing `./ersatz`.
Command-line options include:
```
--url=www.google.com # Set the starting URL
--fg=#123456 # Set the foreground colour
--bg=#123456 # Set the background colour
--hl=#123456 # Set the hyperlink colour
--sp=#123456 # Set the seperator colour
```
## Controls
Click the URL bar to enter a URL to navigate to. Use PgUp and PgDown to scroll up and down respectively. Hyperlinks are clickable as expected. The Back button, or backspace, will navigate to the previous page.