Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/WarpEngineer/geminic
A Gemini protocol client library
https://github.com/WarpEngineer/geminic
Last synced: 3 months ago
JSON representation
A Gemini protocol client library
- Host: GitHub
- URL: https://github.com/WarpEngineer/geminic
- Owner: WarpEngineer
- License: mit
- Created: 2021-06-30T01:17:09.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-01T01:27:27.000Z (over 3 years ago)
- Last Synced: 2024-07-11T16:47:05.391Z (4 months ago)
- Language: Erlang
- Size: 12.7 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gemini - geminic - An Erlang library for building Gemini protocol clients. (Programming / Graphical)
README
# geminic
An Erlang library for building Gemini protocol clients.
## Build
$ rebar3 compile
## Retrieve a Gemini page without auto-redirect
1> geminic:request( "gemini://warpengineer.space" ).
## Retrieve a Gemini page with auto-redirect
1> geminic:setopt(autoredirect, true).
2> geminic:request("gemini://warpengineer.space").## Retrieve a Gemini page with a custom timeout of 60 seconds (default is 30 seconds)
1> geminic:request( "gemini://warpengineer.space", 60000 ).
## Use a client certificate
1> geminic:setopt(clientcert, geminic:make_cert("mycert.crt","mykey.key")).
2> geminic:request("gemini://warpengineer.space/restricted/index.gemini").## Author
- [@WarpEngineer](https://github.com/WarpEngineer)
## License
Copyright (c) 2021 A. G. Madi.
Licensed under [MIT](https://github.com/WarpEngineer/geminic/blob/master/LICENSE).