Giter VIP home page Giter VIP logo

zen-mode's Introduction

Zen Mode

Zen Mode is a website which allows you to format individual websites or individual youtube videos into a high level view, and then share the link with your friends. Currently this is limited to youtube videos, but I am working on adding support for more video sites and entire websites.

This project basically ties together: an Astro static site, user selected flexbox properties, and user selected iframes paths.

Screenshot of Zen Mode

Why

Sometimes I find myself at my computer monitor trying to manage multiple sites or video streams in different tabs. I wanted to create a website which would allow me to format the iframe sites into a single window, and then share the link with my friends.

Use Cases

Here are a few use cases I can think of:

  • Breaking news: You want to watch multiple videos and fullscreen the one that is most interesting to you.
  • Monitoring: You want to monitor multiple live streams like Train Cam footage, or a live stream of a city?
  • Collaborative Coding: An open window in an online IDE, docs site, and live preview.
  • Sharing: You want to share a URL of multiple videos with your friends? Zen mode lets you do that!

Note

  • Not all sites are supported. If you find a site that is not supported, please open an issue and I will try to add support for it.
  • Autoplay is currently disabled in Safari and iOS. I am working on a solution to this problem.

Star and watch the repo to get updates on new features!

How to use

  • Go to the website: https://zen-mode.vercel.app/
  • If it is your first time here, click add videos to get started
  • Enter the URL of the website or video you want to display
  • Set the number of Rows you want
  • Set the number of Columns you want
  • The URL will update with your row and column count, as well as your video paths for easy sharing. This URL will likely be pretty long, so use a service like tinyurl to shorten it.

How to run locally

This site uses Astro, a static site generator. To run locally, you will need to install the dependencies and run the dev server.

  1. Clone or download the repo
  2. Install dependencies: npm install
  3. Run the dev server: npm run dev
  4. Open the site in your browser: http://localhost:3000

Other Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro --help Get help using the Astro CLI

Want to learn more?

Feel free to check the Astro documentation or jump into their Discord server.

How to deploy

I deploy using Vercel. To deploy, you will need to create a Vercel account and link it to your GitHub account. Then, you can deploy the site by adding the repo as a new project and clicking the "Deploy" button below.

Deploy with Vercel

Main technologies used

zen-mode's People

Contributors

astrobot-houston avatar leabs avatar

Stargazers

 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.