<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Cradicle Explorer</title>
    <link href="/css/bootstrap/bootstrap.min.css" rel="stylesheet">
    <style>
      .form-control-dark::placeholder {
          color: #aaa;
          opacity: 1;
      }
    </style>
    <link rel="stylesheet" href="/assets/fontawesome/css/all.min.css">
    <link rel="icon" type="image/png" href="/favicon.png">


                <link href="/css/dashboard.css" rel="stylesheet">
                </head>
                <body>
                <header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
                  <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href="/">Cradicle Explorer</a>
                  <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                  </button>
                  <form method="get" action="/cgi-bin/main" style="width:100%;"><input class="form-control form-control-dark w-100 rounded-0 border-0" type="text" name="q" placeholder="Search repos" aria-label="Search"></form>
                  <div class="navbar-nav flex-row">
                    <div class="nav-item text-nowrap">
                      <a class="nav-link px-3 active" href="/cgi-bin/repo?id=z3jzaBkZcShngjLKG5hWqUcuDMyQL">climail</a>
                    </div>
                  </div>
                </header>
                <div class="container-fluid">
                  <div class="row">
                    <nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-dark sidebar collapse">
                      <div class="position-sticky pt-3 sidebar-sticky">
                        <ul class="nav flex-column">
                          <li class="nav-item">
                            <a class="nav-link active" href="/cgi-bin/repo?id=z3jzaBkZcShngjLKG5hWqUcuDMyQL">
                              <i class="align-text-bottom fa-solid fa-info"></i>
                              Info
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3jzaBkZcShngjLKG5hWqUcuDMyQL&issue=list">
                              <i class="align-text-bottom fa-solid fa-layer-group"></i>
                              Issues
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3jzaBkZcShngjLKG5hWqUcuDMyQL&patch=list">
                              <i class="align-text-bottom fa-solid fa-vest-patches"></i>
                              Patches
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3jzaBkZcShngjLKG5hWqUcuDMyQL&wallet=list">
                              <i class="align-text-bottom fa-solid fa-wallet"></i>
                              Wallets
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3jzaBkZcShngjLKG5hWqUcuDMyQL&source=.">
                              <i class="align-text-bottom fa-solid fa-code"></i>
                              Source
                            </a>
                          </li>
                        <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted text-uppercase">
                          <span></span>
                        </h6>
                        <ul class="nav flex-column mb-2">
                        
                        </ul>
                      </div>
                    </nav>
                <main class="col-md-9 ms-sm-auto col-lg-10">
                  <div class="container px-1 py-3">
        

    <div class="list-group">
    <div class="list-group-item">
    <div style="font-size:1.3rem;">climail</div>
    <div class="repo-item">Suite of commands for handling Maildir email on the command line</div>
    <div>rad:z3jzaBkZcShngjLKG5hWqUcuDMyQL</div>
    </div>
    <div class="list-group-item">
    <div>Visibility</div>
    <div class="repo-item">public</div>
    </div>
    <div class="list-group-item">
    <div>Delegates</div><div class="repo-item">did:key:z6MkobA4f5ks4YHQ27ZvPPZZscGPCFkRyoeJRkQK2aqKps7E</div>
    </div>
    <div class="list-group-item">
    <div>Default branch</div>
    <div><span class="repo-item">main &#8594 4aa6f2ac2736ec0c216918a9ff9316ee5f743266</span> (Thu Apr  9 23:04:03 2026)</div>
    </div>
    <div class="list-group-item">
    <div>Threshold</div>
    <div class="repo-item">1</div>
    </div>
    </div>
    
        <div class="list-group mt-3">
        <div class="list-group-item">
        <div class="mb-2" style="font-weight:bold;"><i class="fa-solid fa-book"></i> README.md</div>
        <pre style="margin:0; font-size:0.85rem; overflow-x:auto; color:#fafafa;"># climail: Suite of commands for handling Maildir email on the command line

The *climail* package provides commands to make it easier to handle internet
email in &quot;Maildir&quot; format on the command line:

- `checkmail`: Check Maildir recursively for new email.

  Manual page:
  [en](man/man1/checkmail.md)
  [de](man/de/man1/checkmail.md)

- `openmail`: Setup and call an email client for a Maildir folder.

  Manual page:
  [en](man/man1/openmail.md)
  [de](man/de/man1/openmail.md)

- `readmail`: Interactively select a mail folder to read mail from.

  Manual page:
  [en](man/man1/readmail.md)
  [de](man/de/man1/readmail.md)

- `lister`: List all mailboxes in a Maildir tree.

  Manual page:
  [en](man/man1/lister.md)
  [de](man/de/man1/lister.md)

Homepage: &lt;https://github.com/alexbarton/climail&gt;

## Prerequisites

### Runtime dependencies

1. Your local email setup must use the *&quot;Maildir&quot; layout*. Either in its
   default location `/var/mail/${LOGNAME}` or specified by the `MAILDIR`
   environment variable.

1. *GNU bash* must be available. You can use a different shell, but all tools
   use the `bash` shell as interpreter. The &quot;shebang&quot; line uses `/usr/bin/env`
   to execute `bash` in your search path (`$PATH`).

1. *GNU gettext* must be installed. Specifically, the `gettext.sh` script must
   be in your search path (`$PATH`). On Debian-based systems, it is included in
   the &quot;gettext-base&quot; package, which can be installed like this:

   ```sh
   apt-get update &amp;&amp; apt-get install gettext-base
   ```

   You can verify that it is installed and can be found with this command:
   `type gettext.sh`: this should output the full path name to the script.

1. A capable *command line mail reader*, like `mail` from the *GNU Mailutils*
   or (even better and preferred) `s-nail` from the *S-nail* (*S-mailx*)
   package must be *available* and *configured* to handle email in your local
   `Maildir` folder(s).

1. The `readmail` command depends on `fzf`, the *command-line fuzzy finder*.

### Tools required or used during building

Required tools:

1. *Pandoc* (`pandoc`) is used to generate all manual pages from their
   respective Markdown sources.
1. *GNU gettext* (`xgettext`, `msgfmt`, `msgmerge`) is required to build the
   message catalog and language files.

Tools used for the `make check` target:

1. Markdownlint (`mdl`)
1. ShellCheck (`shellcheck`)

## Installation

You can run the scripts right from the source directory or install them into
the system. In both cases, the language files must be generated with `make`.

To install everything into the `/usr/local` hierarchy, the default, call:

```sh
make all &amp;&amp; sudo make install
```

The common `DESTDIR`, `PREFIX`, etc. variables are supported in the `Makefile`,
therefore you can call the following command to install into an (writable)
`/opt/climail` path:

```sh
make PREFIX=/opt/climail install
```

### Command line mail reader setup

As noted above, the *mail reader* (typically `mail` or `s-nail`) must be
configured for your local Maildir setup. A starting point for your `~/.mailrc`
file could look like this, for example:

```plain
# Set INBOX, MBOX, and &quot;record&quot; (sent mail) folder.
set folder=/var/mail/your_user_name
set MBOX=+.Archive
set record=+.Sent
```
</pre>
        </div>
        </div>

</div>
</main>
</div>
</div>


</body>
</html>

