https://github.com/vinc/fetch
Fetch is a HTTP/0.9 server and proxy to other protocols
https://github.com/vinc/fetch
Last synced: 3 months ago
JSON representation
Fetch is a HTTP/0.9 server and proxy to other protocols
- Host: GitHub
- URL: https://github.com/vinc/fetch
- Owner: vinc
- License: mit
- Created: 2023-07-23T09:52:24.000Z (almost 2 years ago)
- Default Branch: trunk
- Last Pushed: 2024-06-04T15:18:54.000Z (about 1 year ago)
- Last Synced: 2025-02-06T05:14:12.057Z (5 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fetch
Fetch is a HTTP/0.9 server and proxy to other protocols
## Protocols
- Gemini
- Gopher
- HTTP
- HTTPS## Usage
Run the `fetchd` daemon:
$ ruby fetchd.rb --server --proxy
Send a HTTP server request to the daemon:
$ echo "GET /README.md" | nc localhost 8888
# FetchFetch is a HTTP/0.9 server and proxy to other protocols
Send a HTTPS proxy request to the daemon:
$ echo "GET https://example.com" | nc localhost 8888
...
Send a Gemini proxy request to the daemon:
$ echo "GET gemini://gemini.circumlunar.space" | nc localhost 8888
# Project Gemini## Gemini in 100 words
Gemini is a new internet technology supporting an electronic library of
interconnected text documents.
...## License
Fetch is released under MIT