MCPcopy Index your code
hub / github.com/develar/app-builder

github.com/develar/app-builder @v4.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.2.0 ↗ · + Follow
456 symbols 1,561 edges 72 files 50 documented · 11% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

app-builder

Generic helper tool to build app in a distributable formats. Used by electron-builder but applicable not only for building Electron applications.

usage: app-builder [<flags>] <command> [<args> ...]

app-builder

Flags:
  --help     Show context-sensitive help (also try --help-long and --help-man).
  --version  Show application version.

Commands:
  help [<command>...]
    Show help.


  blockmap --input=INPUT [<flags>]
    Generates file block map for differential update using content defined
    chunking (that is robust to insertions, deletions, and changes to input
    file)

    -i, --input=INPUT       input file
    -o, --output=OUTPUT     output file
    -c, --compression=gzip  compression, one of: gzip, deflate

  download --url=URL --output=OUTPUT [<flags>]
    Download file.

    -u, --url=URL        The URL.
    -o, --output=OUTPUT  The output file.
        --sha512=SHA512  The expected sha512 of file.

  download-artifact --name=NAME --url=URL [<flags>]
    Download, unpack and cache artifact from GitHub.

    -n, --name=NAME      The artifact name.
    -u, --url=URL        The artifact URL.
        --sha512=SHA512  The expected sha512 of file.

  copy --from=FROM --to=TO [<flags>]
    Copy file or dir.

    -f, --from=FROM
    -t, --to=TO
        --hard-link  Whether to use hard-links if possible

  appimage --app=APP --stage=STAGE --output=OUTPUT [<flags>]
    Build AppImage.

    -a, --app=APP                  The app dir.
    -s, --stage=STAGE              The stage dir.
    -o, --output=OUTPUT            The output file.
        --arch=x64                 The arch.
        --compression=COMPRESSION  The compression.
        --remove-stage             Whether to remove stage after build.

  snap --app=APP --stage=STAGE --output=OUTPUT [<flags>]
    Build snap.

    -t, --template=TEMPLATE  The template file.
    -u, --template-url=TEMPLATE-URL
                             The template archive URL.
        --template-sha512=TEMPLATE-SHA512
                             The expected sha512 of template archive.
    -a, --app=APP            The app dir.
    -s, --stage=STAGE        The stage dir.
        --icon=ICON          The path to the icon.
        --hooks=HOOKS        The hooks dir.
        --arch=amd64         The arch.
    -o, --output=OUTPUT      The output file.
        --docker-image="snapcore/snapcraft:latest"
                             The docker image.
        --docker             Whether to use Docker.
        --remove-stage       Whether to remove stage after build.

  icon --input=INPUT --format=FORMAT --out=OUT [<flags>]
    create ICNS or ICO or icon set from PNG files

    -i, --input=INPUT ...  input directory or file
    -f, --format=FORMAT    output format
        --out=OUT          output directory
    -r, --root=ROOT ...    base directory to resolve relative path

  dmg --volume=VOLUME [<flags>]
    Build dmg.

    --volume=VOLUME
    --icon=ICON
    --background=BACKGROUND

Extension points exported contracts — how you extend this code

MessageError (Interface)
(no doc) [3 implementers]
pkg/util/messageError.go

Core symbols most depended-on inside this repo

String
called by 141
pkg/util/osName.go
Error
called by 32
pkg/util/messageError.go
Debug
called by 29
pkg/log/log.go
Close
called by 23
pkg/util/util.go
AppendString
called by 18
pkg/zap-cli-encoder/arrayEncoder.go
Execute
called by 16
pkg/util/exec.go
GetCurrentOs
called by 15
pkg/util/osName.go
Warn
called by 14
pkg/log/log.go

Shape

Function 286
Method 112
Struct 55
TypeAlias 2
Interface 1

Languages

Go100%
TypeScript1%

Modules by API surface

pkg/zap-cli-encoder/consoleEncoder.go34 symbols
pkg/zap-cli-encoder/arrayEncoder.go24 symbols
pkg/package-format/snap/snapScripts.go24 symbols
pkg/package-format/bindata.go20 symbols
pkg/node-modules/rebuild.go16 symbols
pkg/icons/icon-converter.go14 symbols
pkg/package-format/appimage/appLauncher.go13 symbols
pkg/electron/electronDownloader.go13 symbols
pkg/download/downloader.go12 symbols
pkg/util/util.go11 symbols
pkg/package-format/proton-native/protonNative.go11 symbols
pkg/remoteBuild/RemoteBuilder.go10 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add app-builder \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact