Skip to content

amoshydra/visorium

Repository files navigation

Visorium

An HTTP Media Gallery as an NPM executable (NPX)

Github Repository NPM Version npm bundle size GitHub License

npx visorium

visorium-hero.mp4

Usage

Nagivate to a directory containing images and videos. Then start Visorium:

cd ~/Pictures
npx visorium

open http://localhost:3000 in your browser.

Detail

Visorium collect all images and video files and serves them in a gallery view.

Development

mkdir -p ~/projects/github.com/amoshydra
cd ~/projects/github.com/amoshydra
git clone [email protected]:amoshydra/visorium.git
cd visorium
pnpm i

navigate to a folder containing image and video files

NODE_ENV=development npx ~/projects/github.com/amoshydra/visorium

Building demo app

The demo app is used as a preview in https://amoshydra.github.io/visorium.

Instead of running file server, this demo app shows a list of images and videos from pexels.

VITE_VISORIUM_MODE=demo pnpm build
pnpm preview

About

An HTTP Media Gallery as an NPM execurable (NPX)

Topics

Resources

License

Stars

Watchers

Forks