gemview

Crates.iogemview
lib.rsgemview
version0.5.2
sourcesrc
created_at2022-02-24 12:48:43.33268
updated_at2022-06-07 04:31:48.790475
descriptionA Gemini protocol browser in a Gtk+ (v4) widget
homepage
repositoryhttps://codeberg.org/jeang3nie/gemview
max_upload_size
id538499
size126,503
Nathan Fisher (nfisher1226)

documentation

README

GemView

Contents

Introduction

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

Features

  • Browse and render gemini gemtext content
  • Display plain text over gemini
  • Display images over gemini
  • Display text and images from data:// url's
  • Browse and render gopher maps, plain text and images over gopher
  • Display finger protocol content
  • Browse local files and directories via 'file://' url's
  • Spartan protocol support
  • Open http(s) links in a normal browser
  • User customizable fonts
  • User customizable colors (via CSS)
  • Back/forward list
  • History

Usage

[dependencies]
gemview = 0.2.0

[dependencies.gtk]
version = "~0.4"
package = "gtk4"
use gemview::GemView;
use gtk::prelude::*;

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");
Commit count: 0

cargo fmt