8000 GitHub - ekaone/bolt-rules: Chat World’s Largest Hackathon presented by Bolt (the “Hackathon”) Official Rules
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ekaone/bolt-rules

Repository files navigation

Bolt Hackathon Rules

A Chatbot for the World's Largest Hackathon presented by Bolt. This app provides official hackathon rules. This is use Static Knowledge generated by Firecrawl, the file available at data/rules.md.

Features

  • Displays official hackathon rules in markdown
  • Chatbot powered by AI SDK

Getting Started

  1. Install dependencies:

    pnpm install
  2. Set up environment variables:

    • Create a .env file in the project root:
      OPENAI_API_KEY=your_api_key_here
      GOOGLE_GENERATIVE_AI_API_KEY=your_api_key_here
      FIRECRAWL_API_KEY=your_api_key_here
  3. Run the development server:

    pnpm dev

    Open http://localhost:3000 in your browser.

Running the Crawler

To crawl and save the hackathon rules as markdown:

  1. Make sure your .env file is set up with your Firecrawl API key.
  2. Run:
    pnpm exec tsx lib/scrap.ts
    or use the script:
    pnpm scrape
  3. The crawled markdown will be saved to data/crawled-rules.md.

Updating the Rules

  • To update the rules shown in the app, re-run the crawler as above.
  • The markdown file in data/crawled-rules.md will be updated with the latest content.

Favicon Usage

  • The favicon is set using app/favicon.svg.
  • To change the favicon, replace the SVG file at app/favicon.svg.
  • The favicon is referenced in app/layout.tsx via the metadata.icons property.

License

MIT

About

Chat World’s Largest Hackathon presented by Bolt (the “Hackathon”) Official Rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0