OmniBase

Drop-in replacement for AceDB-3.0 & LibDualSpec-1.0: -97.3% profile SavedVariables bloat (0ms logout strip), -82.6% sharded cold vaults, -99.8% compressed ID sets, sub-ms fuzzy search, 7D auto-profiles & 0 idle CPU.

OmniBase (LibOmniBase-1.0) — The Modern Database, Cold-Vault, Search & Profile Engine

What OmniBase Does: OmniBase (LibOmniBase-1.0) is a high-performance, zero-dependency database, profile manager, cold-storage vault, compressed ID-set, instant search index, and reactive state library (with an in-game Diagnostic Studio at /ob) for Retail / Midnight (11.x–12.x), WoW Forever (1.60.1), and all Classic flavors. It replaces the 15-year-old stack nearly every WoW addon still relies on — AceDB-3.0, LibDualSpec-1.0, AceSerializer-3.0 + LibDeflate profile strings, and raw unindexed SavedVariables tables — with native C++ C_EncodingUtil CBOR/Deflate pipelines, modern database data structures, and zero-polling reactive signals.

Addon Authors: Upgrade Your Existing Addon in 1 Click (Zero Handler Rewrites)

1-Click Web Converter Studio: https://fishingbuddyforever.com/Omnibase  |  Offline Kit: OmniBase-Developer-Kit.zip

  • Browser .zip & Folder Converter (Hybrid or Bridge Mode): Drag & drop any existing addon .zip or unpacked folder at fishingbuddyforever.com/Omnibase to inspect exact unified diffs in-browser. Automatically routes AceDB-3.0 and LibDualSpec-1.0 calls over OmniBaseBridge-1.0, preserves vendored Libs/ and companion Omni* bridges, injects ## Dependencies: OmniBase, bundles dual-compat OmniBase_Bridge.lua, and generates an optional OmniBase_Storage.lua starter (16-shard Cold Vaults, 16-bit Roaring ID Bitmaps, 3-gram Search Tables, and 7D Context Rules).
  • Built-In v1.0.3+ 1-Line Drop-In API (NewAceDB / CreateLegacyBridge): Call LibStub("LibOmniBase-1.0"):NewAceDB(sv, defaults, defaultProfile) (plus :EnhanceDatabase(db, name) / :EnhanceOptions(opts, db)) and your existing AceDB-3.0 profiles, ['*']/['**'] wildcards, RegisterNamespace, and callbacks immediately gain -97.3% CoW profile savings, 0 ms logout stripping, and automatic migration of existing player SavedVariables.
  • Offline Python CLI, In-Game Studio & AI Coding Agent Skill: Download OmniBase-Developer-Kit.zip and run migrate_to_omnibase.py --mode hybrid, type /ob convert (or click Addon Authors: 1-Click Converter in /ob), or drop SKILL.md / MIGRATE_PROMPT.md into Cursor, Claude Code, Codex, and Antigravity.
  • License & CurseForge Required Dependency Policy (All Rights Reserved): OmniBase is proprietary and non-embeddable — third-party addon makers may not bundle LibOmniBase-1.0 files and must list standalone OmniBase as a Required Dependency on CurseForge (under Project/File Relations) in addition to ## Dependencies: OmniBase in their .toc.

How Big of an Improvement Is OmniBase?
Compared head-to-head against AceDB-3.0 + LibDualSpec-1.0 + plain Lua SavedVariables, OmniBase cuts profile SavedVariables size by 97.3% with 0 ms logout stripping (~16.9 KB → ~456 B), shrinks large datasets by 82.6% while hydrating only 1/16th of the data on lookup (16× less cold work), compresses 5,000+ quest/item ID tables by 99.8% (576× smaller: 92.2 KB → 160 B), replaces frame-stuttering O(N) table scans with sub-millisecond typo-tolerant 3-gram search, upgrades 2-spec switching to 7-dimension combat-safe auto-profiles, prevents half-written corrupted settings via atomic rollback transactions, blocks Midnight 12.0 Secret Value taint, and runs at 0 idle OnUpdate CPU.

Head-to-Head Benchmark: Legacy WoW Storage vs. OmniBase

