https://github.com/marcusxavierr/dumb_curl
https://github.com/marcusxavierr/dumb_curl
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcusxavierr/dumb_curl
- Owner: MarcusXavierr
- Created: 2024-08-01T02:58:08.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T02:27:53.000Z (11 months ago)
- Last Synced: 2024-10-18T09:20:31.492Z (9 months ago)
- Language: C
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dumb Curl
A simple copy of curl, with some extra sauce 😎
### Building
This project depends on libcurl and SDL. So, please install theses dependenciesmacOS
```bash
brew update
brew install sdl2
brew install sdl2_mixer
brew install curl
```
Ubuntu
```bash
sudo apt-get update
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-mixer-dev
sudo apt-get install curl libcurl4-openssl-dev
```
Fedora
```bash
sudo dnf update
sudo dnf install SDL2-devel
sudo dnf install SDL2_mixer-devel
sudo dnf install curl libcurl-devel
```My makefile uses `clang` as the compiler, if your prefer to use gcc, change this on the first line of the makefile, the `CC=clang`.
After that, just run
```bash
make
```
And then run
```
./dumbcurl https://example.com
```