treyg / synology-photos-memories Goto Github PK
View Code? Open in Web Editor NEWMemories app for synology photos
Memories app for synology photos
Hello,
I'm looking for a script able to reproduce the "remember" facebook feature, for photos stored on a Synology Nas, using Synology photo database and api : each day, display one photo taken exactly X year(s) from the current date.
Your script is what I found the more relevant to what I whish.
It already retrieve photo(s) url for a specific date, I would like to have the following information added to the output :
All this information given on a text file using XML or JSON format.
For my need, the existing mail output part is not usefull.
Unfortunately I can't help the JS scripting part, but if you want help about formatting the output, I will be able to help, by providing samples.
Thanks in advance :)
Hi. I just installed your great docker project according to your guide in readme on my synology.
Trying to access the newly built in Webpage, i get the following error...
Any idea where this comes from or how to fis this?
Thanks in advance
123| </button>
124|
>> 125| <% const uniqueDates = new Set();
126| urlList.forEach(photo => {
127| formattedDate = new Date(photo.date).toLocaleString().split(',')[0]
128| uniqueDates.add(formattedDate);
Cannot read properties of undefined (reading 'forEach')
at eval ("/app/views/home.ejs":13:13)
at home (/app/node_modules/ejs/lib/ejs.js:703:17)
at tryHandleCache (/app/node_modules/ejs/lib/ejs.js:274:36)
at View.exports.renderFile [as engine] (/app/node_modules/ejs/lib/ejs.js:491:10)
at View.render (/app/node_modules/express/lib/view.js:135:8)
at tryRender (/app/node_modules/express/lib/application.js:657:10)
at Function.render (/app/node_modules/express/lib/application.js:609:3)
at ServerResponse.render (/app/node_modules/express/lib/response.js:1039:7)
at file:///app/index.js:207:7
at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ```
I have also problem with authentication, not sure what doing wrong. I do not run it in docker, and it returns me 400 bad request
I'm sure ip address, quick connect id is correct.
when I change ip address to just ip address point to nas from my local network it returns 403 forbidden
Don't you know what I'm doing wrong ?
thank you
This tool is nice. I altered it to my needs (filter by Tags over Search Api - FotoTeam instead of Foto) and it's great.
Would it be possible to add a simple ligtbox-gallery to the webpage so you can slide through the fotos?
Edit: Like this: https://www.npmjs.com/package/simplelightbox
Seems easy enough.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.