Thanks for your interest in improving the frontend for Astroid — the Financial Operating System for autonomous AI agents on Stellar. We develop in the open and welcome issues, discussion, and pull requests.
git clone https://github.com/ASTROIDX556/astroid-web.git
cd astroid-web
npm install
npm run dev # start the Next.js dev server
npm run typecheck # strict TypeScript checking
npm run lint # ESLint + PrettierThe web app is a Next.js App Router project using TypeScript, Tailwind CSS,
Framer Motion, TanStack Query, and Recharts. When NEXT_PUBLIC_API_URL is
unset the app runs against built-in mock data so every screen renders without a
backend.
- Strict TypeScript.
strictis on andanyis banned. Prefer generics and precise types. - Design tokens. Use the tokens defined in
src/styles/tokens.css— never hard-code colors, radii, or spacing. - Component conventions. Reusable primitives live in
components/, feature-specific widgets infeatures/. Keep components focused and composable. - Conventional Commits.
feat:,fix:,docs:,test:,refactor:,chore:, etc. - Accessibility. WCAG AA minimum. Keyboard navigation, focus indicators, and screen reader labels are required.
npm run typecheck && npm run lint && npm run buildall pass.- New components use design tokens, not ad-hoc values.
- Visual changes include a screenshot or recording in the PR description.
- Cross-repo contracts (API response shapes, entity names) still match
astroid-api.
main is always releasable. Use feature/* and fix/* branches and open PRs
against main. See the PRD (Document 3) for the full branching model.
By contributing you agree that your contributions are licensed under the MIT License.