Skip to content

a simple, frameless browser for screenshots

Notifications You must be signed in to change notification settings

stephen-shopopop/broz

 
 

Repository files navigation

Minimal node version Minimal npm version Maintenance Linux macOS Visual Studio Code Linters Changelog

BROZ

a simple, frameless browser for screenshots

It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux.

Inspire by antfu broz

Usage

Install

Add .npmrc file in your env $HOME

@stephen-shopopop:registry=https://npm.pkg.github.com

npx @stephen-shopopop/broz --url https://antfu.me

OR 

npm install -g  @stephen-shopopop/broz 
// launch
broz --url https://antfu.me
broz [options]

  --dir string
        path to serve (default ".")
  --url string
        instead of serving files, load this url
  --title string
        title of the webview window (default "broz")
  --width int
        width of the webview window (default 800)
  --height int
        height of the webview window (default 600)

Distributing webview apps

On Linux you get a standalone executable. It will depend on GTK3 and GtkWebkit2, so if you distribute your app in DEB or RPM format include those dependencies. An application icon can be specified by providing a .desktop file.

sudo apt-get install libwebkit2gtk-4.0-dev

Contributing

  1. npm run lint - eslint test config
  2. npm run release - Release library && publish

Package maintenance

A modern cli tool that keeps your deps fresh

npx taze

About

a simple, frameless browser for screenshots

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 43.3%
  • Makefile 43.1%
  • JavaScript 9.2%
  • HTML 4.4%