Most WoW addons still clone entire default trees into memory on login, recursively walk every table on /reload and PLAYER_LOGOUT to strip defaults, dump megabytes of uncompressed Lua text to disk, scan thousands of rows linearly on the render thread, and corrupt SavedVariables if a Lua error fires mid-save. OmniBase eliminates all of those bottlenecks at the root:

Workload / CapabilityLegacy Stack (AceDB-3.0 + LibDualSpec + Raw SavedVariables)OmniBase (LibOmniBase-1.0)Measured Improvement
Profile Settings (500 Nested Keys, 8 Overrides)~16.9 KB live table clone + recursive logout strip walkZero-Write Copy-on-Write Proxy (0 keys on read, 8 leaves = ~456 B)-97.3% SV bloat · 37× smaller · 0 ms logout strip
Large Historical / AH Data (300 Rows)50.4 KB plain Lua table parsed & rewritten every /reload16-Shard Cold Vault (OBV1E!...) (8.7 KB total, 1/16 shard hydrated)-82.6% disk size (5.8× smaller) · 16× less cold work
Quest / Item / Spell ID Sets (5,000+ IDs)92.2 KB Lua { [id] = true } hash table16-Bit Roaring Bitmaps (OBR1E!...) (160 B adaptive RLE / Bitset / Array)-99.8% SV size (576× smaller) · Fast set math
Searching & Sorting 1,000+ RecordsLinear O(N) string.find scans & repeated table.sort spikesSecondary Hash + Binary Range/TopK + Padded 3-Gram Fuzzy IndexSub-ms typo-tolerant queries · Zero frame stutter
Profile Import / Export StringsAceSerializer + Base64 (+33.3%) or \" / \\ escape inflationC++ CBOR/Deflate + Escape-Free basE91 (OB1E!...) + CRC32 + MAC48Compact, quote/pipe-safe & tamper-verified
UI & Module Config UpdatesManual callback wiring, full UI rebuilds, or OnUpdate pollingWildcard Watch + Lazy Computed + Net-Zero Batch CoalescingZero polling · Surgical path-level updates
Crash Safety, Schema Upgrades & UndoMid-save Lua error leaves half-written corrupted SavedVariablesAtomic Transaction Rollback + Versioned Migrations + 16-Step Undo/Redo100% atomic writes · Instant user Undo/Redo
Automatic Profile Switching2-spec LibDualSpec-1.0 only7D Context Engine (Spec, Hero Talent, M+, Delve, Raid, Arena, Zone)7 dimensions + automatic combat-lockdown deferral
Midnight (12.0+) Secret Value Safety“attempt to compare/persist secret value” taint errorsSecretGuard Write Firewall blocks/strips issecretvalue & issecrettableZero taint · Zero SavedVariables poisoning
Background Indexing & Idle OverheadUnbudgeted login freezes or permanent background timersC_AddOnProfiler-Adaptive Coroutine Slicer + Hidden Idle Frame0 idle OnUpdate CPU · Frame-rate aware
Upgrading From AceDB-3.0 & Multi-Alt SyncManual migration scripts & custom addon-comm plumbing1-Line db:ImportAceDB(oldSV) + 1-Line db:EnableOmniSync(ns)Drop-in migration & optional live CRDT sync

Built to Power Every Addon in World of Warcraft

OmniBase is designed to be shared as one lightweight standalone engine across your entire AddOns folder. The more addons adopt ## Dependencies: OmniBase, the faster the whole game gets — eliminating duplicated library code, cutting total WTF/Account disk I/O, and making /reload and login/logout dramatically faster:

  • Action Bars, Unit Frames, Nameplates, HUDs & Raid Mods: Zero-write CoW profiles across all 8 scopes (global, profile, char, realm, faction, factionrealm, class, race), reactive Watch("profile.bars.*") updates, and automatic Spec / Hero Talent / Mythic+ / Raid / Delve profile switching that safely waits out InCombatLockdown() until PLAYER_REGEN_ENABLED.
  • Auction House, Crafting, Gathering & Economy Addons: Compress tens of thousands of historical price snapshots and reagent catalogs into 16-shard cold Vaults (82.6% smaller, decoding only the 1 shard queried) with instant binary Range/TopK filtering and typo-tolerant 3-gram item name search.
  • Quest, Collection, Mount, Toy, Pet, Achievement & Transmog Trackers: Store 5,000+ completed or collected IDs in 160 bytes instead of 92 KB using 16-bit Roaring bitmaps with instant Has, Union, Intersect, and Difference across characters.
  • Bags, Bank, Guild Ledger, Loot & Inventory Addons: Wrap multi-table inventory and ledger updates inside atomic Transaction blocks that automatically roll back on error, run sequential schemaVersion migrations on addon updates, and give users built-in 16-step Undo() / Redo().
  • Instant Upgrade Path From AceDB-3.0: Existing addons don’t lose a single user setting — call db:ImportAceDB(LegacySavedVar) once to import all profiles and scopes while automatically stripping legacy default bloat.

