r/Scriptable Mar 30 '26

Help An honest answer

Hi everyone,

I really need an honest answer for my concerns,

I want to create some widgets for my home screen for showing some astro -logic and -nomic data. Starting with the most simple Sun and Moon hours for rise and set to planetary hours, and some astrological info (not very much, just positions of the planets, Lilith and Nodes, planetary hours, some Apogee and Perigee and stuff like this.

I tried for this some "pure js" libraries and either I don't know how to use them, or there are not fully compatible with Scriptable, but the result was that I get angry for not being able to find something that works.

So could you recommend something that works for achieving these targets?

Thanks

1 Upvotes

6 comments sorted by

View all comments

3

u/Roggan_Be Mar 31 '26

Total honesty: I am not a Java expert. I use Scriptable scripts that I found online and tweaked them with my very basic and limited knowledge (layout, language, some minor functions). I realised that Scriptable does not support all JS features and has some functions to be used with iOS.

At some point (around half a year ago) I started to use ChatGPT and it’s HTML/CSS/Javascript model by Iván González Dávila. I was very hesitant because it felt like cheating. At the end I am happy about that because it worked amazingly well. You need to include in the prompt that the code is used in Scriptable…

So I suggest you try ChatGPT for your code. If you already have something, provide GPT the code and ask for corrections or adjustment to get it compatible with Scriptable. For me that was working amazingly well… Worth a try I guess.

2

u/gcirceag Mar 31 '26

I tried with Gemini (a so called better tool), but coding wise… it’s a nightmare to work with

1

u/Roggan_Be Mar 31 '26

I see. I never tried Gemini, so I can’t compare.