nico.fyi

Open Source

These are some of the open source projects I've worked on that I regularly use in my own projects.

ProjectDescriptionBlog Post
DataQueue.deva lightweight job queue for Node.js/TypeScript projects, backed by PostgreSQL.Introducing DataQueue
use-resettable-action-stateA custom hook to reset the state of useActionState in ReactHow to reset the state of useActionState in React
Bluesky LaterA simple web app to schedule post to BlueskyBluesky later: Schedule Bluesky post in the future for FREE
use-push-routerA custom hook that simplifies modifying the search params in Next.js and navigates to the new URL.
useLocalStorageA type-safe, composable React hook for synchronizing state with localStorage, supporting any serializable value, with cross-tab updates and legacy data migrationBe careful with useSyncExternalStore
simple-i18n-nextA CLI to generate TypeScript code from translation files in JSON format and Markdown files for Next.js projects.Internationalization for Next.js Without Hassle
og-screenshotsA CLI to take screenshots of websites and generate open graph images from your own computer.How to use a page or website screenshot as an Open Graph image
next-secure-downloadA Next.js project to serve a password-protected download link.
env-to-t3CLI to generate T3 Env code from env fileStop using environment variable directly in your TypeScript code