mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #54] [MERGED] feat: Multi-Provider Character Browser with 5 Sources, Auth, Tags, Filters & Pagination #4421
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4421
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/54
Author: @LukaTheHero
Created: 4/4/2026
Status: ✅ Merged
Merged: 4/4/2026
Merged by: @LukaTheHero
Base:
main← Head:luka-character-browser📝 Commits (1)
fe8448ffeat: multi-provider character browser with ChubAI, JannyAI, CharacterTavern, Pygmalion, Wyvern📊 Changes
7 files changed (+2109 additions, -381 deletions)
View changed files
📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+1215 -367)➕
packages/server/src/routes/bot-browser-chartavern.routes.ts(+282 -0)➕
packages/server/src/routes/bot-browser-janny.routes.ts(+150 -0)➕
packages/server/src/routes/bot-browser-pygmalion.routes.ts(+250 -0)➕
packages/server/src/routes/bot-browser-wyvern.routes.ts(+132 -0)📝
packages/server/src/routes/bot-browser.routes.ts(+72 -14)📝
packages/server/src/routes/index.ts(+8 -0)📄 Description
🌐 Multi-Provider Character Browser
Completely rebuilt the Bot Browser from a single-source ChubAI-only search with no filters into a full-featured multi-provider character browsing experience with 5 character sources, authentication, tag filtering, and provider-specific options.
Before
After
🔌 5 Character Providers
Switch between providers seamlessly — each with their own sort options, filters, and features:
🏷️ Tag System (Whitelist & Blacklist)
🔐 Authentication for NSFW Content
includeSensitiveflag📄 Pagination
🔍 Provider-Specific Sort Options
Each provider's sort dropdown is dynamically built from its config — no shared/generic options that don't work. ChubAI sort presets now correctly map to the Chub API parameters:
download_countfor popularity sortsstar_countfor rating sortsidfor newestlast_activity_atfor recently updateddefaultsort omitted to let API decide (for Recent Hits withspecial_mode=newcomer)max_days_agoonly sent for time-limited presets, NOT when searching by text⚙️ Dynamic Filters Panel
📥 Import
🖼️ Character Detail View
Server Changes
New Route Files
bot-browser-janny.routes.ts— Proxies to JannyAI's MeiliSearch API, handles dynamic search token retrieval, avatar proxybot-browser-chartavern.routes.ts— Proxies to CharacterTavern REST API with cookie-based auth session management (set-cookie, validate, logout, session check), avatar/card download proxybot-browser-pygmalion.routes.ts— Proxies to Pygmalion's Connect RPC API with token-based auth (login via auth.pygmalion.chat, set-token, logout, session check), authenticated POST search for NSFW, avatar proxybot-browser-wyvern.routes.ts— Proxies to Wyvern REST API, user search, creator character listing, avatar proxyModified Files
bot-browser.routes.ts— Fixed ChubAI search parameter mapping (sort, max_days_ago, special_mode, nsfl, include_forks, venus params now match the working SillyTavern plugin implementation)index.ts— Registers all 4 new provider route filesScreenshots
[Add your screenshots here]
Testing
Tested all 5 providers:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.