{"repo":"jackson-peg/act-vite","free":true,"listed":false,"github":"https://github.com/jackson-peg/act-vite","clone":"git clone https://github.com/jackson-peg/act-vite.git","description":"A developer framework for building Discord Activities. Handles OAuth, proxying, and participant tracking so you can focus on what matters.","language":"TypeScript","stars":136,"topics":["discord","discord-activity","discord-embedded-app","typescript","developer-tools","javacript","monorepo","nodejs","oauth2","open-source"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"A developer framework for building Discord Activities. Handles OAuth, proxying, and participant tracking — so you can focus on building. Documentation &nbsp;&nbsp;·&nbsp;&nbsp; Quick Start &nbsp;&nbsp;·&nbsp;&nbsp; Examples &nbsp;&nbsp;·&nbsp;&nbsp; Changelog --- Act-Vite is a framework for building Discord Activities — the interactive embedded apps that run inside Discord voice channels. It was built because the alternative is copying the same OAuth boilerplate, proxy configuration, and participant tracking logic into every new project, and that gets old fast. It wraps Discord's Embedded App SDK and handles the initialization ceremony: SDK setup, OAuth2 authorization, token exchange, iframe proxying, and participant subscriptions. What's left is your actual application. Installation Node.js 18 or higher is required. Quick Start Or install manually: Framework Integrations Framework Import --- --- React import { useActivity, useParticipants } from 'act-vite/react' Vue 3 import { useActivity } from 'act-vite/vue' Svelte import { useActivity } from 'act-vite/svelte' Vanilla TypeScript import { createActivity } from 'act-vite' Server-side token exchange is available for Express, Hono, and Fastify via act-vite/server . What It Handles Authentication. The Discord OAuth2 flow, code-to-token exchange, and SDK authentication are handled automatically by createActivity() . You provide a client ID and a token exchange endpoint; Act-Vite does the rest. Proxying. Discord Activities run in","default_branch":null,"files":null,"tree":[],"storefront":"/r/jackson-peg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jackson-peg/act-vite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}