TrailBase v0.12.0 offers a fast, simple, and open-source alternative to Firebase. This release focuses on performance improvements, particularly in data synchronization and filtering, leading to a significantly faster user experience. Key features include real-time data synchronization, offline capabilities, flexible data modeling, and easy integration with JavaScript frameworks like React, Vue, and Svelte. TrailBase aims to provide a developer-friendly experience with a straightforward API and minimal boilerplate code, making it suitable for a variety of applications, from simple prototypes to complex real-time systems.
Bknd is a new open-source backend-as-a-service (BaaS) designed as a Firebase alternative that seamlessly integrates into any React project. It aims to simplify backend development by providing essential features like a database, file storage, user authentication, and serverless functions, all accessible directly through a JavaScript API. Unlike Firebase, Bknd allows for self-hosting and offers more control over data and infrastructure. It uses a local-first approach, enabling offline functionality, and features an embedded database powered by SQLite. Developers can use familiar React components and hooks to interact with the backend, streamlining the development process and minimizing boilerplate code.
HN users discussed Bknd's potential as a Firebase alternative, focusing on its self-hosting capability as a key differentiator. Some expressed concerns about vendor lock-in with Firebase and appreciated Bknd's approach. Others questioned the need for another backend-as-a-service (BaaS) and its viability against established players. Several users inquired about specific features, such as database options and pricing, while also comparing it to Supabase and Parse. The overall sentiment leaned towards cautious interest, with users acknowledging the appeal of self-hosting but seeking more information to assess Bknd's true value proposition. A few comments also touched upon the complexity of setting up and maintaining a self-hosted backend, even with tools like Bknd.
Summary of Comments ( 7 )
https://news.ycombinator.com/item?id=44087687
HN users generally express interest in Trailbase, praising its speed, simplicity, and open-source nature as a compelling alternative to Firebase. Several commenters question its scalability and production-readiness, highlighting the importance of robust documentation and community support for wider adoption. Some discuss specific technical aspects, including the choice of Go and SQLite, expressing curiosity about performance benchmarks and potential limitations compared to other databases. Others draw parallels to Supabase, noting Trailbase's more minimalist approach. The lack of authentication features is mentioned as a current drawback. Overall, the sentiment is positive, but cautious, with many eager to see how the project evolves.
The Hacker News post titled "Fast, Simple and Open Firebase Alternative: TrailBase" sparked a discussion with several interesting comments.
Several commenters expressed interest and excitement about the project, praising its open-source nature and potential as a Firebase alternative. Some appreciated the simplicity and speed highlighted in the title. One commenter specifically mentioned liking the choice of using SQLite, citing its robustness and portability.
The licensing of TrailBase, using the Business Source License (BSL) version 1.1, generated considerable discussion. Several users debated the implications of the BSL, with some expressing concerns about its restrictions on commercial use without paying for a commercial license after a certain revenue threshold. Others questioned the suitability of the BSL for an open-source project and compared it to the AGPL license. This led to a detailed discussion about the nuances of open-source licensing and the potential impact on adoption and community contributions. One user even suggested that the BSL might hinder the project's growth and adoption compared to a more permissive license like the MIT or Apache license.
Technical aspects of TrailBase also came under scrutiny. Some commenters inquired about the project's security model and how it handles authentication and authorization. Performance and scalability were also mentioned, with users asking about benchmarks and the potential for handling large datasets. The choice of using Cloudflare Workers and the potential vendor lock-in this might introduce was also brought up.
There were also discussions about the project's scope and features. One commenter wondered whether TrailBase aimed to be a full Firebase replacement or focused on specific aspects. Another user asked about support for offline functionality, a crucial feature for many mobile applications.
Finally, some comments focused on the developer experience. Questions were raised about the ease of use, documentation, and the availability of client libraries for different platforms. One commenter even volunteered to contribute to the project by writing a JavaScript client library.