Show HN: Lychee — Self-hosted photo-management done right
lychee.electerious.com
lychee.electerious.com
Please keep it open source but make it paid (libre but not free as in free beer), so you can develop more features.
Thanks for sharing.
On a side note, I'd donate 100 bucks for a Lightroom Sync Plugin any minute.
Another request - I love the free flow, tiled display of images a la Flickr photostream - any chance that could be an option?
Otherwise, great job! - I was pleasently surprised at the quality of this applications.
1) Is there any kind of RAW file support? 2) Does the software de-duplicate uploaded images?
My gallery is still up, but the last time I updated it was apparently in 2011. There was a android client that came out that I had tried, but it didn't really work that well. I still backup photos from my phone to my computer and NAS, but couldn't be motivated to go beyond that.
I've looked at times to improve this situation. I much prefer to have my photos self-hosted. I haven't really found a gallery type program that worked as well as Menalto Gallery, but Lychee looks like it's a good contender. I also like that it can share out to other services.
At first I was thinking that since this doesn't have an android client, it would fall into the same disuse as my Gallery installation. But I noticed that it could read from an uploads folder and you could essentially ftp upload to the server. This made me wonder if one could just have an auto-upload (scp/sftp or otherwise) to a server.
I found a couple apps that do this, but [Auto-Share](https://play.google.com/store/apps/details?id=com.dngames.au...) looks the most polished. So I can see this working out.
tl;dr Looks like a great photo manager, love the option to share out to other service. There may be some Android Apps to automatically upload, even if it's not natively supported in Lychee.
Second thing I noticed is there doesn't seem to be support for sub-albums. I guess this isn't necessarily a deal killer, but I had a system of organizing albums in YEAR/MM type albums. If there was a lot of photos or an event, that would be a sub-album within the month it took place. If a single event took place between months (New Year's Eve party) I just handled that on a case by case basis.
Multi-select is planned.
Used FolderSync Lite[1] for Android. Syncs via ssh to my desktop (linux) every hour, but only when on the home wi-fi. I also sync deletions so moving them from the folder on the desktop removes them from the phone as well.
[1] https://play.google.com/store/search?q=foldersync%20lite
Can't I write whatever username and password I want? Should I create the database before hand?
> https://github.com/electerious/Lychee/blob/master/docs/md/In.... I don't think this is ok
It looks like they intend everything to be in the webroot, which is a problem in and of itself. Setting everything in the uploads folder to be executable without any .htaccess directives to prevent that seems like a potential issue. If they're not validating images (properly) or sandboxing uploads, or thinking about mitigating directory traversal attacks, then there could be issues with remote code execution.
The folder names are underscore delimited column data. E.g. "alaska-cruise-2013_2013-07-27_5th Anniversary Alaska Cruise_critters,cruise,hiking,juliet,travel" => "alaska-cruise-2013" is the permalink, 2013-07-27 is the start date, "5th Anniversary Alaska Cruise" is the gallery title, and the rest of the comma-separated words are tags for filtering, e.g. http://chir.ag/gallery/tag/cruise. I have a few local scripts to resize the raw photos and rsync everything with the server.
It's really not complicated code. Pretty simple stuff that anyone with half a year of coding experience can build. I have been taking and sharing photos on my 'blog since late 2001. I have tried many, many things over time and finally settled on the current method. While my gallery looks/works very simply, it has taken years to refine this exact strategy. I LOVE the Boston Big Picture view and always wanted that. But I also like the thumbnails to jump. I love clicking on the left/right of a pic to advance but I also like to scroll up/down if needed. Sorting gallery by name vs. date, filtering similar albums by tags, and of course captioning without using a text file or DB were things I always wanted but didn't want to deal with a complicated system. I re-did my gallery after our Alaska trip and have been very happy ever since.
The ability to tag photos and a commenting system would make it just perfect. Maybe an RSS feed for photos and comments, too?
You should use mysqli prepared statements though, after a quick glance over the code I can't quite shake the feeling that there might be some sql injections lurking.
Providing this tool for free is a cost to you.
Sure, allow a certain number of photos free of charge and charge for more.
if you buy something, people expect someone to be responsible for the product. This mean you got to spend time on providing service, or it get defined by most people as a cash grab.
Great software anyways! Thanks!
Why be more imaginative? It sounds a pretty simple offering to me, and is highly transparent.
A hosted variant isn't a bad idea (I was going to ask if there were recipes for EC2, Docker etc... some people might want to "self" host on a machine they control) but it's more "value added" than the original codebase.
Awesome!
1. How does it deal with mixed landscape and portrait images?
2. Is preloading the next image possible?
3. Scrollbars are appearing, I can't work out why, e.g. on http://electerious.com/lychee_demo/#3/13901681813613
2. Nope. Not at the moment.
3. Does this happen only sometimes or always? Which browser and OS are you using?
I'm going to toy around a bit with it and if I like the API I may hack together something to automatically upload new pictures from iOS devices :)
Thanks for doing this!
BTW, why did you name it Lychee?