A small helpdesk system: an office Pixel running a patched GrapheneOS Dialer answers technician calls, records both call legs as separate channels, and a Ruby backend transcribes them through Whisper and files an AI summary against the caller. Squashed to a single commit for sharing. No credentials are included; secrets live outside the repo in /etc/helpdesk/env on the server or a gitignored .claude/env.local locally. See .claude/env.local.example for the shape. Start at README.md, then docs/architecture.md.
19 lines
999 B
Ruby
19 lines
999 B
Ruby
# frozen_string_literal: true
|
|
# Dependency manifest for the Helpdesk backend's PostgreSQL layer.
|
|
#
|
|
# The app is intentionally near-zero-gem (stdlib + WEBrick + Net::HTTP) and is launched with plain
|
|
# `ruby components/backend/server.rb` — no bundler required for local dev, where the two gems below are
|
|
# already present via `gem install --user-install`. The versions are ALSO pinned at the require site in
|
|
# lib/helpdesk/pg_store.rb, so they are enforced on every boot whether or not bundler is used.
|
|
#
|
|
# This Gemfile exists so a server deploy can get a reproducible install with:
|
|
# gem install bundler && bundle install
|
|
# (or `gem install pg -v 1.5.9 sequel -v 5.106.0` without bundler at all).
|
|
#
|
|
# Only loaded when HELPDESK_DATABASE_URL is set (PgStore path); the JSON-store fallback needs neither gem.
|
|
source "https://rubygems.org"
|
|
|
|
ruby ">= 3.2"
|
|
|
|
gem "pg", "~> 1.5" # tested on 1.5.9 — libpq client
|
|
gem "sequel", "~> 5.106" # tested on 5.106.0 — threaded connection pool + pg_json
|