HubAPI / README.md
samirhosninet's picture
Add Hugging Face Space metadata to README.md
94e8e97
|
Raw History Blame Contribute Delete
2.76 kB
metadata
title: HubAPI
emoji: 🚀
colorFrom: indigo
colorTo: purple
sdk: docker
app_port: 7860
pinned: false

HubAPI

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.

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. 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:

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.