A Frankenstein project to try out a bunch of interesting technologies at once.
This is a AI chatbot powered by Google Generative AI API where you can upload a PDF file as the bots context and chat with it to extract information the file.
- Deno: Backend runtime for secure and modern JavaScript/TypeScript development.
- Hono: Lightweight web framework for creating HTTP and WebSocket endpoints.
- HTMX: For building an interactive frontend with minimal JavaScript.
- Tailwind CSS: For styling the user interface efficiently.
Due to deno deploy not allowing disk access to store the uploaded files, the context is stored in memory. Thats why I had to limit the application to only accepting files up to 50kb and only 5 concurrent chat sessions to avoid crashes.
The application is deployed at Deno deploy.