@realtimex/realtimex-alchemy 1.0.0

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.
@@ -0,0 +1,51 @@
1
+ <svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <style>
3
+ /* Light Mode Default (Deep Black - oklch(0.205 0 0) approx) */
4
+ .primary-stroke { stroke: #1a1a1a; }
5
+
6
+ /* Dark Mode (Near White - oklch(0.985 0 0) approx) */
7
+ @media (prefers-color-scheme: dark) {
8
+ .primary-stroke { stroke: #fbfbfb; }
9
+ }
10
+ </style>
11
+
12
+ <!-- Main Envelope Shape -->
13
+ <path
14
+ class="primary-stroke"
15
+ d="M64 160C64 133.49 85.4903 112 112 112H400C426.51 112 448 133.49 448 160V352C448 378.51 426.51 400 400 400H112C85.4903 400 64 378.51 64 352V160Z"
16
+ stroke-width="32"
17
+ stroke-linecap="round"
18
+ stroke-linejoin="round"
19
+ />
20
+
21
+ <!-- The Flap (Open, signaling processing) -->
22
+ <path
23
+ class="primary-stroke"
24
+ d="M64 160 L200 270"
25
+ stroke-width="32"
26
+ stroke-linecap="round"
27
+ stroke-linejoin="round"
28
+ />
29
+ <path
30
+ class="primary-stroke"
31
+ d="M448 160 L312 270"
32
+ stroke-width="32"
33
+ stroke-linecap="round"
34
+ stroke-linejoin="round"
35
+ />
36
+
37
+ <!-- The AI Spark (The "Brain") - Constant Purple -->
38
+ <!-- Floating upwards out of the envelope -->
39
+ <path
40
+ d="M256 128 C256 128 276 170 306 178 C276 186 256 228 256 228 C256 228 236 186 206 178 C236 170 256 128 256 128 Z"
41
+ fill="#9333ea"
42
+ >
43
+ <animateTransform
44
+ attributeName="transform"
45
+ type="translate"
46
+ values="0 0; 0 -10; 0 0"
47
+ dur="3s"
48
+ repeatCount="indefinite"
49
+ />
50
+ </path>
51
+ </svg>
@@ -0,0 +1,45 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <style>
3
+ /* Default (Light Mode) - Deep Black */
4
+ .icon-stroke { stroke: #1a1a1a; }
5
+
6
+ /* Dark Mode - Near White */
7
+ @media (prefers-color-scheme: dark) {
8
+ .icon-stroke { stroke: #fbfbfb; }
9
+ }
10
+ </style>
11
+
12
+ <!-- Envelope Body -->
13
+ <!-- Thicker strokes (2px) ensure visibility at 16x16px -->
14
+ <path
15
+ class="icon-stroke"
16
+ d="M4 11C4 9.34315 5.34315 8 7 8H25C26.6569 8 28 9.34315 28 11V25C28 26.6569 26.6569 28 25 28H7C5.34315 28 4 26.6569 4 25V11Z"
17
+ stroke-width="2.5"
18
+ stroke-linejoin="round"
19
+ />
20
+
21
+ <!-- Envelope Flap Lines -->
22
+ <path
23
+ class="icon-stroke"
24
+ d="M4 11L11 17"
25
+ stroke-width="2.5"
26
+ stroke-linecap="round"
27
+ stroke-linejoin="round"
28
+ />
29
+ <path
30
+ class="icon-stroke"
31
+ d="M28 11L21 17"
32
+ stroke-width="2.5"
33
+ stroke-linecap="round"
34
+ stroke-linejoin="round"
35
+ />
36
+
37
+ <!-- The AI Spark -->
38
+ <!-- Placed at the top center, breaking the envelope boundary slightly -->
39
+ <path
40
+ d="M16 2L17.5 5.5L21 7L17.5 8.5L16 12L14.5 8.5L11 7L14.5 5.5L16 2Z"
41
+ fill="#9333ea"
42
+ stroke="#ffffff"
43
+ stroke-width="0.5"
44
+ />
45
+ </svg>
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>RealTimeX Alchemy | Passive Intelligence</title>
8
+ <!-- Google Fonts: Outfit and JetBrains Mono -->
9
+ <link rel="preconnect" href="https://fonts.googleapis.com">
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11
+ <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Outfit:wght@300;400;600;800&display=swap" rel="stylesheet">
12
+ <script type="module" crossorigin src="/assets/index-CRgCScOz.js"></script>
13
+ <link rel="stylesheet" crossorigin href="/assets/index-7Lemtnxa.css">
14
+ </head>
15
+ <body>
16
+ <div id="root"></div>
17
+ </body>
18
+ </html>
package/package.json ADDED
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@realtimex/realtimex-alchemy",
3
+ "version": "1.0.0",
4
+ "description": "Passive Intelligence engine for RealTimeX Alchemy. Transmute your reading time into high-density insights.",
5
+ "type": "module",
6
+ "main": "dist/api/index.js",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "bin": {
11
+ "realtimex-alchemy": "./bin/realtimex-alchemy.js"
12
+ },
13
+ "files": [
14
+ "bin",
15
+ "dist",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "scripts": {
20
+ "dev": "vite",
21
+ "dev:api": "tsx watch api/index.ts",
22
+ "build": "npm run build:ui && npm run build:api",
23
+ "build:ui": "vite build",
24
+ "build:api": "tsc -p tsconfig.api.json",
25
+ "start": "node dist/api/index.js",
26
+ "preview": "vite preview",
27
+ "migrate": "chmod +x scripts/migrate.sh && ./scripts/migrate.sh",
28
+ "timestamp": "node scripts/get-latest-migration-timestamp.mjs"
29
+ },
30
+ "keywords": [
31
+ "ai",
32
+ "intelligence",
33
+ "browser-history",
34
+ "alchemy",
35
+ "realtimex"
36
+ ],
37
+ "author": "RealTimeX Team",
38
+ "license": "MIT",
39
+ "dependencies": {
40
+ "@anthropic-ai/sdk": "^0.24.1",
41
+ "@mozilla/readability": "^0.6.0",
42
+ "@supabase/supabase-js": "^2.39.0",
43
+ "@types/jsdom": "^27.0.0",
44
+ "@types/mozilla-readability": "^0.2.1",
45
+ "axios": "^1.6.2",
46
+ "better-sqlite3": "^9.1.1",
47
+ "cors": "^2.8.5",
48
+ "dotenv": "^16.3.1",
49
+ "express": "^5.2.1",
50
+ "framer-motion": "^11.0.8",
51
+ "jsdom": "^27.4.0",
52
+ "lucide-react": "^0.344.0",
53
+ "openai": "^4.20.1",
54
+ "puppeteer": "^24.35.0",
55
+ "react": "^18.2.0",
56
+ "react-dom": "^18.2.0",
57
+ "sqlite3": "^5.1.6",
58
+ "turndown": "^7.1.2",
59
+ "uuid": "^9.0.1",
60
+ "zod": "^3.22.4"
61
+ },
62
+ "devDependencies": {
63
+ "@types/better-sqlite3": "^7.6.9",
64
+ "@types/cors": "^2.8.17",
65
+ "@types/express": "^4.17.21",
66
+ "@types/node": "^20.10.4",
67
+ "@types/react": "^18.2.0",
68
+ "@types/react-dom": "^18.2.0",
69
+ "@types/turndown": "^5.0.4",
70
+ "@types/uuid": "^9.0.7",
71
+ "@vitejs/plugin-react": "^4.2.1",
72
+ "autoprefixer": "^10.4.16",
73
+ "postcss": "^8.4.32",
74
+ "tailwindcss": "^3.3.6",
75
+ "ts-node": "^10.9.2",
76
+ "tsx": "^4.21.0",
77
+ "typescript": "^5.3.3",
78
+ "vite": "^7.3.1"
79
+ }
80
+ }