Project Description

After I start to do photography, I created a website as gallery to show my good photos (), I don't want to host such a gallery on my own server because it's only some static images, and GitHub pages is perfect for it. But a easy to use way to submit photos and re-generate the webpage is needed. Currently I write a Telegram bot to do this, it is strange but useful, I don't need to write a whole CMS by hand, just listen to Telegram messages and call the render script.

But then I find I only do RAW development on computer, and all my photos are accessible on my computer, why not make a CLI tool to replace the Telegram bot?

Goal for this Hackweek

Write a CLI tool in Node.js (because my render script is written in Node.js, and I am familiar with it). It should get needed info from CLI arguments, and if required info is missing in arguments, use a prompt to ask user to provide it, and then call the render script.

Resources

  • My gallery website source:
  • My image collector bot:

Looking for hackers with the skills:

nodejs photography web

This project is part of:

Hack Week 23

Activity

  • about 2 years ago: dfaggioli liked this project.
  • about 2 years ago: epaolantonio liked this project.
  • about 2 years ago: mfranc liked this project.
  • about 2 years ago: AZhou started this project.
  • about 2 years ago: AZhou added keyword "nodejs" to this project.
  • about 2 years ago: AZhou added keyword "photography" to this project.
  • about 2 years ago: AZhou added keyword "web" to this project.
  • about 2 years ago: AZhou originated this project.

  • Comments

    • AZhou
      about 2 years ago by AZhou | Reply

      I've finished my command line tool for this: .

      Welcome to my gallery: !

      I'll try to refactor my telegram bot when I have time.

    Similar Projects

    Kudos aka openSUSE Recognition Platform by lkocman

    Description

    Relevant blog post at news-o-o

    I started the Kudos application shortly after Leap 16.0 to create a simple, friendly way to recognize people for their work and contributions to openSUSE. There’s so much more to our community than just submitting requests in OBS or gitea we have translations (not only in Weblate), wiki edits, forum and social media moderation, infrastructure maintenance, booth participation, talks, manual testing, openQA test suites, and more!

    Goals

    • Kudos under github.com/openSUSE/kudos with build previews aka netlify

    • Have a kudos.opensuse.org instance running in production

    • Build an easy-to-contribute recognition platform for the openSUSE community a place where everyone can send and receive appreciation for their work, across all areas of contribution.

    • In the future, we could even explore reward options such as vouchers for t-shirts or other community swag, small tokens of appreciation to make recognition more tangible.

    Resources

    (Do not create new badge requests during hackweek, unless you'll make the badge during hackweek)


    Image ranker via click-to-choose using locally running UI by jeremy_moffitt

    Description

    Create an locally deployable application that allows the user to repeatedly choose between two images from a set to rank them over the course of multiple comparisons. The image set should be loadable from a local file folder the user specifies, then the program displays 2 images at a time to the user who selects their preferred image, random comparisons continue until the user decides they are done, or some threshold for comparisons is met (for example, all images except 1 have "lost" 5 times). The resulting stack sort is available to the user. As a stretch goal the images could be renamed or copy+rename based on the results. Additional stretch goal would be to sort images from a library of URLs (or perhaps a flickr stream). An unlikely but ambitious additional stretch goal is to filter out blurry images using some sort of AI plugin.

    Goals

    Provide an easily deployable interface in either golang or python (TBD) that supports easy image searching.
    Expand the pool of possible image imports over time.
    Opportunistically add AI filtering of images based on sharpness or other features.
    Application runs on OpenSUSE (stretch goal to also test on Windows)

    Resources

    Expectation is user can run this on a local machine. This is also meant as a learning project for freesimplegui and image understanding with Gemini
    https://freesimplegui.readthedocs.io/en/latest/ https://ai.google.dev/gemini-api/docs/quickstart
    https://ai.google.dev/gemini-api/docs/image-understanding

    This could be used for sorting a large number of photos for quality/artistic purposes. This could also be used to rank the things that the photos/pictures represent, say ranking world wonders or food items or marvel movies.

    Completed

    • Add selector between view mode (1 picture shown, readonly driven by left side list) and vote mode (shows 2 photos click to vote)
    • Track voting results
    • Persist voting results on local disk (use directory path as key)
    • re-sort list by win percentage as votes are cast
    • localization support (English and Portuguese implemented)
    • exif data display in view only mode
    • export results to csv
    • ask Gemini to vote
    • ask Gemini to evaluate a single photo