Skip to content

WarpEngineer/geminic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

License

Copyright (c) 2021 A. G. Madi. Licensed under MIT.

About

A Gemini protocol client library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages