Coder Social home page Coder Social logo

wiringbits / my-photo-timeline Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 8.0 1.01 MB

A simple command-line app to organize your local photos by dates (year/month) on your local file system, for those who don't store photos in the cloud

Home Page: https://wiringbits.net

License: MIT License

Scala 100.00%
graalvm hacktoberfest photos scala

my-photo-timeline's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

my-photo-timeline's Issues

Add some tests to the app

There are some simple functions that could benefit from automated testing, let's add some of those, and make sure to include sbt test on the CI pipeline.

Different output for native image and JVM applications

When the application runs under the JVM, it performs correctly. My images are moved to the organized/ directory. If I run it in its native image, my images are moved to invalid/ directory. I am using GraalVM CE 20.0.0 Java 11 for both in Windows and Linux.

Rename duplicated files properly

The FileOrganizerService#safeMove/FileOrganizerService#safeMove#organizeByDate methods end up renaming duplicated files to IMG.jgp_(1) instead of IMG_(1).jpg.

Create smoke tests to verify the native build

In order to avoid #1 from occurring again, we can create some smoke tests that verify the native build.

It's worth checking this as an example on how to do that.

The goal is to have some test photos, where we can run the native build, and verify they were moved to the proper directories.

Ideally, let's integrate those tests on the circleci pipeline.

FYI Cats Effect Implementation

I took your implementation and added Cats Effect for my own exploration to compare the implementations and implications. You can view them at the repository I have forked from yours.

License of the project?

This project looks real nice, I actually want to use it!

One thing that kinda bugs me a bit is the license; there is no indication of the license (with a license file, a file header, or being specified in build.sbt), in which case, the software is proprietary.

Could the author of the project set a FOSS license, so I can hack on it/run it with peace of mind? ๐Ÿ™

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.