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.
โโโ .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
- 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.
- 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.
- Step 1
OPENAI_API_KEY=
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
- Website: https://diff-ai.vercel.app/