Nextcloud app jocor_aichat — part of cloud.jo-cor.com
  • PHP 65.8%
  • Vue 13.3%
  • CSS 11.9%
  • JavaScript 9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
root 18db2927e2 README: keep connection details out of the public page
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 19:51:18 +02:00
appinfo Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
css Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
img Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
js Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
lib Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
src Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
templates Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
tests Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
.gitignore Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
DEPLOY.md Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
package-lock.json Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
package.json Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00
README.md README: keep connection details out of the public page 2026-09-14 19:51:18 +02:00
vite.config.js Import jocor_aichat 1.6.5 exactly as live on cloud.jo-cor.com 2026-09-14 18:39:28 +02:00

AI Chat

Chat interface for multiple LLMs with live token and cost transparency

Modern chat interface for the models exposed by the aichat-mcp gateway.

  • Conversation sidebar with search over the full history
  • Model picker in the active chat, showing price and context window per model
  • Live token counter and estimated cost, per conversation and per day
  • Admin dashboard for global token usage, cumulative cost, and usage per user/model

Accounting design:

  • Prices are versioned. A price change opens a new tariff row; historic rows are never rewritten, so old invoices stay reproducible.
  • USD to EUR uses a static rate held in app config and written onto every ledger row, so correcting the rate never moves historic figures.
  • The usage ledger is permanent. Chat history is subject to retention (default 365 days, per-user opt-out); the ledger is only detached, never deleted.
  • Admins see cost aggregates only. No endpoint exposes message content to admins.
Nextcloud app id jocor_aichat
Version 1.6.5
Nextcloud 3034
Licence AGPL-3.0-or-later

See it running

It runs on cloud.jo-cor.com. Ask Jo for an account (or register at cloud.jo-cor.com/apps/registration and wait for approval).

Run it on your own Nextcloud

cd /path/to/nextcloud/custom_apps
git clone https://git.jo-cor.com/jocor/nextcloud-jocor_aichat.git jocor_aichat
sudo -u www-data php ../occ app:enable jocor_aichat

The built JavaScript in js/ is committed, so it runs as cloned. Only when you change the sources:

npm ci && npm run build

Contribute

  1. Sign in at git.jo-cor.com with Sign in with jo-cor-cloud (your cloud.jo-cor.com account).
  2. Fork this repository, make your change on a branch, and open a pull request.

Invited contributors can also push over SSH; the connection details come with the invite.

Changes reach cloud.jo-cor.com only after review: the live server deploys from git, never from hand edits.