Skip to content

Commit 2ed306d

Browse files
committed
v1.2.2, w.ai and inference.net, local store fixes
W.ai, Inference.net, Alibaba Cloud Qwen API default, fixes local custom models, linting, tscheck, prettier added and cleaned up codebase
1 parent 0ad3a12 commit 2ed306d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+5722
-5123
lines changed

.eslintignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
node_modules
2+
dist
3+
build
4+
public
5+
.vscode
6+
.gitignore
7+
.eslintignore
8+
.prettierrc
9+
.prettierignore
10+
src-tauri/
11+
src-tauri/target/
12+
**/*.js.map
13+
**/*.d.ts
14+
vite.config.ts
15+
tailwind.config.ts
16+
postcss.config.js

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ package-lock.json
99
pnpm-lock.yaml
1010
pnpm-workspace.yaml
1111
src-tauri/target
12-
.env
12+
.env
13+
.eslintcache

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"bracketSpacing": true,
9+
"jsxSingleQuote": false,
10+
"arrowParens": "avoid"
11+
}

README.md

Lines changed: 65 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ Curiso AI is an infinite canvas for your thoughts—a platform that seamlessly c
99

1010
- **Multi OS**: Windows, macOS, and Linux app
1111
- **Infinite Canvas**: Create and organize your thoughts visually on an unlimited workspace
12-
- **Multiple AI Provider Integration**:
12+
- **Multiple Default AI Provider Integration**:
13+
- W.ai
14+
- Inference.net
15+
- Deepseek
1316
- OpenAI
1417
- Anthropic
1518
- Google
1619
- xAI
1720
- Groq
1821
- OpenRouter
22+
- Alibaba Cloud
1923

2024
- **Local AI Inference Provider Integration**:
2125
- Ollama
@@ -46,12 +50,6 @@ Curiso AI is an infinite canvas for your thoughts—a platform that seamlessly c
4650

4751
![screenshot3](custommodels.png)
4852

