Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/riccardoscalco/wiv

WIV is a Web Image Viewer.
https://github.com/riccardoscalco/wiv

browser image-view image-visualizer images svelte

Last synced: about 1 month ago
JSON representation

WIV is a Web Image Viewer.

Awesome Lists containing this project

README

        

**WIV** is a web image viewer. Display local images in your browser at https://wiv.vercel.app/.

Keyboard commands:

* `s` : select new images
* `c` : clear screen
* `t` : toggle image size
* `h` : show help

## Get started

Install the dependencies...

```bash
npm install
```

...then start [Rollup](https://rollupjs.org):

```bash
npm run dev
```

Navigate to [localhost:5000](http://localhost:5000). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`.

## Building and running in production mode

To create an optimised version of the app:

```bash
npm run build
```

You can run the newly built app with `npm run start`.

---

*Wiv is a [Svelte](https://svelte.dev) app.*