Skip to content

DRYTRIX/PatternSoft

Repository files navigation

PatternSoft

Desktop software for designing and adapting sewing patterns: a pattern repository, parametric design (FreeSewing), and visual pattern drawing with grading.

Features (planned)

  • Repository: Local library of patterns with metadata, search, and organization
  • Size adaptation: Generate or grade patterns to multiple sizes
  • Parametric: Use FreeSewing designs with your measurements; generate all sizes
  • Visual: Draw pattern pieces on a canvas and apply grading rules

Tech stack

  • Desktop: Tauri 2 (Rust + system WebView)
  • Frontend: React, TypeScript, Vite, Tailwind CSS
  • Parametric engine: FreeSewing (@freesewing/core and designs)
  • Data: SQLite (repository metadata), JSON project files (visual patterns)

Prerequisites

  • Node.js 20+ and npm
  • Rust (for building the Tauri desktop app): rustup

Development

npm install
npm run dev        # Vite only (browser)
npm run tauri dev  # Tauri + Vite (desktop window; requires Rust)

Build

npm run build
npm run tauri:build

On Windows, this produces:

  • Standalone executable: src-tauri/target/release/patternsoft.exe
  • Installers: src-tauri/target/release/bundle/ (e.g. msi/ and/or nsis/)

Tip: npm run version:check verifies package.json, src-tauri/tauri.conf.json, and src-tauri/Cargo.toml all share the same version.

GitHub Actions builds

  • CI artifact build: runs on PRs and pushes to main via .github/workflows/build-windows.yml and uploads the .exe + installers as workflow artifacts.
  • Release build: push a tag like v0.1.0 to trigger .github/workflows/release.yml, which builds and attaches the .exe + installers to a GitHub Release.

Project layout

  • src/ — React frontend (UI, views, components, hooks)
  • src-tauri/ — Tauri Rust backend (commands, file I/O, future native logic)
  • docs/ — Architecture and data model documentation

See docs/architecture.md and docs/data-model.md for design details.

License

MIT (or as specified in the repo).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors