Skip to content

Fetchy is a minimal, curl-like command-line utility written in C for fetching web content over HTTP/HTTPS.

Notifications You must be signed in to change notification settings

Farhan291/fetchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetchy

Fetchy is a minimal, curl-like command-line utility written in C for fetching web content over HTTP/HTTPS.

building

Clone the repository and run make in the project's root directory:

$ git clone https://github.com/Farhan291/fetchy.git
$ cd fetchy
$ make 

usage

Provide a URL as a command-line argument.

To fetch a URL and display only its body:

$ ./main https://man.archlinux.org/ 

To include the response headers in the output, use the -h flag:

$ ./main -h https://man.archlinux.org/ 

what it can do

  • send get request from cli
  • An optional flag (-h) to view the response headers.
  • can serve html pages
  • support https too

TODO

  • [] make it ready for POST and PUT
  • [] parse the html page

About

Fetchy is a minimal, curl-like command-line utility written in C for fetching web content over HTTP/HTTPS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published