Skip to content

Windows support #1

Description

@om1ji

Overview

Port devscout to Windows. Due to platform differences this is essentially a rewrite rather than a port.

Why it's non-trivial

  • Swift has poor Windows support (Foundation, Process, FileManager are limited)
  • All paths are macOS-specific (~/Library/, /opt/homebrew, du -sk, etc.)
  • Windows has its own developer clutter in different locations

Plan

Rewrite in Rust or Go for true cross-platform support:

  • Single codebase, native binaries for both platforms
  • Share the Category + SubAnalyzer architecture
  • Split categories into categories_macos and categories_windows

Windows paths to cover

  • %LOCALAPPDATA%\NuGet\Cache — NuGet
  • %APPDATA%\npm-cache — npm
  • %LOCALAPPDATA%\Android\Sdk — Android SDK
  • %LOCALAPPDATA%\Microsoft\VisualStudio — VS build cache
  • %LOCALAPPDATA%\Temp — temp files
  • %USERPROFILE%\.cargo — Rust/Cargo
  • %USERPROFILE%\.gradle — Gradle
  • %USERPROFILE%\.m2 — Maven
  • %APPDATA%\Python — Python
  • Docker Desktop data root

Contributions welcome

If you're a Windows developer and want to contribute, this would be a great starting point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions