Skip to content

kafkas/typesync

Repository files navigation

Autogenerate Firestore model types for all platforms


PRs welcome! Typesync CLI is released under the AGPL-3.0-only license.

Typesync is an open-source schema management tool that simplifies managing Firestore databases. Typesync allows you to maintain a single source of truth for your Firestore architecture in a special schema. With this schema in place, you can seamlessly auto-generate type definitions for multiple platforms like TypeScript, Swift, Python, and more using the CLI tool.

Typesync keeps your database and application code consistent and up-to-date at all times. In addition to type definitions, it lets you generate other useful things like Security Rules, Mermaid graphs visualizing your database architecture and documentation for your data models.

View the full documentation (docs) ▸

header

Documentation

Explore our comprehensive documentation for detailed guides, usage examples, and additional resources. It covers everything from the basics to more advanced topics:

  • Introduction: Learn what Typesync is and its core features.
  • Installation: Instructions on how to install the Typesync CLI.
  • Quickstart: Get up and running with Typesync quickly.
  • Upgrading: Guidelines on upgrading to the latest version of the CLI.
  • Types: Details on the types supported by Typesync’s type system.

License

This project is made available under the AGPL-3.0 License.