hortusfox-web icon indicating copy to clipboard operation
hortusfox-web copied to clipboard

[Feature request] Add plant database

Open InputObject2 opened this issue 1 year ago • 11 comments

Have a sort of plant "database" where a user can select via search the type of plant when adding one.

For example, if I'm planting "blueberries" i'd like to be able to pick it from a list.

This would be a separate field from the 'name'.

The idea behind this is that it would be a first step towards adding a community-maintained database of plants and best practices that could tie in with cronjobs and give tips about soil composition and watering amounts.

InputObject2 avatar Jan 25 '24 15:01 InputObject2

Perhaps Plantbook would be the way to go for automating identification. I suppose this would be it's own issue if of interest.

https://plantbook.io/developers/

sunjam avatar Jan 26 '24 18:01 sunjam

That sounds very interesting!

If we'd choose a community based plant info database then we could use the hortusfox.com homepage or, as @sunjam suggested, a third party service.

The former would require extra work and strong participation I guess. The latter one would be easier. I'll check out plantbook and other services and then compare them.

danielbrendel avatar Jan 27 '24 00:01 danielbrendel

You could use http://trefle.io/ and the users only need to add their token on profile page of the application

nykroy avatar Jan 29 '24 21:01 nykroy

You could use http://trefle.io/ and the users only need to add their token on profile page of the application

As of my recent knowledge according to a Twitter post, Trefle did shut down their service, didn't they?

danielbrendel avatar Jan 29 '24 23:01 danielbrendel

I use trefle with plant-it without problem

nykroy avatar Feb 03 '24 15:02 nykroy

Seems trefle changed sponsors, but is back in full swing according to https://trefle.io/

sunjam avatar Feb 03 '24 20:02 sunjam

My suggestion, as someone with a wife who loves plants and me being a big self-hoster, would be to add a setting where I could add my API key, or maybe bake it into the docker file and then whichever tool I use, I can have my own account and have it pull the data. I don't mind storing it locally as well, so as long as something like trefle or plantbook don't update the information after the fact much, then I can grab those on plant creation and just leave it local.

If those APIs do update, then maybe have a setting to try and grab more information at a given interval, so I could do mine every night or once a week.

These are just my two-cents, I'd love a tool like this to replace some monthly payments on my wife's part, and it's always fun to set things up!

ThomasLewis1028 avatar Feb 09 '24 01:02 ThomasLewis1028

Seems Trefle is abandoned.

  • Sign up doesn't work, so I can't get an API key (I tried it multiple times)
  • Issues are not answered
  • Last commit is about two years ago

If anyone knows an alternative, please let me know. But for now this issue is postponed.

danielbrendel avatar Apr 29 '24 20:04 danielbrendel

https://perenual.com/plant-database-search-guide this seems to have some usable data and an API. https://garden.org/thread/view/59962/Database-APIs/ maybe the owner of this website can be persuaded to sponsor HortusFox with data. His e-mail is in the linked forum thread.

RJSkudra avatar May 27 '24 23:05 RJSkudra

There's also plantnet: https://github.com/plantnet

Also Trefle on their website:

Trefle is coming back !
Trefle is currently being restored, and is now backed by [Mashum](https://mashum.org/)

KalyaSc avatar Jun 06 '24 07:06 KalyaSc

@KalyaSc Trefle seems to not be so active anymore. Your quoted text has been on the website since after they repurchased/paid for the domain in March 2023 (https://web.archive.org/web/20230323143127/http://trefle.io/). Their repo also seems to not have any action for a few years, but I was able to get their API token.

RJSkudra avatar Jun 06 '24 10:06 RJSkudra

I'm closing this now, since it seems there won't be any comparable service in the forseeable future. If that ever changes, I'll gladly re-open this issue.

danielbrendel avatar Sep 23 '24 13:09 danielbrendel