Coder Social home page Coder Social logo

folderpocket's Introduction

개요

tree-online에 영감을 얻어 나만의 폴더 구조 생성기를 만듭니다.

요구 사항

  • 폴더 트리 depth를 Tab으로 구분해서 입력하면 폴더 구조로 변환되어 출력된다.
  • 유저명/레포지토리 이름/브랜치을 입력으로 깃허브 레포지토리의 폴더 구조를 생성해낼 수 있다.
  • 커스텀 스타일링을 할 수 있다.

실행 방법

  • node js가 설치가 선행되어야 합니다.(v16.16.0)

  • 만약 pnpm이 설치되어 있지 않은 경우, 아래의 명령어로 pnpm을 설치합니다.

npm i -g pnpm
  • 아래 명령어로 실행시킬 수 있습니다.
pnpm i && pnpm dev

기술 스택

- typescript
- react js
- next js
- jotai
- chakra-ui

폴더 구조

.
├── 📃 .cz-config.js
├── 📃 .eslintignore
├── 📃 .eslintrc.js
├── 📦 .github
│   ├── 📃 ISSUE_TEMPLATE.md
│   └── 📃 PULL_REQUEST_TEMPLATE.md
├── 📃 .gitignore
├── 📦 .husky
│   └── 📃 pre-commit
├── 📃 .prettierrc
├── 📃 README.md
├── 📦 atoms
│   ├── 📃 loading.ts
│   └── 📃 store.ts
├── 📦 components
│   ├── 📃 Loading.tsx
│   └── 📃 index.ts
├── 📦 domains
│   ├── 📦 api
│   │   ├── 📃 github-search.ts
│   │   └── 📃 index.ts
│   ├── 📦 atoms
│   │   ├── 📃 source.ts
│   │   ├── 📃 styling-options.ts
│   │   └── 📃 tree.ts
│   ├── 📦 components
│   │   ├── 📃 ClearButton.tsx
│   │   ├── 📃 CopyButton.tsx
│   │   ├── 📃 FolderInput.tsx
│   │   ├── 📃 SearchGithub.tsx
│   │   ├── 📃 StylingOptions.tsx
│   │   └── 📃 TreeOutput.tsx
│   ├── 📦 core
│   │   ├── 📃 generate-tree.ts
│   │   ├── 📃 index.ts
│   │   ├── 📃 line-strings.ts
│   │   └── 📃 parse-input.ts
│   ├── 📦 hooks
│   │   ├── 📃 useGithubSearch.ts
│   │   ├── 📃 useSearch.ts
│   │   └── 📃 useStylingOptions.ts
│   ├── 📦 types
│   │   ├── 📃 FileStructure.ts
│   │   └── 📃 StylingOptions.ts
│   └── 📦 utils
│       ├── 📃 index.ts
│       ├── 📃 input-validate.ts
│       └── 📃 last.ts
├── 📃 next.config.js
├── 📃 package.json
├── 📦 pages
│   ├── 📃 _app.tsx
│   ├── 📃 _document.tsx
│   ├── 📦 api
│   │   └── 📃 hello.ts
│   └── 📃 index.tsx
├── 📃 pnpm-lock.yaml
├── 📦 public
│   ├── 📃 favicon.ico
│   ├── 📃 next.svg
│   ├── 📃 thirteen.svg
│   └── 📃 vercel.svg
├── 📦 styles
│   └── 📃 global.scss
├── 📃 tsconfig.json
└── 📦 utils
    └── 📦 errors
        ├── 📃 CustomError.ts
        ├── 📃 ErrorAlertError.ts
        ├── 📃 InfoAlertError.ts
        ├── 📃 WarningAlertError.ts
        └── 📃 index.ts

참고 자료

folderpocket's People

Contributors

jqkk avatar

Stargazers

 avatar  avatar

Watchers

 avatar

folderpocket's Issues

입력 시, 트리 출력

🔍 Issue

Input 창에 입력을 하면 Output으로 폴더 구조가 출력됩니다.

✅ To-do

  • Input 컴포넌트 제작
  • Output or Tree 컴포넌트 제작
  • 입력을 폴더 구조로 변환하는 로직 구현

📎 Etc

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.