Description
Room8 is a hackathon project built at squer. It consists of two parts: room8bun, a Bun HTTP server that handles natural language room booking requests, and room8slack, a Slack bot that provides the interface via the /room8 slash command.
How it works
Users type plain English into Slack, like /room8 book the small conference room Friday at 3pm for an hour. The Slack bot forwards the message to room8bun, which uses a local Ollama LLM to classify intent and extract structured details (time, room, attendees, duration). It then checks real-time availability via the Cobundu booking API, creates the booking, and can sync it to Outlook via Microsoft Graph. If the requested slot is taken, it uses the LLM to suggest alternatives.
Features include recurring bookings (daily, weekly, custom patterns), conflict handling with alternative suggestions, automatic DMs to attendees on booking, and a local SQLite cache for fast list and cancel operations.
Stack
Built on the Bun runtime with TypeScript, using Ollama for local LLM inference, SQLite via Bun's built-in driver, and the Cobundu and Microsoft Graph APIs.