Urgent.News

What's breaking now, across thousands of outlets.

Tech

"I think that I shall never see a poem lovely as a tree": A Fall Foliage App Build

Sometimes you need to touch grass. Other times, you want to commemorate the beautiful Fall foliage that you peep outside your window and create a crowdsourced way for other folks to share their trees too! This app celebrates the second kind of day. Local Leaf is an Astro app that ranks neighborhood tree photos by fall color. It uses Cloudinary for moderated uploads, tags, and predominant-color…

In the autumn season, the vibrant hues of falling leaves transform New England's forests into a breathtaking spectacle. To celebrate this natural phenomenon, a team developed the Local Leaf app, which ranks neighborhood tree photographs based on their fall color. Utilizing Cloudinary for moderated uploads, tags, and predominant-color detection, the app demonstrates how to build it from scratch.

This article will detail the steps involved in creating the app, including adding the Cloudinary upload widget to an Astro app, setting up an upload preset for moderation, storing data as Cloudinary tags and context metadata, reading predominant-color data for each photo, and converting that color data into leaderboard scores for yellow, orange, and crimson trees.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Thursday 22 October →