Gemview

Introduction

GemView is a gemini protocol browser widget for gtk+ (version 4) implemented in Rust.

Features

Usage

Cargo.toml

[dependencies]
gemview = 0.2.0

[dependencies.gtk]
version = "~0.4"
package = "gtk4"

Rust source code

use gemview::GemView;
use gtk::prelude::*;

fn main() {
    let browser = GemView::default();
    let scroller = gtk::builders::ScrolledWindowBuilder::new()
        .child(&browser)
        .hexpand(true)
        .vexpand(true)
        .build();
    let window = gtk::builders::WindowBuilder::new()
        .child(&scroller)
        .title("GemView")
        .build()
    window.show();
    browser.visit("gemini://gemini.circumlunar.space");
}

Tags for this page

=> software
=> gemview
=> rust
=> gtk

=> Home

All content for this site is licensed as CC BY-SA.

© 2022 by JeanG3nie

=> Finger | Contact

Proxy Information
Original URL
gemini://gemini.hitchhiker-linux.org/software/gemview.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-US
Capsule Response Time
585.507572 milliseconds
Gemini-to-HTML Time
0.499356 milliseconds

This content has been proxied by September (ba2dc).