Jetei, a powerful and dynamic real-time collaborative knowledge base application powered by operational transformation designed to empower teams, communities, and individuals to collect, share, and organize information seamlessly.
✅Real-time collaboration
✅Personalized information organization adapting to your specific needs.
✅Quick information search
-
Nest.js: A progressive Node.js framework for building efficient, scalable, and maintainable server-side applications. Nest.js leverages TypeScript and follows a modular architecture, making it easy to organize and structure the codebase.
-
PostgreSQL A powerful and open-source relational database management system known for its reliability, data integrity, and extensive SQL compliance. PostgreSQL provides robust support for advanced features like transactions, concurrency control, and data replication, making it an excellent choice for storing and managing Jetei's knowledge base data.
-
HTMX A modern, lightweight library that enhances HTML with powerful client-side functionality. HTMX enables Jetei to deliver a seamless and responsive user experience by enabling real-time updates and interactions without the need for traditional page refreshes or complex JavaScript frameworks.
jetei-demo.mp4
To run Jetei locally on your machine, follow these steps:
-
Prerequeistes: Ensure you have Node.js and Docker installed on your machine. If not, you can download them from their official website and follow their installation guide.
-
Clone the Repository: Use the following command to clone the repository to your local machine:
git clone https://github.com/Daniel-Brai/Jetei.git
-
Configure credentials: Navigate to the base directory of the Jetei project, configure the credentials found in the
.env.example
file in a.env
file. -
Run the application: Start up Docker on your local machine and navigate to the base directory of the Jetei. Use the following command to start the application:
-
On Linux or MacOS
chmod +x ./scripts/docker.sh && ./scripts/docker.sh
-
-
Currently, Jetei only supports 2 concurrent users on for the editing of notes to due to the limitations of character wise operational transformation over websockets. Note: An improvement on the conflict resolution (i.e OT Algorithm) on the note editor is planned.
-
Again, Jetei is being rendered from the server as such user experience is not as reactive as I would want it to be. You may ask why not use React.js, Next.js, or Astro. Well I would still need to build an API backend for some services or use a service like Ably for realtime interactions or Upstash for Redis. I would have to deal with seperation between the client and server. I didn't want to deal with all this so I opted from doing everything with the server. Well, the UI will be improved gradually though I would have to write some Javascript.
-
Jetei network payload isn't as optimal as I would like because I have not minified the Javascript yet and done general optimizations yet. Though it clocks under 200ms on my local machine for rendering and a request back to server to render out a data needed for that page but in free cloud environment Note: Since Jetei is still very early, I have still working on some UI smells when involve me writing some Javascript to make the data representable on page.
-
I would need to optimise the database schema by least breaking down tables to a maximum of 3NF, take into account referential integrity contraints, and add indexes wherever necessary.
Contributions are welcome! If you encounter any issues with the app or have new feature suggestions, please open an issue or submit a pull request