Giter Club home page Giter Club logo

codescalper / diff.ai Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 887 KB

diff.ai is an AI-powered tool that generates differences between two given topics in Markdown format. It also has an option to create acronyms for parameters inside the table. It's made with Next.js 14, Shadcn for UI, Vercel AI-SDK, and deployed on Vercel.

Home Page: https://diff-ai.vercel.app

CSS 5.63% TypeScript 93.94% JavaScript 0.44%
next vercel-ai-sdk vercel-deployment nextjs shadcn-ui

diff.ai's Introduction

Banner

GitHub code size in bytes GitHub last commit GitHub commit activity month GitHub license

๐Ÿ“Œ Overview

diff.ai is an AI-powered tool that generates differences between two given topics in Markdown format. It also has an option to create acronyms for parameters inside the table. It's made with Next.js 14, Shadcn for UI, Vercel AI-SDK, and deployed on Vercel.

๐Ÿ” Table of Contents

๐Ÿ“ Project Structure

โ”œโ”€โ”€ .eslintrc.json
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ app
โ”‚   โ”œโ”€โ”€ api
โ”‚   โ”‚   โ””โ”€โ”€ chat
โ”‚   โ”‚       โ””โ”€โ”€ route.ts
โ”‚   โ”œโ”€โ”€ favicon.ico
โ”‚   โ”œโ”€โ”€ globals.css
โ”‚   โ”œโ”€โ”€ layout.tsx
โ”‚   โ””โ”€โ”€ page.tsx
โ”œโ”€โ”€ components.json
โ”œโ”€โ”€ components
โ”‚   โ”œโ”€โ”€ Diff.tsx
โ”‚   โ”œโ”€โ”€ Footer.tsx
โ”‚   โ”œโ”€โ”€ Header.tsx
โ”‚   โ”œโ”€โ”€ theme-provider.tsx
โ”‚   โ””โ”€โ”€ ui
โ”‚       โ”œโ”€โ”€ button.tsx
โ”‚       โ”œโ”€โ”€ checkbox.tsx
โ”‚       โ”œโ”€โ”€ drawer.tsx
โ”‚       โ”œโ”€โ”€ input.tsx
โ”‚       โ”œโ”€โ”€ sonner.tsx
โ”‚       โ”œโ”€โ”€ toast.tsx
โ”‚       โ”œโ”€โ”€ toaster.tsx
โ”‚       โ””โ”€โ”€ use-toast.ts
โ”œโ”€โ”€ lib
โ”‚   โ””โ”€โ”€ utils.ts
โ”œโ”€โ”€ next.config.js
โ”œโ”€โ”€ package-lock.json
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ postcss.config.js
โ”œโ”€โ”€ public
โ”‚   โ”œโ”€โ”€ 1.png
โ”‚   โ”œโ”€โ”€ 2.png
โ”‚   โ”œโ”€โ”€ 3.png
โ”‚   โ”œโ”€โ”€ next.svg
โ”‚   โ”œโ”€โ”€ vercel.svg
โ”‚   โ””โ”€โ”€ vs.png
โ”œโ”€โ”€ tailwind.config.ts
โ””โ”€โ”€ tsconfig.json

๐Ÿ“ Project Summary

  • app: Main application directory containing the core functionalities and logic.
  • app/api: Directory for API-related modules and services.
  • app/api/chat: Specific directory for chat-related API functionalities which comes with vercel AI SDK.
  • components: Directory for reusable components used throughout the application.
  • components/ui: Directory for UI-specific components - ShadCN UI.
  • lib: Directory for external libraries and dependencies.
  • public: Directory for public assets such as images, fonts, and static files.

๐Ÿ’ป Stack

  • next: React framework for building server-side rendered and static websites.
  • react: JavaScript library for building user interfaces.
  • react-dom: Provides DOM-specific methods for React.
  • react-icons: Collection of popular icons as React components.
  • tailwindcss: Utility-first CSS framework for quickly building custom designs.
  • typescript: Superset of JavaScript that adds static typing to the language.
  • eslint: Pluggable linting utility for JavaScript and TypeScript.
  • postcss: Tool for transforming CSS with JavaScript plugins.

โš™๏ธ Setting Up

Your Environment Variable

  • Step 1
OPENAI_API_KEY=

๐Ÿš€ Run Locally

1.Clone the diff.ai repository:

git clone https://github.com/codescalper/diff.ai

2.Install the dependencies with one of the package managers listed below:

npm install

3.Start the development mode:

npm run dev

๐Ÿ™Œ Contributors

๐ŸŒ Website

diff.ai's People

Contributors

codescalper avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.