🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

pi-roblox-docs

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-roblox-docs

Pi native Roblox documentation tools without a background MCP server.

latest
Source
npmnpm
Version
0.3.8
Version published
Maintainers
1
Created
Source

pi-roblox-docs

CI Publish npm version npm downloads License: MIT Pi package Trusted Publishing Buy Me A Coffee

Pi-native Roblox API and Luau docs lookup from a local cache — no resident MCP server or background daemon.

What this is

pi-roblox-docs registers Roblox documentation tools directly inside Pi's TypeScript extension runtime with pi.registerTool().

  • No MCP server, uvx, or background Node daemon
  • Local cache from public Roblox API dumps for fast offline lookup
  • Typed tools for classes, members, enums, Luau globals, and DevForum search
  • Slash commands for sync, health, DevForum search, and cache maintenance

For maintenance direction and phased goals, see ROADMAP.md.

Features

Tools

ToolPurpose
roblox_syncDownload or update the local Roblox API cache
roblox_healthShow cache/index status and freshness
roblox_searchSearch classes, members, and enums
roblox_get_classShow one class with grouped members
roblox_get_memberShow one class member
roblox_get_enumShow enum values
roblox_lookup_enumResolve fuzzy enum names or near-miss aliases
roblox_get_luau_globalLook up Luau built-ins and Roblox globals/libraries
roblox_search_devforumSearch Roblox Developer Forum discussions
roblox_clear_cacheDelete the package-owned local cache

Commands

CommandPurpose
/roblox:syncSync local Roblox docs cache
/roblox:sync --forceRedownload even when versions match
/roblox:healthShow cache/index status and freshness
/roblox:devforum <query>Search DevForum discussions
/roblox:clear-cacheDelete local cache after confirmation

Install

From npm:

pi install npm:pi-roblox-docs

From GitHub:

pi install git:github.com/eiei114/pi-roblox-docs

Local development:

git clone https://github.com/eiei114/pi-roblox-docs.git
cd pi-roblox-docs
npm ci
pi -e ./extensions/roblox-docs.ts

Quick start

  • Install the package (see above).

  • Sync the local cache:

    /roblox:sync
    

    or call roblox_sync with force=false.

  • Ask Roblox API questions in Pi, for example:

    • "How do I use TweenService?"
    • "What enum values does EasingStyle have?"
    • "What does task.wait do?"

Usage summary

After the first sync, use roblox_search, roblox_get_class, roblox_get_member, roblox_get_enum, and roblox_lookup_enum for Roblox instance APIs. Use roblox_get_luau_global for Luau built-ins and Roblox globals such as math, task, and typeof.

roblox_health and /roblox:health report cache freshness with a 7-day stale threshold. Run roblox_sync when the cache is stale or missing.

For detailed workflows, cache policy, Luau-vs-class guidance, and tool examples, see:

Package contents

PathPurpose
extensions/Pi TypeScript extension entrypoint and helper modules
docs/Optional supporting docs (usage, examples, release)
README.mdGitHub/npm entrypoint
LICENSEMIT license
CHANGELOG.mdRelease history
SECURITY.mdVulnerability reporting
ROADMAP.mdMaintenance direction and phased goals

Development

npm ci
npm run check

Release

This package is configured for npm Trusted Publishing. No NPM_TOKEN is stored in the repo.

npm version patch
git push

See docs/release.md for Trusted Publishing setup and workflow details.

Docs

docs/ is optional supporting documentation, not a fixed template doc set. README stays the GitHub/npm entrypoint.

Security

Pi packages can execute code with your local permissions. This extension downloads public Roblox API dumps, may query the Roblox Developer Forum, and writes cache files under an OS-specific package-owned directory. Review extensions before installing third-party packages.

For vulnerability reporting, see SECURITY.md.

License

MIT

Keywords

pi-package

FAQs

Package last updated on 04 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts