{"id":19415966,"url":"https://github.com/ondras/iv","last_synced_at":"2025-10-07T12:01:56.426Z","repository":{"id":146533151,"uuid":"43960682","full_name":"ondras/iv","owner":"ondras","description":"Simple image viewer for nw.js and Electron","archived":false,"fork":false,"pushed_at":"2015-10-19T13:29:21.000Z","size":5300,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-10T12:08:39.793Z","etag":null,"topics":["old"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ondras.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-09T14:30:37.000Z","updated_at":"2020-10-22T09:10:52.000Z","dependencies_parsed_at":"2023-04-10T13:38:34.899Z","dependency_job_id":null,"html_url":"https://github.com/ondras/iv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ondras/iv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fiv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fiv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fiv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fiv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ondras","download_url":"https://codeload.github.com/ondras/iv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondras%2Fiv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278770726,"owners_count":26042828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["old"],"created_at":"2024-11-10T12:45:07.681Z","updated_at":"2025-10-07T12:01:56.403Z","avatar_url":"https://github.com/ondras.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iv\n\nThis project explores features of current Chromium-based UI libraries, namely those of [nw.js](http://nwjs.io/) and [Electron](http://electron.atom.io/).\n\nA sample native application -- a lightweight image viewer -- is implemented using HTML, CSS and JavaScript, leveraging APIs provided by these frameworks. The app can be run using either nw.js or Electron, as there is a very thin compatibility [facade](https://en.wikipedia.org/wiki/Facade_pattern) that allows writing cross-toolkit code.\n\nThe main goal here is to **learn** how to develop a native app using Web technology; nw.js/Electron comparison is a side product.\n\n## Features, planned and implemented\n\n- [x] Fullscreen viewing\n  - [x] Keyboard controls\n  - [x] Mouse magnifier\n  - [ ] Panning\n- [x] Grid-based directory viewing\n  - [ ] Keyboard controls\n  - [ ] Image file info\n  - [ ] EXIF\n- [ ] Filesystem traversal/tree\n- [ ] Clipboard support\n- [ ] Image operations\n  - [ ] File operations (rename, delete, ...)\n  - [ ] Geometry adjustments (rotation, mirroring)\n  - [ ] Pixel adjustments (brightness, desaturation, colorization, blur, ...)\n  - [ ] Saving\n\n## Running\n\n1. Clone this project\n2. `npm install electron-prebuilt` if you want to run it using Electron\n  1. `./run-electron.sh [path-to-image-file]`\n  2. if this fails, adjust your path in the file above\n3. `npm install nw` if you want to run it using nw.js\n  1. `./run-nw.sh [path-to-image-file]`\n  2. if this fails, adjust your path in the file above\n\n## FAQ\n\n#### No ES6/ES2015?\nThere is a limited ES6 support in Electron, but almost none in nw.js. Once nw.js 0.13 (with recent V8) is out, the code will be re-written in ES6.\n\n#### Only one FAQ question?\nNo, two of them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondras%2Fiv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fondras%2Fiv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondras%2Fiv/lists"}