Giter VIP home page Giter VIP logo

deck's Introduction

YAL's Deck (working title)

Quick links: itch.io (donations, pre-built binaries)

demo.mp4

This little tool allows you to embed multiple windows into a horizontally scrolling view!

In doing so, you can combine several feeds from unrelated social media pages into a sort of "universal dashboard". But you aren't limited to just web pages - almost any application can be embedded into the tool.

How to use

  • Click on the "+" button on the sidebar to add a column
  • Press Insert/Remove Window in the column's toolbar
  • Click on (or otherwise give focus to) your window to embed it into the program
  • You can un-embed a window later by pressing the Insert/Remove button again.
  • If you need to take a closer look at a column, you can press on Expand to show it in an individual view.
    Clicking outside of the window will return to regular view.
  • Columns can be re-arranged or removed using a drop-down menu near the column name.
  • The same menu can be used to change the name and icon of a column.
  • Text fields inside the column header allows you to change column widths (in pixels).
  • Crop menu allows you to change how much will be subtracted from each side of the window (typically to remove window frames).

DeckLightbox (optional)

This little browser extension replaces the default image viewer on Twitter/Cohost/Mastodon with a fancier one than can be panned around and zoomed.

It also tells the tool (by sending an HTTP request) to expand the column when opening the image viewer and to collapse it when closing the image viewer.

This allows the dashboard to behave as if the columns aren't self-contained, which feels very nice.

How to install

Note: If you are using Mastodon, you'll have to edit manifest.json to include your domain(s) - the default is just the mastodon.gamedev.place.

Enable "developer mode" at chrome://extensions/ and "load unpacked" the DeckLightbox directory from the repo.

Firefox considers the extension to be corrupt but this might be a fixable oversight.

Caveats

  • Some rendering (most notably custom window frames in browsers) gets glitchy while dragging them inside the tool.
  • Giving focus to an embedded window window deactivates the tool window, which is technically correct but looks weird.
  • The window does not auto-detect being maximized/restored, but you can press "refresh" button on the left.

Alternatives

Vivaldi's tab tiling can display multiple tabs in a column/row/grid view, though without ability to scroll through them or quickly expand a section.

On Electron

This could be achieved using BrowserWindow.addBrowserView in Electron, but that's both less flexible than utilizing an existing browser and may considered suspicious by websites themselves.

Meta

Author: YellowAfterlife
License: GPLv3

Special thanks

  • Spitfire_x86 for contributing a snippet to auto-crop standard window borders.

deck's People

Contributors

yellowafterlife avatar spitfirex86 avatar thumperward 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.