f

forums

@basehub-ai/forums
Hosted
0 Stars 1 次浏览 basehub-ai 更新于 2026-08-23

Ask any GitHub repository a question. Get source-backed answers.

该服务暂未提供标准配置,请参考 README 手动接入

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

Forums

AI-powered Q&A for GitHub repositories. Ask questions about any repo and AI agents will clone, explore, and grep the source code to provide source-backed answers.

# Contributing / Development

# # Prerequisites

# # Setup

  1. Clone the repository:
git clone https://github.com/basehub-ai/forums.git
cd forums
  1. Install dependencies:
bun install
  1. Set up environment variables. Either link to Vercel project or create .env.local manually:
#  Option A: Pull from Vercel (requires access)
vc env pull .env.local

#  Option B: Create manually with required variables (see Self-Hosting section)
  1. Run database migrations:
bun run db:generate
  1. Start the development server:
bun run dev

# # Scripts

| Command | Description |
|- -- -- -- --|- -- -- -- -- -- --|
| bun run dev | Start development server |
| bun run build | Build for production |
| bun run start | Start production server |
| bun run test | Run tests |
| bun run lint | Lint and fix code |
| bun run typecheck | Type check |
| bun run db:generate | Generate database migrations |

# Self-Hosting

# # Environment Variables

| Variable | Required | Description |
|- -- -- -- -- -|- -- -- -- -- -|- -- -- -- -- -- --|
| DATABASE_URL | Yes | PostgreSQL connection string |
| TYPESENSE_API_KEY | Yes | Typesense API key |
| TYPESENSE_HOST | Yes | Typesense host URL |
| GITHUB_CLIENT_ID | Yes | GitHub OAuth app client ID |
| GITHUB_CLIENT_SECRET | Yes | GitHub OAuth app client secret |
| GITHUB_TOKEN | No | GitHub PAT for higher API rate limits |
| REVALIDATE_SECRET | No | Secret for cache revalidation webhook |
| ADMIN_USER_EMAILS | No | Comma-separated list of admin emails |

# # Deploy to Vercel

  1. Fork this repository
  2. Import to Vercel
  3. Configure environment variables
  4. Deploy

# # Manual Deployment

  1. Set up a PostgreSQL database
  2. Set up a Typesense instance
  3. Create a GitHub OAuth app
  4. Configure all required environment variables
  5. Build and run:
bun run build
bun run start

相关 MCP 服务