50/50 RevShare Integration: OpenUI & AIML API
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- backend-api-design
Research direction
Start by reviewing linked pull request #1238 and the existing Vercel AI SDK example. The requested entry points are examples/miscellaneous/aimlapi, examples/README.md, and examples/examples.json. Done means the example uses the requested provider and model environment variable, and is listed under miscellaneous.
Written by the indexing model from the issue text.
Description
Hi! I'm Hugo from aimlapi.com — an AI aggregator that gives access to 1000+ models in one API, trusted by 400k+ users.
We'd love to be available as a verified provider option inside OpenUI — so we went ahead and did all the technical work on our side, in our fork: https://github.com/aimlapi/openui-aimlapi (branch feat/aimlapi-example, rebased cleanly on main).
To build our partnership, we offer a 50/50 revenue share on all traffic from this integration. (P.S.: tracking starts as soon as this release goes live, so no earnings will be lost during setup)
My contacts: [email protected] (email / Slack), Telegram: @hug0the
Is your feature request related to a problem? Please describe.
Every example in examples/ points at OpenUI Cloud Completions (https://api.thesys.dev/v1/embed). There is no reference implementation of <AgentInterface /> running against an OpenAI-compatible provider directly, so the two things that change when no Gateway is in the path are not shown anywhere: the openuiLibrary system prompt has to be compiled locally with generateSystemPrompt() instead of cloud: true, and invalid OpenUI Lang is no longer corrected server-side — only the renderer's own recovery is left.
Describe the solution you'd like
An examples/miscellaneous/aimlapi example: the Vercel AI SDK example's client wiring and tools, with createOpenAICompatible({ baseURL: "https://api.aimlapi.com/v1" }) as the provider and the model picked by an AIMLAPI_MODEL env var, so the same app can be pointed at any of the 1,000+ models AI/ML API serves under one key by changing one variable. Listed in examples/README.md and examples/examples.json under miscellaneous.
Describe alternatives you've considered
- Documenting the direct-provider path in the Vercel AI SDK example's README rather than adding an example — that example is about Cloud Completions, and carrying both paths in one route makes it harder to read.
- Putting it under
agent-frameworks— the seam here is the model provider, not the agent runtime, somiscellaneous("backend services that do not justify another top-level category") is the right home.
Additional context
Examples-only, nothing under packages/ changes, so no changeset. Opening this issue first as the contributing guidelines ask — happy to open the PR against main as soon as you confirm the direction.
- Dominant language
- TypeScript
- Stars
- 10k
- Forks
- 698
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 148
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from thesysdev/openui
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thesysdev/openui#1445 · 2 comments ·
Maintainers usually reply within 1 day
-
Add dataInvention flag to PromptOptions to disable the 'generate realistic/plausible data' ruleOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
thesysdev/openui#959 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 18/100
Maintainers usually reply within 1 day
All issues in thesysdev/openui
Similar issues
-
[Text] Add Reading Time & Word Count Estimator for Reflection Notes in src/lib/text/reading-time.tsOpenarea:core beginner-friendly community contributions-welcome difficulty:easy enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingOpene2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
devswha/herdr-web-ui#2884 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
b:minor bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
software-mansion/argent#1771 ·
Maintainers usually reply within 1 day