Hey guys,
I hope that you all are good and safe
I made something with editImage node, it’s not anyhow amazing, I would actually call it a bit silly, but I am proud of this.
It get your IP location, ask about weather and generate image for you, you can check this out here .
If you have some suggestions to improve this, do not hesitate
Workflow
Add you discord webhook if you want
Warm,
Simon
8 إعجابات
jan
27 فبراير 2022، 9:51م
2
That is great. Works perfectly. Thanks a lot for sharing with the community!
إعجاب واحد (1)
Works like a charm!
Thanks for sharing, such project always open my eyes to cool new ways I can use n8n
إعجاب واحد (1)
Hey Hey! I use n8n Desktop Mac and wondering why i might be getting this error?
I love this and would like to add it to my Slack-PABot that im building
jan
13 مارس 2022، 8:19ص
7
The Edit Image Node could sadly for technical reasons not be supported in the Desktop version and had so get removed.
إعجاب واحد (1)
Oh well, looks like ill just have to go create a hosted version ahaha cheers @jan
إعجاب واحد (1)
Hey @jan - is the edit image on the roadmap for desktop?
jan
15 مارس 2022، 11:13ص
10
Sadly not. Not sure how much work it would be to make it work but considering the current resources we have, is it sadly now priority right now.
إعجاب واحد (1)
jan
21 أبريل 2022، 12:19م
11
Just fyi @jamesb created this great post about enabling the node in the desktop version:
Welcome to the community @jamesb and thanks a lot for sharing this!
إعجابَين (2)
onufry
26 فبراير 2024، 10:55م
12
I replaced a function node with a code one and create a code with a time function:
return items.map(item => {
const timezone = item.json.timezone / 3600; // Przeliczanie strefy czasowej na godziny
const timezoneSign = timezone >= 0 ? "+" : "-";
const formattedTimezone = `UTC${timezoneSign}${Math.abs(timezone)}H`;
// Time, sunrise and sunset conversion and formatting
item.json.additionals = {
"time": DateTime.fromSeconds(item.json.dt).plus({seconds: item.json.timezone}).toFormat('LLL dd, yyyy HH:mm') + " " + formattedTimezone,
"sunset": DateTime.fromSeconds(item.json.sys.sunset).plus({seconds: item.json.timezone}).toFormat('LLL dd, yyyy HH:mm') + " " + formattedTimezone,
"sunrise": DateTime.fromSeconds(item.json.sys.sunrise).plus({seconds: item.json.timezone}).toFormat('LLL dd, yyyy HH:mm') + " " + formattedTimezone,
};
return item;
});
إعجاب واحد (1)