← Back to blog

Chindōgu ASCII art

A ridiculous Chindōgu utility prompt & CLI for fetching private releases & files from GitHub & BitBucket

curl https://raw.githubusercontent.com/Jesssullivan/LeafletSync/main/LeafletSync —output LeafletSync && chmod +x LeafletSync && ./LeafletSync

  • Fetch, unpack, extract specific releases & files or a complete master branch from a private GitHub repo with an api access token

  • Fetch and extract specific files or complete branches from a private BitBucket account with user’s git authentication

  • Prefill default prompt values with a variety of console flags

  • Save & load default prompt values with a file of environment variables, see templates FetchReleasegSampleEnv_GitHub, FetchFilegSampleEnv_BitBucket, FetchEverythingSampleEnv_BitBucket, FetchEverythingSampleEnv_GitHub; pass as an argument with the -e flag, (./LeafletSync -e YourEnvFile) or provide one on launch.

    ./LeafletSync

    LeafletSync: Do you want to load values from a file?

    If so, enter one now…:[Nope!]:


    | | / _| | | | / |
    | |
    | || | _| |\ `—. _ _ _
    | | / \/| _| |/ _ \ __|—. \ | | | ’_ \ / | | |_| / (_| | | | |/ |_ /_/ / || | | | | (
    ___
    /_|_,|| ||_|__| __/ _, || |_|_|
    \ _/ |
    \ Fetch from Github: / α wιρ Σ ♥ |_@__Jess
    /───────────────────/ \ Your API Token | -t | —token | Required | = <personal-api-token> | Your Handle | -u | —user | Required | = <You> | Source Repo | -r | —repo \ Required \ = <RepoName> | Repository Owner | -a | —author \ Required \ = <TheOwner> | Release Version | -v | —version | Optional | = Fetch Everything / Output Directory | -o | —out / Optional / = ./dist/ /─────────────────────────/ \ Fetch from BitBucket: /
    \──────────────────────/
    \ Your Handle / -bu / —b-user / ~Required | = <You> \ Your Passhrase / -bp / —b-pass / ~Required / = <token> \ Source Branch / -bb / —b-branch / ~Optional / = master \ Source File / -bf / —b-file / ~Optional / = <Fetch Everything> \────────────/

    Your Handle [<You>]:

    Source Repo [<RepoName>]:

    Repo Owner [<TheOwner>]:

    Host: GitHub | BitBucket [GitHub]:

    Your Token [<personal-api-token>]:

    Release to fetch: [<v0.0.1>]:

    Output to fetch (e.g. /dist/*): [<dist/>]:

Originally published at www.transscendsurvival.org

Comments

© 2026 Jess Sullivan

| RSS