FileStruct is a project developed using Next.js 13 with Shadcn for UI. It allows users to generate an ASCII file tree by pasting a GitHub repository link. The project is deployed on Vercel, offering a user-friendly interface for visualizing the structure of GitHub repositories.
βββ .eslintrc.json
βββ .gitignore
βββ README.md
βββ app
β βββ favicon.ico
β βββ generate
β β βββ page.tsx
β βββ globals.css
β βββ layout.tsx
β βββ page.tsx
βββ components.json
βββ components
β βββ Footer.tsx
β βββ Form.tsx
β βββ Header.tsx
β βββ ProjectStruct.tsx
β βββ theme-provider.tsx
β βββ ui
β βββ button.tsx
β βββ input.tsx
β βββ toast.tsx
β βββ toaster.tsx
β βββ use-toast.ts
βββ lib
β βββ fileTree.ts
β βββ utils.ts
βββ next.config.js
βββ package-lock.json
βββ package.json
βββ postcss.config.js
βββ public
β βββ next.svg
β βββ vercel.svg
βββ state
β βββ tree-structure.ts
βββ tailwind.config.ts
βββ tsconfig.json
βββ types
βββ index.ts- app: Main application logic and entry point.
- components: Reusable UI components used throughout the application.
- lib: External libraries or utility functions used in the project.
- public: Static assets accessible to the public.
- state: State management code, such as Redux reducers and actions.
- types: Custom type definitions used in the project.
- app/generate: Code related to generating or scaffolding new files or components.
- components/ui: UI-specific components used in the application.
- app/generate: Code related to generating or scaffolding new files or components.
- app/generate: Code related to generating or scaffolding new files or components.
- axios: Promise-based HTTP client for making API requests.
- next: React framework for building server-rendered applications.
- react: JavaScript library for building user interfaces.
- react-dom: Package for rendering React components in the browser.
- react-icons: Collection of popular icons as React components.
- tailwindcss: Utility-first CSS framework for quickly building custom designs.
- zustand: Small and fast state management library for React.
- typescript: Typed superset of JavaScript that compiles to plain JavaScript.
1.Clone the filestruct-rust repository:
git clone https://github.com/codescalper/filestruct-rust2.Install the dependencies with one of the package managers listed below:
npm install3.Start the development mode:
npm run dev