Giter VIP home page Giter VIP logo

webize's Introduction

webize

github-actions github-release

Move away from proprietary apps to focus on a browser-first workflow.

webize aims to provide the most basic tools to move to a browser-first workflow. For a start, webize can generate a local image gallery that may be previewed in the browser at file:///path/to/index.htm so that local filesystem images may be consumed in the local browser.

Philosophy

There are many OSes (platforms) with their own apps for previewing and consuming files. Among all of these interfaces, the most consistent interface is the web browser. We consume websites using the web browser, all apps are powered by the web, and almost every proprietary app out there can be replaced with a web app. So, since we are already familiar with the web browser, why aren't we using it more?

The goal of webize is to help the user move another step away from proprietary, platform-specific apps. Any workflow change that reduce reliance on non-browser apps is progress toward this goal.

webize is primarily for the use on client side for consuming local content (especially thin clients without or with limited virtualization capability). One may use webize on the server, but there should be better static site generators out there.

Install

sudo wget -q https://raw.githubusercontent.com/theohbrothers/webize/master/webize -O /usr/local/bin/webize && sudo chmod +x /usr/local/bin/webize
# or
sudo curl -sL https://raw.githubusercontent.com/theohbrothers/webize/master/webize -o /usr/local/bin/webize && sudo chmod +x /usr/local/bin/webize

Usage

Gallery

At present, gallery is kept as minimalistic as possible. But it might already be better than many [bloated] previewing apps out there.

# Generate a `index.htm` in every descendent folder of /path/to with image files, and opens them in firefox
cd /path/to
webize gallery . | xargs firefox

# Cleanup once you are done
webize clean .

Keyboard shortcuts:

Key Behavior
LEFT Previous image
RIGHT Next image
UP Previous image, or previous row in tile mode
DOWN Next image, or next row in tile mode
PAGEUP Previous page, or previous page row in tile mode
PAGEDOWN Next page, or next page row in tile mode
HOME First image
END Last image
ENTER Expand image
BACKSPACE Back to tile mode
SPACE Next image
ESC Escape from full screen, or back to tile mode
F Mode: Full screen
X Mode: Stretch horizontal
Y Mode: Stretch vertical
- Mode: Tile smaller
= Mode: Tile larger
L Mode: Show / Hide label
S Mode: Toggle sort mode
P Menu: Pin / Unpin menu

webize's People

Contributors

leojonathanoh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.