mk0y
Stack: Next.js 16, Tailwind, OpenAI Responses API with native tools support, deployed on Cloudflare Workers.
AI Native Flights Search
Show HN: Grains.js Library for Stateful HTML
I have created Grains.js which helps me manage states in HTML sections without bundling and building. This way I can handle classes, transitions, show/hide states much easier.There are several directives like "g-on" to handle events.It would be great to hear your feedback on this.Library is at https://github.com/mk0y/grains.js.
I made Nodb, an open-source project for app development on top of Postgres
Nodb is an open-source toolkit for building apps using Postgres. It provides an API, retrieval-augmented generation, and real-time CRUD operation subscriptions via HTTP.This project consists of two Github repos:1. NPM package: https://github.com/nearup-io/nodb-js2. Deployable API that NPM package leverages: https://github.com/nearup-io/nodbIn previous launch we used MongoDB Atlas and the...
Show HN: I made Nodb, an app dev toolkit on top of Postgres
Show HN: Farspeak – AI Toolkit for app development
Show HN: Analyse documents to JSON using templates
Show HN: We're making Farspeak for RESTful AI applications
I'm making an open-source API gateway for MongoDB Atlas with vector search
I have already created an API for MongoDB called Nodb, but it was written in Javascript and Fastify and became a nightmare to maintain. I'm rewriting it in Typescript and I'm using Bun.sh with Hono.dev server and it's a pleasure.You can check it out here: https://github.com/nearup-io/nodbIt's far from done, I'm still working on many of the features, but the idea is simple, you get endpoints...
The product is at early stage and I will be adding more texts of all sorts (like disclaimers) and features. Data is truly not shared with anyone, it's in a dedicated server, but it's NOT in an encrypted database for now. It will be when it's developed.
All that is collected from users is their email address, since you can sign up using Google and Github auth only. Behind this auth one can create apps, environments and access tokens. Afterwards, requests to the API are open under access token.
Product is free for now, thus no pricing info at the moment.
Having them in the query params was intended for sharing indeed. I wouldn't expect someone using it on the frontend of course. I might switch to having them in the headers instead, as it was initially like that. Idea was to use the service with minimal requirements.
Tokens can be set as READ_ONLY, these tokens are only meant to be used with GET requests. So you can share the link to use in some other app for example. Again, headers might be better however we can't share them, i.e. simple copy paste.
It works like this, you go to the dashboard on dash.nodb.sh and create apps and environments. Then via API you can create your JSON models.
An API endpoint is split like this /{appName}/{envName}/your-model/:id/you-model/:id/...?token={accessToken} This way you can split your data between environments like "dev" or "prod". And every environment is protected by an access token which is generated by nodb when you create a new environment in the dashboard. Only apps and environments have to be created in the dashboard behind bearer token, but your JSON models are protected by access token, so you can call HTTP requests easily from your code.
I would like someone to share their thoughts on this, whether this would be useful when working on any app, web or mobile, or inside cloud functions. In the docs on docs.nodb.sh is described everything (so far) about the API.
I made nodb, a RESTFful API to store and fetch JSON
By storing JSON items through the API you're actually building your own API, because when you store them (via POST request) you'll create URLs for fetching them as well. I would like someone to try to use it for their side projects and test it for production.
Let me know please your thoughts what you think about this project and what could it have added, adjusted or removed. I have plenty of ideas right now, like joining tables through query params.