Under the Hood: What Makes OmniBase So Fast

  1. Zero-Write Copy-on-Write (CoW) Overlay & Auto-Pruning: Reading nested defaults allocates zero keys in SavedVariables. Writing a value back to its default automatically deletes the override and prunes empty parent tables; explicit nil overrides use printable tombstones (__OMNIBASE_NIL_V1__) so nothing has to be stripped at logout.
  2. 16-Shard Lazy-Hydrated Cold Vaults (OBV1E!...): Hashes keys across 16 independent compressed shards using Blizzard’s C++ C_EncodingUtil CBOR + Deflate when available (with 100% compatible pure-Lua RFC 8949 CBOR / schema-mapped OmniPack + OmniLZ fallbacks) and quote/backslash/pipe-free basE91. Single-key reads hydrate 1 shard; logout re-serializes only dirty shards.
  3. 16-Bit Partitioned Roaring Bitmaps (OBR1E!...): Dynamically picks the smallest container per 65,536-ID chunk — sorted 16-bit Array, 2048-word Bitset, or run-length encoded RLE intervals — turning sparse and contiguous WoW ID ranges into tiny byte payloads.
  4. Secondary Hash, Binary Range/TopK & Padded 3-Gram Fuzzy Index: Gives addons real database queries in Lua: FindBy exact hash lookups, binary-searched numeric Range and TopK queries, typo-tolerant 3-gram Search, and non-blocking RebuildIndexesAsync.
  5. Reactive Signals (Watch, Computed, Batch): Subscribe to exact paths or globs ("profile.ui.*", "profile.**"), derive memoized values with Computed, and coalesce burst edits in Batch (suppressing callbacks completely when a batch’s net change is A → B → A).
  6. Atomic Transactions, Guarded Migrations & 16-Step Undo/Redo: db:Transaction(fn) snapshots affected state and rolls back both SavedVariables and undo history cleanly on Lua error or db:Abort().
  7. Midnight SecretGuard, Signed OB1E!... Strings & Optional OmniSync Bridge: Protects every write boundary against Midnight issecretvalue / issecrettable taint, exports authenticated CRC32 + optional 48-bit MAC profile strings (OB1E!...), and pairs with OmniSync via db:EnableOmniSync(namespace) for live CRDT replication.
  8. Standalone 4-Tab Diagnostic Studio (/ob, /omnibase): Inspect registered databases, export/import profile strings, inspect & flush cold vaults, test live 3-gram fuzzy search, monitor 7D context rules, and run the live benchmark suite against AceDB-3.0 in-game.

30-Second Addon Author Quickstart

-- 1. Add "## Dependencies: OmniBase" to your addon's .toc
local OmniBase = LibStub("LibOmniBase-1.0")

-- 2. Create a zero-write CoW database (with optional 7D auto-profile rules)
local db = OmniBase:New("MyAddonDB", {
    profile = {
        scale = 1.0,
        ui = { locked = false, opacity = 0.95 },
    },
}, {
    schemaVersion = 1,
    contextRules = {
        { profile = "MythicPlus", priority = 90, contentType = "mythicplus" },
        { profile = "DelveSolo",  priority = 80, contentType = "delve" },
    },
})

-- 3. React to setting changes without polling
db:Watch("profile.ui.*", function(newVal, oldVal, path)
    print(path, "changed from", oldVal, "to", newVal)
end)