49-
## Solana Token
50-
51-
Curiso ($CUR) is a token on the Solana blockchain that will provide exclusive access to the future Curiso.ai web application. Token holders will be able to unlock premium features and enhanced AI capabilities with $CUR. (Coming Soon)
52-
53-
[$CUR on Dexscreener](https://dexscreener.com/solana/8TbsZ3yH1mBHytVpmMn4qED2UeF3FgWUVt1pd5RBpump)
54-
5553
## Getting Started
5654

5755
### Download and Install latest release
@@ -63,33 +61,41 @@ Available for Windows, macOS, and Linux.
6361

6462
### Prerequisites
6563

66-
- [Bun](https://bun.sh/) runtime installed on your system
67-
- API keys for the AI services you plan to use or Ollama installed locally
64+
- [Bun](https://bun.sh/) runtime installed on your system > v1.2.0
65+
- [Rust](https://www.rust-lang.org/) installed on your system > v1.86.0
66+
- [Tauri CLI](https://tauri.app/start/) installed on your system
67+
- API keys for the AI services you plan to use or Ollama/Exo/Jan.ai/LM Studio/vLLM/etc. installed locally or remotely
6868

6969
### Installation
7070

71-
1. Clone the repository:
71+
1. Install Tauri CLI:
72+
73+
```bash
74+
cargo install tauri-cli
75+
```
76+
77+
2. Clone the repository:
7278

7379
```bash
7480
git clone https://github.com/metaspartan/curiso.git
7581
```
7682

77-
2. Navigate to the project directory:
83+
3. Navigate to the project directory:
7884

7985
```bash
8086
cd curiso
8187
```
8288

83-
3. Install dependencies:
89+
4. Install dependencies:
8490

8591
```bash
8692
bun install
8793
```
8894

89-
4. Run the development build:
95+
5. Run the development build:
9096

9197
```bash
92-
bun run desktop
98+
sudo bun run desktop
9399
```
94100

95101
## Known Issues
@@ -100,6 +106,47 @@ bun run desktop
100106
set OLLAMA_ORIGINS=*
101107
```
102108

109+
## Solana Token
110+
111+
Curiso ($CUR) is a utility token on the Solana blockchain.
112+
113+
[$CUR on Dexscreener](https://dexscreener.com/solana/8TbsZ3yH1mBHytVpmMn4qED2UeF3FgWUVt1pd5RBpump)
114+
115+
[$CUR on Solana](https://solscan.io/token/8TbsZ3yH1mBHytVpmMn4qED2UeF3FgWUVt1pd5RBpump)
116+
117+
[$CUR on Coingecko](https://www.coingecko.com/en/coins/curiso)
118+
119+
### Tokenomics
120+
121+
- **CA**: 8TbsZ3yH1mBHytVpmMn4qED2UeF3FgWUVt1pd5RBpump
122+
- **CUR Total Supply**: 1,000,000,000 CUR
123+
- **Dev Fund**: ~14,868,655 CUR, 10,000,000 locked until April 2025 with 3 month cliff of ~3,333,333 CUR per month for 3 months.
124+
- **Blockchain**: Solana
125+
- **Name**: Curiso
126+
- **Ticker**: CUR
127+
128+
### Token & Curiso Roadmap
129+
Q1-Q3 2025 Goals:
130+
131+
- CUR will be integrated as the main payment method for tiered premium subscriptions, making it a utility token on Solana.
132+
- By integrating with the Pyth network, we'll ensure stable USD pricing for your subscriptions, bringing you a consistent and reliable experience.
133+
- A portion of CUR used in subscription payments will be burned, supporting the token's long-term value and collectability.
134+
- Introduce a staking pool program where CUR holders can earn rewards, funded by a portion of Curiso subscription purchases, to support token holders.
135+
136+
#### Subscription Payments
137+
What’s Coming: CUR will be integrated as the main payment method for premium subscriptions, making it a utility token on Solana.
138+
139+
#### Stable Sub CUR Pricing with Pyth
140+
What’s Coming: By integrating with the Pyth network, we'll ensure stable USD pricing for your subscriptions, bringing you a consistent and reliable experience.
141+
142+
#### Token Burn Mechanism
143+
What’s Coming: A portion of CUR used in subscription payments will be burned, supporting the token's long-term value and collectability.
144+
145+
#### CUR Lock Staking Pools
146+
Possibility: Introduce a staking pool program where CUR holders can earn rewards, funded by a portion of Curiso subscription purchases, to support token holders.
147+
148+
Stay tuned as we progress through these phases, bringing enhanced value and utility to your CUR experience. Thank you for your support and feedback as we continue to evolve!
149+
103150
## Contributing
104151

105152
Contributions are welcome! Please feel free to submit a pull request. If you have any questions, ideas, or suggestions, please feel free to open an issue.
@@ -135,3 +182,7 @@ Carsen Klock - [@metaspartan](https://github.com/metaspartan) [@carsenklock](htt
135182
- [Jan.ai](https://jan.ai/)
136183
- [LM Studio](https://lmstudio.ai/)
137184
- [Exo](https://github.com/exo-explore/exo)
185+
- [Alibaba Cloud](https://www.alibabacloud.com/)
186+
- [DeepSeek](https://www.deepseek.com/)
187+
- [W.ai](https://www.w.ai/)
188+
- [Inference.net](https://inference.net/)

client/src/App.tsx

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { Switch, Route } from "wouter";
2-
import Dashboard from "@/pages/Dashboard";
3-
import { useEffect } from "react";
4-
import { useStore } from "@/lib/store";
5-
import { defaultLocalModels, modelService } from "./lib/localmodels";
6-
import { PRESET_ENDPOINTS } from "./lib/constants";
7-
import { CustomModel, GlobalSettings } from "./lib/types";
1+
import { Switch, Route } from 'wouter';
2+
import Dashboard from '@/pages/Dashboard';
3+
import { useEffect } from 'react';
4+
import { useStore } from '@/lib/store';
5+
import { defaultLocalModels, modelService } from './lib/localmodels';
6+
import { PRESET_ENDPOINTS } from './lib/constants';
7+
import { CustomModel, GlobalSettings } from './lib/types';
88

99
function App() {
1010
const { settings, updateCustomModels } = useStore();
@@ -14,44 +14,43 @@ function App() {
1414
console.log('fetching models');
1515
const endpoints = PRESET_ENDPOINTS.map(e => ({
1616
url: e.url,
17-
provider: 'openai'
17+
provider: 'openai',
1818
}));
19-
19+
2020
// First, ensure we have the existing custom models
2121
const existingCustomModels = settings.customModels || [];
22-
23-
const modelPromises = endpoints.map(e =>
24-
modelService.getAvailableModels(e.url)
25-
);
26-
22+
23+
const modelPromises = endpoints.map(e => modelService.getAvailableModels(e.url));
24+
2725
try {
2826
const modelLists = await Promise.allSettled(modelPromises);
2927
const allModels = modelLists
30-
.filter((result): result is PromiseFulfilledResult<CustomModel[]> =>
31-
result.status === 'fulfilled'
28+
.filter(
29+
(result): result is PromiseFulfilledResult<CustomModel[]> =>
30+
result.status === 'fulfilled'
3231
)
3332
.flatMap(result => result.value);
34-
33+
3534
// Preserve ALL existing custom models that aren't from these endpoints
36-
const userCustomModels = existingCustomModels.filter(m =>
37-
!endpoints.some(e => m.endpoint === e.url)
35+
const userCustomModels = existingCustomModels.filter(
36+
m => !endpoints.some(e => m.endpoint === e.url)
3837
);
39-
38+
4039
// Then merge with new local models
4140
const updatedModels = [
42-
...userCustomModels, // Keep ALL existing custom models
43-
...defaultLocalModels, // Add default models
44-
...allModels // Add new local models
41+
...userCustomModels, // Keep ALL existing custom models
42+
...defaultLocalModels, // Add default models
43+
...allModels, // Add new local models
4544
];
46-
45+
4746
updateCustomModels(updatedModels);
4847
} catch (error) {
4948
// If there's an error, preserve existing models
5049
updateCustomModels(existingCustomModels);
5150
console.warn('Error fetching models:', error);
5251
}
5352
};
54-
53+
5554
fetchModels();
5655
const interval = setInterval(fetchModels, 120000); // 2 minutes
5756
return () => clearInterval(interval);
@@ -60,7 +59,7 @@ function App() {
6059
useEffect(() => {
6160
document.documentElement.style.setProperty('--primary-color', settings.primaryColor);
6261
}, [settings.primaryColor]);
63-
62+
6463
return (
6564
<Switch>
6665
<Route path="/" component={Dashboard} />

client/src/assets/alibaba-logo.png

10.4 KB
Loading
Lines changed: 9 additions & 0 deletions
Loading

client/src/assets/nvidia-logo.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)