https://github.com/panicbit/twinstar
A gemini server implementation
https://github.com/panicbit/twinstar
gemini gemini-protocol gemini-server
Last synced: 2 months ago
JSON representation
A gemini server implementation
- Host: GitHub
- URL: https://github.com/panicbit/twinstar
- Owner: panicbit
- License: other
- Created: 2020-10-31T19:55:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T22:28:49.000Z (over 1 year ago)
- Last Synced: 2025-04-12T04:35:10.644Z (11 months ago)
- Topics: gemini, gemini-protocol, gemini-server
- Language: Rust
- Homepage:
- Size: 119 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gemini - northstar - gemini server implementation. (Servers / Graphical)
README
```
__ _ __
/ /__ __(_)___ _____/ /_____ ______
/ __/ | /| / / / __ \/ ___/ __/ __ `/ ___/
/ /_ | |/ |/ / / / / (__ ) /_/ /_/ / /
\__/ |__/|__/_/_/ /_/____/\__/\__,_/_/
```
- [Documentation](https://docs.rs/twinstar)
- [GitHub](https://github.com/panicbit/twinstar)
# Usage
Add the latest version of twinstar to your `Cargo.toml`.
## Manually
```toml
twinstar = "0.4.0" # check crates.io for the latest version
```
## Automatically
```sh
cargo add twinstar
```
# Generating a key & certificate
Run
```sh
mkdir cert && cd cert
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
```
and enter your domain name (e.g. "localhost" for testing) as Common Name (CN).
Alternatively, if you want to include multiple domains add something like `-addext "subjectAltName = DNS:localhost, DNS:example.org"`.