-- 4. Cold Vaults, Roaring ID Sets & Indexed Tables
local vault = db:CreateVault("PriceHistory", { shards = 16, schema = { "itemID", "minBuyout", "seenAt" } })
local owned = db:CreateIdSet("CompletedIDs")
local items = db:CreateTable("Catalog", { primaryKey = "id", rangeIndexes = { "minBuyout" }, textFields = { "name" } })

-- Optional: 1-line migration from AceDB-3.0 & 1-line live sync when OmniSync is installed
-- db:ImportAceDB(MyLegacyAceDBSavedVar)
-- db:EnableOmniSync("MyAddon:Profile")

Slash Commands (Standalone Studio)

  • /ob or /omnibase — Open the 4-tab OmniBase Diagnostic Studio
  • /ob bench — Run the in-game benchmark suite comparing OmniBase vs. AceDB-3.0 & raw SavedVariables
  • /ob stats — Print active databases, shard hydrations, blocked secrets, rollbacks & idle CPU metrics
  • /ob flush — Flush dirty cold-vault shards and compact Roaring ID sets

Required Dependency Policy & License: All Rights Reserved (c) 2026 XyGoT. OmniBase is non-embeddable — third-party addons may not bundle, copy, or redistribute LibOmniBase-1.0 files inside their own archives (enforced by license and runtime guard). To use OmniBase, other addon makers are required to list standalone OmniBase as a Required Dependency on CurseForge (under Project/File Relations) and declare ## Dependencies: OmniBase in their .toc, accessing it via LibStub("LibOmniBase-1.0").

OmniBase Team

profile avatar
Owner
  • 1
    Followers
  • 8
    Projects
  • 86.3K
    Downloads
Donate

More from XyGoTView all

  • Fishing Buddy Forever project image

    Fishing Buddy Forever

    Fishing Buddy Forever - The actively maintained, modernized Fishing Buddy overhaul featuring double-click Easy Cast, smart auto-luring, one-click outfit swapping, and live catch tracking—updated fast for every patch.

    • 59.9K
    • December 4, 2026
  • OmniUI project image

    OmniUI

    Drop-in replacement for AceGUI, AceConfig, AceDBOptions, LibUIDropDownMenu & LibQTip: 100k+ row virtual tables/trees (9,090x fewer frames), O(1) reactive signals, Ctrl+F schemas, zero-taint menus, 0-frame OmniTip & Midnight SecretGuard.

    • 563
    • December 4, 2026
  • OmniSearch project image

    OmniSearch

    An in-game search and filtering library featuring typo-tolerant fuzzy matching, smart bag and tooltip queries by item level or stats, Cyrillic text normalization, and a live search studio.

    • 514
    • December 4, 2026
  • OmniSync project image

    OmniSync

    Zero-dependency player-to-player state syncing library & studio: CRDTs, 1-packet IBLT reconciliation, rateless Fountain multicast, Trickle suppression, Dead-Drops & BNet mesh.

    • 3.3K
    • December 3, 2026
  • Fishing Buddy Forever project image

    Fishing Buddy Forever

    Fishing Buddy Forever - The actively maintained, modernized Fishing Buddy overhaul featuring double-click Easy Cast, smart auto-luring, one-click outfit swapping, and live catch tracking—updated fast for every patch.

    • 59.9K
    • December 4, 2026
  • OmniUI project image

    OmniUI

    Drop-in replacement for AceGUI, AceConfig, AceDBOptions, LibUIDropDownMenu & LibQTip: 100k+ row virtual tables/trees (9,090x fewer frames), O(1) reactive signals, Ctrl+F schemas, zero-taint menus, 0-frame OmniTip & Midnight SecretGuard.

    • 563
    • December 4, 2026
  • OmniSearch project image

    OmniSearch

    An in-game search and filtering library featuring typo-tolerant fuzzy matching, smart bag and tooltip queries by item level or stats, Cyrillic text normalization, and a live search studio.

    • 514
    • December 4, 2026
  • OmniSync project image

    OmniSync

    Zero-dependency player-to-player state syncing library & studio: CRDTs, 1-packet IBLT reconciliation, rateless Fountain multicast, Trickle suppression, Dead-Drops & BNet mesh.

    • 3.3K
    • December 3, 2026