Open Source GCode merger to be used with Panda Swap
Begin by cloning this repo and installing dependencies
git clone https://github.com/nikpcenicni/panda-swap-app.git | cd panda-swap-app
npm installTo run this project run
npm run devAll commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Inside this project, you'll see the following folders and files:
/
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── FileUpload/
│ │ │ └── ErrorMessage.astro
│ │ │ └── FileList.astro
│ │ │ └── FileUploadCard.astro
│ │ │ └── fileUploadHandlers
│ │ │ └── UploadZone.astro
│ │ └── LanguageSelector/
│ │ │ └── LanguageButton.astro
│ │ │ └── LanguageDropDown.astro
│ │ │ └── LanguageSelector
│ │ └── PrintSummary/
│ │ │ └── CompileButton.astro
│ │ │ └── filamentDisplayHandlers.ts
│ │ │ └── FilamentUsage.astro
│ │ │ └── PrinterInfo.astro
│ │ │ └── PrintSummaryCard.astro
│ │ │ └── printSummaryHandlers.ts
│ │ └── Settings/
│ │ │ └── Settings.astro
│ │ │ └── SettingsIcon.ts
│ │ │ └── FilamentUsage.astro
│ │ │ └── SettingsSection.astro
│ │ │ └── TextareaSetting.astro
│ │ │ └── ToggleSetting.astro
│ │ └── ThemeToggle/
│ │ │ └── ThemeIcons.astro
│ │ │ └── themeToggle.ts
│ │ └── Card.astro
│ │ └── Header.astro
│ │ └── Card.astro
│ ├── i18n/
│ │ └── translations/
│ │ └── config.ts
│ │ └── utils.ts
│ ├── layouts/
│ │ └── Layout.astro
│ ├── pages/
│ │ └── index.astro
│ ├── store/
│ │ └── file-store.ts
│ │ └── language-store.ts
│ │ └── settings-store.ts
│ │ └── theme-store.ts
│ ├── types/
│ │ └── gcode.ts
│ │ └── language.ts
│ │ └── settings.ts
│ │ └── theme.ts
│ ├── utils/
│ │ └── FileUpload/
│ │ │ └── filament-calculator.ts
│ │ │ └── file-handlers.ts
│ │ │ └── file-list-template.ts
│ │ │ └── gcode-parser.ts
│ │ │ └── gcode-preview-handlers.ts
│ │ │ └── sortable-handlers.ts
│ │ └── i18n/
│ │ │ └── language-handlers.ts
│ │ │ └── translations-handlers.ts
│ │ └── PrintSummary/
│ │ │ └── gcode-handlers.ts
│ │ └── format-handlers.ts
│ │ └── settings-handlers.ts
│ │ └── theme-handlers.ts
│ └── utils/
│ └── index.astro
└── package.json