Skip to content

RyanLisse/sleepcatch

Repository files navigation

Sleepcatch

demo

An AI-powered platform designed to summarize the latest news efficiently, allowing you to catch up quickly on significant developments that occurred while you were away. Developed during the Encode Club's intensive 6-week AI bootcamp, Sleepcatch represents a convergence of cutting-edge technologies and innovative design.

🔍 Table of Contents

🧱 Stack

  • App Framework: Next.js - A robust React framework that supports server-side rendering and static site generation.

  • UI Components:

    • Shadcn UI - For building fast, responsive interfaces.
    • Aceternity UI - Offers sleek, modular UI components for rapid development.
    • Radix UI - Provides unstyled, accessible components for constructing high-quality design systems.
  • Styling: Tailwind CSS - A utility-first CSS framework designed for quickly creating bespoke designs.

  • API Integration:

    • OpenAI - Delivers scalable generative models.
    • NewsAPI - Fetches news articles from various sources.
    • NewsCatcherApi - Fetches real-time news articles from various sources.
  • Animation Library: Framer Motion - Enables sophisticated animations in React applications.

  • Database and ORM:

  • CLI Tools: Kirimase.dev - Streamlines development in Next.js by integrating essential tools and resources.

🚀 Getting Started

  1. Fork and Clone the Repository Fork the repository to your GitHub account and clone it to your local machine:

    git clone git@github.com/ryanlisse/sleepcatch.git
    cd sleepcatch
  2. Install Dependencies

    bun install # or npm install
  3. Setup Environment Variables Duplicate the example environment file and enter your API keys:

    cp .env.local.example .env.local

    Modify .env.local to include your OpenAI and NewsAPI keys.

  4. Run the Application Locally

    npm run dev

Access the Application

Navigate to the application using the following URL: http://localhost:3000

Key Directories

  • src/app/:

    • This directory contains the main application logic, including pages and layout components.
    • It's central to the frontend logic of the application.
  • src/components/:

    • This directory houses reusable UI components that can be used throughout the application.
    • Helps maintain consistency and reduce code duplication.
  • src/lib/:

    • Contains utility functions and libraries, such as authentication helpers.
    • Supports the application's backend interactions and configurations.

📡 API Flow

mermaid-flow

🌐 Deploy

Deploy your version of Sleepcatch effortlessly using Vercel:

Deploy with Vercel

📚 Background

Sleepcatch is the result of a comprehensive 6-week AI bootcamp by Encode Club, which covered the essentials of machine learning and GPT models to more complex topics like fine-tuning and deploying AI technologies.

Curriculum Highlights

  • Weeks 1-2: Foundations of AI, building simple AI-driven applications.
  • Weeks 3-4: Advanced model training, fine-tuning, and exploring multi-modal AI uses.
  • Week 5: Sponsor presentations and in-depth technical sessions.
  • Week 6: Project development and final presentations.

💡 Contributing

Contributions are welcomed! To get involved:

  1. Create a Fork Begin by forking the repository to your GitHub account.

  2. Create a Branch

    git checkout -b your-branch-name

    Use a descriptive name for your branch, like feature-add-login or bugfix-header-layout.

  3. Make Changes and Commit Implement your changes locally and commit them:

    git add .
    git commit -m "Detailed commit message describing the change"
  4. Push Changes

    git push origin your-branch-name
    
  5. Create a Pull Request Visit the original repository, and you should see a prompt to create a pull request from your branch. Complete the pull request with your changes.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •