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

HuggingFace hugging-face Updated: 1/1/1970

AI-Context-Generation-Interviews

No description provided

HuggingFace hugging-face Updated: 1/1/1970

Human-To-AI-Text-Converter

No description provided

HuggingFace hugging-face Updated: 1/1/1970

AI-Assistants-Library

No description provided

HuggingFace hugging-face Updated: 1/1/1970

AI-Project-Index

No description provided

HuggingFace hugging-face Updated: 1/1/1970

Integration Guide

To use the database in your pages:

  1. Import query functions from src/lib/db.js
  2. Call them in the frontmatter (runs at build time)
  3. 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>
))}