Skip to content

stan-smith/FossFLOW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FossFLOW - Isometric Diagramming Tool

FossFLOW is a powerful, open-source Progressive Web App (PWA) for creating beautiful isometric diagrams. Built with React and the Isoflow (Now forked and published to NPM as fossflow) library, it runs entirely in your browser with offline support.

Screenshot_20250630_160954

  • πŸ“ FOSSFLOW_TODO.md - Current issues and roadmap with codebase mappings, most gripes are with the isoflow library itself.
  • 🀝 CONTRIBUTORS.md - How to contribute to the project.

Recent Updates (August 2025)

Custom Icon Import

  • Import Your Own Icons - Upload custom icons (PNG, JPG, SVG) to use in your diagrams
  • Automatic Scaling - Icons are automatically scaled to consistent sizes for professional appearance
  • Isometric/Flat Toggle - Choose whether imported icons appear as 3D isometric or flat 2D
  • Smart Persistence - Custom icons are saved with diagrams and work across all storage methods
  • Icon Resources - Find free icons at:

Server Storage Support

  • Persistent Storage - Diagrams saved to server filesystem, persist across browser sessions
  • Multi-device Access - Access your diagrams from any device when using Docker deployment
  • Automatic Detection - UI automatically shows server storage when available
  • Overwrite Protection - Confirmation dialog when saving with duplicate names
  • Docker Integration - Server storage enabled by default in Docker deployments

Enhanced Interaction Features

  • Configurable Hotkeys - Three profiles (QWERTY, SMNRCT, None) for tool selection with visual indicators
  • Advanced Pan Controls - Multiple pan methods including empty area drag, middle/right click, modifier keys (Ctrl/Alt), and keyboard navigation (Arrow/WASD/IJKL)
  • Toggle Connector Arrows - Option to show/hide arrows on individual connectors
  • Persistent Tool Selection - Connector tool remains active after creating connections
  • Settings Dialog - Centralized configuration for hotkeys and pan controls

Docker & CI/CD Improvements

  • Automated Docker Builds - GitHub Actions workflow for automatic Docker Hub deployment on commits
  • Multi-architecture Support - Docker images for both linux/amd64 and linux/arm64
  • Pre-built Images - Available at stnsmith/fossflow:latest

Monorepo Architecture

  • Single repository for both library and application
  • NPM Workspaces for streamlined dependency management
  • Unified build process with npm run build at the root

UI Fixes

  • Fixed Quill editor toolbar icons display issue
  • Resolved React key warnings in context menus
  • Improved markdown editor styling

Features

  • 🎨 Isometric Diagramming - Create stunning 3D-style technical diagrams
  • πŸ’Ύ Auto-Save - Your work is automatically saved every 5 seconds
  • πŸ“± PWA Support - Install as a native app on Mac and Linux
  • πŸ”’ Privacy-First - All data stored locally in your browser
  • πŸ“€ Import/Export - Share diagrams as JSON files
  • 🎯 Session Storage - Quick save without dialogs
  • 🌐 Offline Support - Work without internet connection
  • πŸ—„οΈ Server Storage - Optional persistent storage when using Docker (enabled by default)

Try it online

Go to https://stan-smith.github.io/FossFLOW/

🐳 Quick Deploy with Docker

# Using Docker Compose (recommended - includes persistent storage)
docker compose up

# Or run directly from Docker Hub with persistent storage
docker run -p 80:80 -v $(pwd)/diagrams:/data/diagrams stnsmith/fossflow:latest

Server storage is enabled by default in Docker. Your diagrams will be saved to ./diagrams on the host.

To disable server storage, set ENABLE_SERVER_STORAGE=false:

docker run -p 80:80 -e ENABLE_SERVER_STORAGE=false stnsmith/fossflow:latest

Quick Start (Local Development)

# Clone the repository
git clone https://github.com/stan-smith/FossFLOW
cd FossFLOW

# Install dependencies
npm install

# Build the library (required first time)
npm run build:lib

# Start development server
npm run dev

Open http://localhost:3000 in your browser.

Monorepo Structure

This is a monorepo containing two packages:

  • packages/fossflow-lib - React component library for drawing network diagrams (built with Webpack)
  • packages/fossflow-app - Progressive Web App for creating isometric diagrams (built with RSBuild)

Development Commands

# Development
npm run dev          # Start app development server
npm run dev:lib      # Watch mode for library development

# Building
npm run build        # Build both library and app
npm run build:lib    # Build library only
npm run build:app    # Build app only

# Testing & Linting
npm test             # Run tests
npm run lint         # Check for linting errors

# Publishing
npm run publish:lib  # Publish library to npm

How to Use

Creating Diagrams

  1. Add Items:

    • Press the "+" button on the top right menu, the library of components will appear on the left
    • Drag and drop components from the library onto the canvas
    • Or right-click on the grid and select "Add node"
  2. Connect Items: Use connectors to show relationships

  3. Save Your Work:

    • Quick Save - Saves to browser session
    • Export - Download as JSON file
    • Import - Load from JSON file

Storage Options

  • Session Storage: Temporary saves cleared when browser closes
  • Export/Import: Permanent storage as JSON files
  • Auto-Save: Automatically saves changes every 5 seconds to session

Contributing

We welcome contributions! Please see CONTRIBUTORS.md for guidelines.

Documentation

License

MIT

About

Make beautiful isometric infrastructure diagrams

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project