vivream 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Brain-dump in. Blueprint out.**
4
4
 
5
- A local AI workbench that turns your raw ideas into structured plans — powered by your own Claude Code, Codex, or Agy CLI. No cloud account needed. Completely free.
5
+ A free, local-first AI workbench that turns your raw ideas into structured plans — powered by your own Claude Code, Codex, or Agy CLI. No subscription. No cloud. Everything runs on your machine.
6
6
 
7
7
  [![npm](https://img.shields.io/npm/v/vivream)](https://www.npmjs.com/package/vivream)
8
8
  [![GitHub Sponsors](https://img.shields.io/github/sponsors/AppSoApp?label=Sponsor&logo=githubsponsors)](https://github.com/sponsors/AppSoApp)
@@ -18,22 +18,105 @@ npx vivream
18
18
 
19
19
  Opens automatically at `http://localhost:3001`.
20
20
 
21
+ ---
22
+
21
23
  ## Requirements
22
24
 
23
- - **Node.js ≥ 20**
24
- - One of the following AI runtimes:
25
- - [Claude Code](https://claude.ai/code) (recommended)
26
- - [OpenAI Codex CLI](https://github.com/openai/codex)
27
- - [Agy](https://github.com/antigravityai/agy)
28
- - **Or** enter a BYOK API key inside the app under Settings
25
+ - **Node.js ≥ 20** ([nodejs.org](https://nodejs.org))
26
+ - One AI runtime (pick one):
27
+
28
+ | Runtime | How to get it |
29
+ |---|---|
30
+ | **Claude Code** (recommended) | [claude.ai/code](https://claude.ai/code) |
31
+ | **OpenAI Codex CLI** | `npm install -g @openai/codex` |
32
+ | **Agy** | [antigravity.ai](https://antigravity.ai) |
33
+ | **BYOK API Key** | Enter inside the app under Settings → BYOK |
34
+
35
+ ---
36
+
37
+ ## Installation by OS
38
+
39
+ ### Windows
40
+
41
+ 1. Install Node.js from [nodejs.org](https://nodejs.org) (LTS version)
42
+ 2. Open **PowerShell** or **Command Prompt**
43
+ 3. Run:
44
+ ```
45
+ npx vivream
46
+ ```
47
+ 4. Browser opens automatically at `http://localhost:3001`
48
+
49
+ > If `npx` is not found, restart the terminal after installing Node.js.
50
+
51
+ ### macOS
52
+
53
+ 1. Install Node.js:
54
+ ```bash
55
+ brew install node
56
+ # or download from nodejs.org
57
+ ```
58
+ 2. Open **Terminal** and run:
59
+ ```bash
60
+ npx vivream
61
+ ```
62
+ 3. Browser opens automatically at `http://localhost:3001`
63
+
64
+ ### Linux
65
+
66
+ ```bash
67
+ # Install Node.js 20+ (if not already installed)
68
+ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
69
+ sudo apt-get install -y nodejs
70
+
71
+ # Run Vivream
72
+ npx vivream
73
+ ```
74
+
75
+ ---
29
76
 
30
77
  ## How It Works
31
78
 
32
- 1. Brain-dump your thoughts into the entry box
33
- 2. Let the AI organize them into a structured plan
34
- 3. Save sessions, compare ideas, and generate pitch decks
79
+ 1. **Brain-dump** — Type your raw ideas, notes, or goals into the input box. No structure needed.
80
+ 2. **Generate** AI organizes your dump into a structured document, mindmap, prompt, or pitch deck.
81
+ 3. **Save sessions** Save your sessions and revisit them later.
82
+ 4. **Time Machine** — Roll back to any previous checkpoint in your session.
83
+ 5. **Cross-Pollination** — Vivream finds similar past sessions and suggests connections automatically.
84
+
85
+ All AI processing happens on your machine using your own credentials. No data is sent to Vivream servers.
86
+
87
+ ---
88
+
89
+ ## Settings
90
+
91
+ ### BYOK (Bring Your Own Key)
92
+ If you don't have Claude Code / Codex / Agy installed, you can use an API key directly:
93
+
94
+ 1. Open `http://localhost:3001`
95
+ 2. Go to **Settings → BYOK**
96
+ 3. Enter your Anthropic API key
97
+
98
+ Get an API key at [console.anthropic.com](https://console.anthropic.com)
99
+
100
+ ### Port
101
+ Default port is `3001`. If it's in use, Vivream automatically tries the next available port.
102
+
103
+ ---
35
104
 
36
- All processing happens on your machine using your own AI credentials. No data leaves your device.
105
+ ## Troubleshooting
106
+
107
+ **"No local AI CLI detected"**
108
+ → Install Claude Code, Codex CLI, or Agy — or add a BYOK API key in Settings.
109
+
110
+ **Browser doesn't open automatically**
111
+ → Navigate to `http://localhost:3001` manually.
112
+
113
+ **Port already in use**
114
+ → Vivream will automatically find the next free port. Check the terminal output for the actual URL.
115
+
116
+ **First run is slow**
117
+ → The first run extracts the server bundle (~13MB) to `~/.vivream/cache/`. Subsequent runs start instantly.
118
+
119
+ ---
37
120
 
38
121
  ## Support Development
39
122
 
@@ -42,6 +125,8 @@ Vivream is free and open to use. If it saves you time, consider sponsoring:
42
125
  - [GitHub Sponsors](https://github.com/sponsors/AppSoApp)
43
126
  - [Ko-fi](https://ko-fi.com/appsoapplication)
44
127
 
128
+ ---
129
+
45
130
  ## Contact
46
131
 
47
132
  appsoapplication@gmail.com · [Issues](https://github.com/AppSoApp/Vivream/issues)
@@ -54,9 +139,9 @@ MIT
54
139
 
55
140
  ## 한국어
56
141
 
57
- **두뇌 덤프 블루프린트 완성.**
142
+ **아이디어를 쏟아내세요. 설계도로 바꿔드립니다.**
58
143
 
59
- Claude Code / Codex / Agy CLI 로 구동되는 로컬 AI 워크벤치. 클라우드 계정 불필요. 완전 무료.
144
+ Claude Code / Codex / Agy CLI 로 구동되는 무료 로컬 AI 워크벤치. 구독 없음. 클라우드 없음. 컴퓨터에서 전부 실행.
60
145
 
61
146
  ### 시작하기
62
147
 
@@ -68,16 +153,42 @@ npx vivream
68
153
 
69
154
  ### 필요 사항
70
155
 
71
- - **Node.js ≥ 20**
72
- - 아래 중 하나의 AI 런타임:
73
- - [Claude Code](https://claude.ai/code) (권장)
74
- - [OpenAI Codex CLI](https://github.com/openai/codex)
75
- - [Agy](https://github.com/antigravityai/agy)
76
- - 또는 앱 내 설정에서 BYOK API 키 입력
156
+ - **Node.js ≥ 20** ([nodejs.org](https://nodejs.org))
157
+ - 아래 중 하나:
158
+ - **Claude Code** (권장) — [claude.ai/code](https://claude.ai/code)
159
+ - **OpenAI Codex CLI** — `npm install -g @openai/codex`
160
+ - **Agy**
161
+ - **BYOK** 앱 내 설정 BYOK에서 API 키 입력
77
162
 
78
- ### 후원
163
+ ### 설치 방법
164
+
165
+ **Windows**
166
+ 1. [nodejs.org](https://nodejs.org)에서 Node.js 설치
167
+ 2. PowerShell 또는 명령 프롬프트 열기
168
+ 3. `npx vivream` 실행
169
+
170
+ **macOS**
171
+ ```bash
172
+ brew install node
173
+ npx vivream
174
+ ```
79
175
 
80
- Vivream 은 무료입니다. 도움이 됐다면 후원을 고려해 주세요:
176
+ **Linux**
177
+ ```bash
178
+ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
179
+ sudo apt-get install -y nodejs
180
+ npx vivream
181
+ ```
182
+
183
+ ### 사용법
184
+
185
+ 1. **입력창에 아이디어 덤프** — 형식 없이 자유롭게 입력
186
+ 2. **생성 버튼 클릭** — AI가 문서/마인드맵/프롬프트/피치덱으로 정리
187
+ 3. **세션 저장** — 이전 작업 저장 및 재방문
188
+ 4. **Time Machine** — 이전 체크포인트로 롤백
189
+ 5. **Cross-Pollination** — 과거 유사 세션 자동 추천
190
+
191
+ ### 후원
81
192
 
82
193
  - [GitHub Sponsors](https://github.com/sponsors/AppSoApp)
83
194
  - [Ko-fi](https://ko-fi.com/appsoapplication)
package/bin/cli.js CHANGED
@@ -6,6 +6,7 @@ const path = require('path');
6
6
  const net = require('net');
7
7
  const os = require('os');
8
8
  const fs = require('fs');
9
+ const tar = require('tar');
9
10
 
10
11
  const PKG_ROOT = path.join(__dirname, '..');
11
12
  const PKG_JSON = require(path.join(PKG_ROOT, 'package.json'));
@@ -39,7 +40,7 @@ const MSG = {
39
40
  : ' Failed to extract bundle. Try reinstalling: npm install -g vivream',
40
41
  };
41
42
 
42
- function ensureExtracted() {
43
+ async function ensureExtracted() {
43
44
  if (fs.existsSync(SERVER_PATH)) return;
44
45
  if (!fs.existsSync(BUNDLE_PATH)) {
45
46
  process.stderr.write(MSG.extractError + '\n');
@@ -47,8 +48,9 @@ function ensureExtracted() {
47
48
  }
48
49
  process.stdout.write(MSG.extracting + '\n');
49
50
  fs.mkdirSync(CACHE_DIR, { recursive: true });
50
- const result = spawnSync('tar', ['-xzf', BUNDLE_PATH, '-C', CACHE_DIR], { stdio: 'inherit' });
51
- if (result.status !== 0) {
51
+ try {
52
+ await tar.extract({ file: BUNDLE_PATH, cwd: CACHE_DIR });
53
+ } catch (e) {
52
54
  process.stderr.write(MSG.extractError + '\n');
53
55
  process.exit(1);
54
56
  }
@@ -80,7 +82,7 @@ function cliExists(name) {
80
82
  }
81
83
 
82
84
  async function main() {
83
- ensureExtracted();
85
+ await ensureExtracted();
84
86
 
85
87
  if (!['claude', 'codex', 'agy'].some(cliExists)) {
86
88
  process.stderr.write(MSG.noCli);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vivream",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Brain-dump in. Blueprint out. — Local AI workbench powered by your own Claude / Codex / Agy CLI",
5
5
  "keywords": ["ai", "claude", "brain-dump", "workbench", "local-first", "mindmap", "prompt"],
6
6
  "homepage": "https://github.com/AppSoApp/Vivream",
@@ -20,6 +20,9 @@
20
20
  "bin/",
21
21
  "vivream-server.tar.gz"
22
22
  ],
23
+ "dependencies": {
24
+ "tar": "^6"
25
+ },
23
26
  "engines": {
24
27
  "node": ">=20.0.0"
25
28
  },
Binary file