File size: 2,755 Bytes
94e8e97
 
 
 
 
 
 
 
 
 
d8804ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72790d4
 
d8804ab
72790d4
d8804ab
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
---
title: HubAPI
emoji: 🚀
colorFrom: indigo
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
---

# HubAPI

> [!IMPORTANT]
> **Project Status Notice**: This project is currently **under construction**. The repository contains the pre-launch marketing **Landing Page & Waitlist Queue** targeting enterprises, institutions, developers, and individuals.
> 
> The core goals of this project are:
> 1. **LLM Provider API Key & Subscription Marketplace**: A marketplace to buy and manage developer accounts, API keys, and premium subscriptions of AI LLM providers.
> 2. **Agentic OS**: Building a state-of-the-art operating system program designed to deploy, orchestrate, and coordinate autonomous AI agents.
> 
> For onboarding context, detailed design guidelines, and codebase architecture for developers and AI agents, please read [PROJECT_STATUS.md](file:///d:/Prelunch-ui/hubapi/PROJECT_STATUS.md).

Welcome to the HubAPI project! This landing page serves as the entry point for HubAPI and showcases the vast ecosystem of LLM providers we support using a dynamic 3D Icon Cloud.

## Adding New LLM Providers

The 3D Icon Cloud draws its data from a central configuration file. To add new LLM providers to the cloud, you need to update `data/llm-provider-icons.ts`.

### 1. Locate the Data File
Open `data/llm-provider-icons.ts` in your editor.

### 2. Identify the Provider's Slug
We use high-quality SVG icons from the [Lobe Hub icons repository](https://github.com/lobehub/lobe-icons/tree/master/packages/static-svg/icons). 
The `slug` you use must perfectly match the filename of the SVG in that repository (excluding the `.svg` extension).

For example, if the Lobe Hub URL is `https://unpkg.com/@lobehub/icons-static-svg@latest/icons/openai.svg`, the slug is `"openai"`.

### 3. Add the Slug to the Desired Group
In `llm-provider-icons.ts`, find the `llmProviderGroups` array. It looks like this:

```typescript
export const llmProviderGroups: LLMProviderGroup[] = [
  {
    title: "Proprietary Giants",
    slugs: ["openai", "anthropic", "google", /* ... */],
  },
  {
    title: "Open Source Leaders",
    slugs: ["meta", "mistral", "cohere", /* ... */],
  },
  // ...
];
```

Simply add your new slug to the appropriate group's `slugs` array. If the provider is very prominent, you might also want to add it to the `featuredLLMProviderSlugs` array near the top of the file so it shows up in the default "Featured" view.

### 4. Verify
Start the development server (`npm run dev`) and navigate to the landing page. Click on the corresponding tab to verify that the new icon renders correctly in the 3D cloud. If the icon shows up as a fallback circle or broken image, double-check that the slug matches the Lobe Hub SVG filename exactly.