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 個讚
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
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?
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 個讚
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 個讚
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 個讚