-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
45 lines (45 loc) · 1.74 KB
/
Copy pathrequirements.txt
File metadata and controls
45 lines (45 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# openSynapse — system and toolchain requirements
#
# Go toolchain (all surfaces)
# ───────────────────────────
# Go >= 1.22 with CGO enabled
# CGO is required by:
# - github.com/mattn/go-sqlite3 (SQLite)
# - github.com/smacker/go-tree-sitter (AST parsing)
#
# Linux system libraries for go-sqlite3 / Tree-sitter:
# gcc or clang
#
# Desktop GUI (cmd/gui) — additional system requirements
# ───────────────────────────────────────────────────────
# Linux:
# libgtk-3-dev
# libwebkit2gtk-4.0-dev (Ubuntu/Debian: libwebkit2gtk-4.1-dev on 24.04+)
# pkg-config
#
# macOS:
# Xcode Command Line Tools (provides WebKit)
#
# Windows:
# WebView2 runtime (bundled automatically by wails build)
# gcc via tdm-gcc or mingw-w64 (for CGO)
#
# Wails v2 CLI (for building / developing the GUI):
# go install github.com/wailsapp/wails/v2/cmd/wails@latest
#
# Node.js >= 18 and npm >= 9 (for the Svelte frontend):
# https://nodejs.org
#
# Embedding sidecar (optional — required for semantic search)
# ───────────────────────────────────────────────────────────
# Python >= 3.10
# See internal/vect-embed/requirements.txt for pip packages:
# numpy>=2.0
# onnxruntime>=1.18
# transformers>=4.40
#
# Quick install (Ubuntu/Debian example):
# sudo apt install gcc pkg-config libgtk-3-dev libwebkit2gtk-4.0-dev
# go install github.com/wailsapp/wails/v2/cmd/wails@latest
# cd cmd/gui/frontend && npm install
# cd internal/vect-embed && pip install -r requirements.txt