Skip to main content

6 posts tagged with "build-in-public"

View All Tags

Monetizing TeaQL in Public — Day 4: Renewals, Retries, and Out-of-Order Webhooks

· 8 min read
Philip Z
Architect

A successful first checkout is only the start of a subscription. The next payment has a different transaction ID, arrives without a new user checkout, and may be delivered more than once. An older event can arrive after a newer one.

On Day 3, we connected the shared console to IAM and Billing. Today we add a backend slice: renewing an existing Organization subscription without duplicating access or trusting an Organization ID supplied by the payment payload.

This is local fixture verification, not a real Paddle Sandbox run. Tests use synthetic accounts, signed local HTTP requests, actual TeaQL/SQLite persistence, and a simulated clock. Real Paddle checkout, HTTPS webhook delivery, and payment collection remain unverified. No money was collected.

Monetizing TeaQL in Public — Day 3: Making Billing Visible Without Mixing Permissions

· 8 min read
Philip Z
Architect

A developer can belong to several Organizations, each with different permissions and a different subscription. The console needs to show the right combination while payments and network requests complete asynchronously.

On Day 2, we implemented the Billing API. Today we connected it to our shared TypeScript frontend. Owners can see billing and developer access, Finance can see billing, and Developers can see their Organization's entitlement. Switching Organizations clears the previous view before the next response arrives.

This is still a local fixture demonstration. The screenshots use synthetic accounts, real IAM sessions, and real SQLite persistence. A locally signed fixture supplies the payment event. Real Paddle Sandbox checkout, HTTPS webhook delivery, and GitHub OAuth with a real account have not been exercised in this demo. No real payment was made.

Monetizing TeaQL in Public — Day 2: From Subscriptions to Organization Access

· 8 min read
Philip Z
Architect

A successful payment needs to change the right Organization's access, exactly once. It must also leave the payer's permissions alone: someone handling Finance should not gain access to developer resources simply because a subscription exists.

On Day 1, we built the IAM foundation. Today we added a separate Billing service using TypeScript, TeaQL, Hono, and SQLite. Its first slice connects a server-authorized checkout to a subscription record and an expiring Organization entitlement.

The results in this entry come from local integration tests. IAM authorization, TeaQL persistence, database constraints, and HTTP routing are real. Paddle transaction creation is replaced by a local test adapter, and webhook fixtures are signed locally. Real Paddle Sandbox credentials and an HTTPS callback are still to be configured. This is an API implementation and test report, not a completed Sandbox checkout or a billing UI launch.

TeaQL Business Model

· 8 min read
Philip Z
Architect

People have been asking us on X: What is TeaQL's business model?

The short answer is that all TeaQL runtimes are open source and free. Our Skills and context-control plugins are free too, and our command-line tools are free and open source. You can keep the coding agent you already use.

We also provide an open-source backend service that supports Rust. Our commercial offering supports code generation in eight languages and includes a management console and a developer console. We plan to charge through subscription tiers with different usage allowances, measured by input and output size, and through private deployments on customer-controlled edge hardware.

We have not started charging yet. We are currently building billing, access control, and the management interfaces needed to launch the commercial service. This is the business model we are working toward.

Monetizing TeaQL in Public — Day 1: Models, Queries, and SaaS Isolation

· 23 min read
Philip Z
Architect

We are adding the account, subscription and billing layer that will let TeaQL charge for its developer services. This series follows that monetization work in public, starting with the identity and Organization foundation.

Our first local console can now create an Organization, add members, assign roles, and offer ownership to another member.

That gives us a small, useful piece of a SaaS backend to discuss: identity and access management, or IAM. Before connecting subscriptions or saved models, we need to know who is signed in, which Organization they belong to, and what they may do there.

On Day 0, we proposed that boundary. Today there is a local TypeScript implementation behind the interface. This entry follows the model into database design, Q queries, E expressions, tenant checks and privacy controls you can adapt to your own SaaS.

Monetizing TeaQL in Public — Day 0: Our Own SaaS Backend

· 6 min read
Philip Z
Architect

TeaQL needs an account system of its own. Developers need to manage API keys, review models, and understand their usage. Someone also needs to manage the subscription and explain what changed when a payment arrives.

We are going to build that system with TeaQL, and document the work here. We also want other SaaS builders to take useful pieces into their own products: team models, permission rules, billing workflows, and eventually runnable examples. Each entry should leave you with something you can reuse, even if your backend uses a different framework.

This is Day 0: the starting design and the first scenario we intend to implement. There is no working console demo yet. Future entries will include running examples, the changes that made them work, and the problems we found. The day numbers identify entries in this series; they are not a promise of a daily release.