Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Vigneshk5/silly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silly

Silly is a simple C++ application that fetches and renders HTML from web pages using curl. It is designed to work primarily with older and simple websites. The project leverages the SDL2 and SDL2_ttf libraries for rendering the HTML content. Screenshot 2024-08-15 at 3 45 54 PM Screenshot 2024-08-16 at 10 35 10 PM Screenshot 2024-08-20 at 7 26 14 PM

Features

  • Fetches HTML content from the web using curl.
  • Renders the fetched HTML using SDL2.
  • Supports basic text rendering with SDL2_ttf.
  • Suitable for older, simpler websites.

Requirements

  • CMake 3.10 or higher
  • C++17 compiler
  • libcurl
  • SDL2
  • SDL2_ttf

Building the Project

  1. Clone the repository:

    git clone https://github.com/vigneshk5/silly.git
    cd Silly
  2. Create a build directory and navigate into it:

    mkdir build && cd build
  3. Configure the project using CMake:

    cmake ..
  4. Build the project:

    make

Running Silly

After building the project, you can run Silly by executing the following command from the build directory:

./silly

You can provide a URL and render its HTML:

./silly

Project Structure

  • src/: Contains the source files for the project.
    • main.cpp: Entry point of the application.
    • HTMLRenderer.cpp: Handles rendering of HTML content.
  • include/: Header files for the project.
  • CMakeLists.txt: CMake configuration file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published