Vals using cronstrue
CronGPT
This is a minisite to help you create cron expressions, particularly for crons on Val Town. It was inspired by Cron Prompt, but also does the timezone conversion from wherever you are to UTC (typically the server timezone).
Tech
- Hono for routing (
GET /
andPOST /compile
.) - Hono JSX
- HTML (probably overcomplicates things; should remove)
- @stevekrouse/openai, which is a light wrapper around @std/openai
TODO
- simplify by removing HTMX (try doing the form as a GET request, manual JS script, or client side react)
- make the timezone picker better (fewer options, searchable)
- add a copy button?
CronGPT
This is a minisite to help you create cron expressions, particularly for crons on Val Town. It was inspired by Cron Prompt, but also does the timezone conversion from wherever you are to UTC (typically the server timezone).
Tech
- Hono for routing (
GET /
andPOST /compile
.) - Hono JSX
- HTML (probably overcomplicates things; should remove)
- @stevekrouse/openai, which is a light wrapper around @std/openai
Doesn't seem to work on val.town, should work in principle
CronGPT
This is a minisite to help you create cron expressions, particularly for crons on Val Town. It was inspired by Cron Prompt, but also does the timezone conversion from wherever you are to UTC (typically the server timezone).
Tech
- Hono for routing (
GET /
andPOST /compile
.) - Hono JSX
- HTMX (probably overcomplicates things; should remove)
- @stevekrouse/openai, which is a light wrapper around @std/openai
I'm finding HTMX a bit overpowered for this, so I have two experimental forks without it:
- Vanilla client-side JavaScript: @stevekrouse/cron_client_side_script_fork
- Client-side ReactJS (no SSR): @stevekrouse/cron_client_react_fork
I think (2) Client-side React without any SSR is the simplest architecture. Maybe will move to that.