Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
chocolate-bars
Advanced tools
Present histograms (bars!) of images in a directory, including extras such as exif data from the camera.
Present histograms (bars!) of images in a directory, including extras such as exif data from the camera. Star and move favorite images.
Electron based app - so, it runs on node.js.
chocolate-bars is stable on Windows, Linux Ubuntu (Mac is possible but not tested). Releases follow semantic versioning.
Histograms are useful for finding image defects such as:
Also was curious how to implement this in node.js. And - I really miss the 'moved starred images' feature of good ole' Picasa
We use sharp
to resize images during processing. sharp
requires
node-gyp to build, so you will need to
install
Microsoft's windows-build-tools
using this command:
npm install --global --production windows-build-tools
You can run chocolate-bars
in one of two ways:
npm i -g electron@4
npm i -g chocolate-bars@latest --production
note: on Ubuntu you may need to prefix the above commands with sudo
:
sudo npm i -g electron@4
sudo npm i -g chocolate-bars@latest --production
To use:
chocolate-bars [--imageDir=<path to image directory>] [--subDirs]
where --subDirs
means also view images in sub directories.
This can be abbreviated to:
chocolate-bars [--i=<path to image directory>] [--s]
note: If --imageDir
(or --i
) is not given, then chocolate-bars
will try to open the default photos folder, depending on the OS.
For a full list of options, see the built-in help:
chocolate-bars --help
yarn
On Windows: use a bash shell like git bash
.
To test your installation:
./test.sh
To check your images:
./go.sh --imageDir=<path to image direcory>
example:
./go.sh --imageDir=../myPhotos --subDirs
where --subDirs
means also view images in sub directories.
For a full list of options, see the built-in help:
./go.sh --help
A number of keyboard shortcuts are available:
Area | Key | Action |
---|---|---|
Images panel | Up Arrow, Down Arrow | Scroll up or down the set of images. |
Images panel | Space | Scroll down the set of images. |
Selected image, Expanded image* | + | Toggle the expanded view of the image. |
Selected image, Expanded image* | * or Enter | Toggle the star for that image. |
Expanded image* | Left Arrow | Show the previous image. |
Expanded image* | Right Arrow | Show the next image. |
Expanded image* | Delete | Prompt to delete the expanded image. |
Expanded image* | Escape | Close the expanded image. |
* An image is expanded by clicking on the small orange box in the top-right of the image.
http://regex.info/blog/photo-tech/color-spaces-page2
http://exif.regex.info/exif.cgi
https://github.com/electron/electron-quick-start
https://github.com/iRath96/electron-react-typescript-boilerplate
https://github.com/electron-react-boilerplate/electron-react-boilerplate
site | URL |
---|---|
source code (github) | https://github.com/mrseanryan/chocolate-bars |
github page | https://mrseanryan.github.io/chocolate-bars/ |
npm | https://www.npmjs.com/package/chocolate-bars |
see the contributing readme.
This project is based on the excellent seeder project typescript-library-starter.
chocolate-bars uses the ExifReader library.
Original work by Sean Ryan - mr.sean.ryan(at gmail.com)
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Present histograms (bars!) of images in a directory, including extras such as exif data from the camera.
The npm package chocolate-bars receives a total of 65 weekly downloads. As such, chocolate-bars popularity was classified as not popular.
We found that chocolate-bars demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.