~sircmpwn/aerc-mail.org

26dfb5ec652e072a1c206089a8b87b919a9b8cb1 — Drew DeVault 5 years ago
Initial commit
7 files changed, 235 insertions(+), 0 deletions(-)

A .gitignore
A LICENSE
A assets/main.scss
A config.toml
A content/_index.html
A layouts/index.html
A static/prism.png
A  => .gitignore +1 -0
@@ 1,1 @@
resources

A  => LICENSE +26 -0
@@ 1,26 @@
Copyright 2019 Drew DeVault

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

A  => assets/main.scss +116 -0
@@ 1,116 @@
$white: #e1e5e9;
$black: #212529;
$primary: #209bff;
$danger: #dc3545;

html, body {
  height: 100%;
}

body {
  color: $black;
  background: url(/static/prism.png);
  font-family: sans-serif;
  padding: 0;
  margin: 0;
  color: #FCFCFC;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content {
  background: #FCFCFC;
  color: #080808;

  p:first-child {
    margin: 0;
    padding-top: 1rem;
  }

  ul li {
    margin: 0.5rem 0;
  }
}

.well {
  background: #E8E8E8;
  box-shadow: 0 0 5px 5px #222 inset;
  color: black;
  padding: 1rem 0;
}

nav {
  padding-bottom: 1rem !important;
  text-align: center;
  clear: both;

  a {
    margin-left: 1rem;

    &:after {
      content: " →";
    }
  }
}

.alert {
  padding: 0.5rem;
  border: 1px solid transparent;
  margin-bottom: 1rem;

  &.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
  }
}

a {
  color: $primary;

  &:hover {
    color: darken($primary, 15);
    text-decoration: underline;
  }
}

h1 {
  font-size: 2.2rem;

  small {
    display: block;
    font-size: 1.1rem;
    color: #ccc;
  }
}

h3 {
  font-size: 1.3rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  margin-top: 0;
}

h4 {
  font-size: 1.1rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
}

.pull-right {
  float: right;
}

.asciicast, iframe {
  display: block !important;
  margin: 0 auto !important;
}

A  => config.toml +1 -0
@@ 1,1 @@
baseURL = "https://aerc-mail.org/"

A  => content/_index.html +68 -0
@@ 1,68 @@
---
title: aerc - the world's best email client
---

<div class="well">
  <!-- TODO: Replace with screencast -->
  <script
    id="asciicast-CqTukJZoTq7ZgPmsjhIbQyUjb"
    src="https://asciinema.org/a/pafXXANiWHY9MOH2yXdVHHJRd.js" async
  ></script>
</div>
<div class="container content">
  <h2>The world's best email client</h2>
  <p>
    aerc is an email client that runs in your terminal. It's highly efficient
    and extensible, perfect for the discerning hacker. Check out the screencast
    above to get an idea of how it's used.
  </p>
  <div class="alert alert-danger">
    <strong>Notice</strong>: aerc is a work in progress and some of these
    features are not working yet. Everything shown in the screencast works
    today.
  </div>
  <p>
    Some of its more interesting features include:
  </p>
  <ul>
    <li>
      Editing emails in an embedded terminal tmux-style, allowing you to check
      on incoming emails and reference other threads while you compose your
      replies
    </li>
    <li>
      Render HTML emails with an interactive terminal web browser, highlight
      patches with diffs, and browse with an embedded <code>less</code> session
    </li>
    <li>
      Vim-style keybindings and ex-command system, allowing for powerful
      automation at a single keystroke
    </li>
    <li>
      First-class support for working with git &amp; email
    </li>
    <li>
      Open a new tab with a terminal emulator and a shell running for easy
      access to nearby git repos for parallel work
    </li>
    <li>
      Support for multiple accounts, with support for IMAP, Maildir, SMTP, and
      sendmail transfer protocols
    </li>
    <li>
      CalDAV and CarDAV support for synchronizing contacts &amp; calendar events
    </li>
    <li>
      Asynchronous IMAP support ensures the UI never gets locked up by a flaky
      network, as mutt often does
    </li>
    <li>
      Efficient network usage - aerc only downloads the information which is
      necessary to present the UI, making for a snappy and bandwidth-efficient
      experience
    </li>
    <li>
      100% free and open source software!
    </li>
  </ul>
</div>

A  => layouts/index.html +23 -0
@@ 1,23 @@
<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{.Title}}</title>
    {{ $style := resources.Get "main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
    <link rel="stylesheet" href="{{ $style.RelPermalink }}">
  </head>
  <body>
    <h1 style="text-align: center">
      aerc
      <small>The world's best email client</small>
    </h1>
    <nav class="container">
      <a href="https://git.sr.ht/~sircmpwn/aerc">source code</a>
      <a href="https://lists.sr.ht/~sircmpwn/aerc">mailing list</a>
      <a href="https://todo.sr.ht/~sircmpwn/aerc2">bug tracker</a>
      <a href="https://drewdevault.com/donate">donate</a>
    </nav>
    {{.Content}}
  </body>
</html>

A  => static/prism.png +0 -0