Database Integration Example
Projects fetched from Neon Postgres
Project Statistics
Total projects in database: 948
GitHub github
847
HuggingFace hugging-face
101
Recent GitHub Repositories (0)
Hugging Face Models (0)
AI-Related Projects (5)
Projects containing "AI" in name or description
Penpal-AI-Interface
No description provided
AI-Context-Generation-Interviews
No description provided
Human-To-AI-Text-Converter
No description provided
AI-Assistants-Library
No description provided
AI-Project-Index
No description provided
Integration Guide
To use the database in your pages:
- Import query functions from
src/lib/db.js - Call them in the frontmatter (runs at build time)
- Use the returned data in your template
---
import { getGitHubRepos } from '../../lib/db.js';
const repos = await getGitHubRepos({ limit: 10 });
---
{repos.map(repo => (
<div>{repo.name}</div>
))}