https://github.com/ekafyi/starter-astro-adk-js
Astro + ADK TypeScript starter site
https://github.com/ekafyi/starter-astro-adk-js
adk adk-js adk-ts agent-development-kit astro
Last synced: 5 months ago
JSON representation
Astro + ADK TypeScript starter site
- Host: GitHub
- URL: https://github.com/ekafyi/starter-astro-adk-js
- Owner: ekafyi
- Created: 2026-01-01T10:40:37.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-03T05:40:13.000Z (6 months ago)
- Last Synced: 2026-01-06T07:56:39.530Z (5 months ago)
- Topics: adk, adk-js, adk-ts, agent-development-kit, astro
- Language: TypeScript
- Homepage:
- Size: 336 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Astro + ADK TypeScript starter site
Clone of [this Next.js starter](https://github.com/ekafyi/starter-nextjs-adk-js/tree/main) in [Astro](https://astro.build).
## DB commands
- `npm run db:push` - Push schema changes to the database. **Remote only** (requires `ASTRO_DB_REMOTE_URL`). Local DB is managed automatically.
- `npm run db:verify` - Verify database configuration. **Remote only**.
- `npm run db:seed` - Execute the seed file. **Runs automatically** during `npm run dev`. Use manually to re-seed.
- `npm run db:shell` - Open interactive database shell for **local** database. Requires a query flag:
```bash
npm run db:shell -- --query "SELECT * FROM Users"
npm run db:shell -- --query "SELECT * FROM Sessions"
```
## Verifying Data Persistence
To check if data is being saved to the `Sessions` table, run the following command in your terminal:
```bash
npm run db:shell -- --query "SELECT * FROM Sessions where userId = 'testuser'"
```
Alternatively, you can use `sqlite`.
```bash
sqlite3 .astro/content.db "SELECT * FROM Sessions WHERE userId = 'testuser';"
```
You should see a list of session records including `id`, `user_id`, `events`, and `created_at`.