|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="x-ua-compatible" content="ie=edge"> |
| 6 | + <meta name="viewport" |
| 7 | + content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 8 | + <!-- Use the title from a page's frontmatter if it has one --> |
| 9 | + <title>Contacts</title> |
| 10 | + |
| 11 | + <link href="/style.css" rel="stylesheet" /> |
| 12 | + <link href="/stylesheets/code.css" rel="stylesheet" /> |
| 13 | + </head> |
| 14 | + <body> |
| 15 | + <div class=" w-full max-w-4xl mx-auto"> |
| 16 | + <div x-data="{ open: false }" class="flex flex-col max-w-screen-xl p-5 mx-auto md:items-center md:justify-center md:flex-row md:px-6 lg:px-8"> |
| 17 | + <div class="flex flex-row items-center justify-between lg:justify-start"> |
| 18 | + <a href="/index.html" class="text-3xl font-bold tracking-tighter text-green-600 transition duration-500 ease-in-out transform tracking-relaxed lg:pr-8"> |
| 19 | + Alas by Hackberry |
| 20 | + </a> |
| 21 | + <button class="rounded-lg md:hidden focus:outline-none focus:shadow-outline" @click="open = !open"> |
| 22 | + <svg fill="currentColor" viewBox="0 0 20 20" class="w-8 h-8"> |
| 23 | + <path x-show="!open" fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM9 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1z" clip-rule="evenodd"></path> |
| 24 | + <path x-show="open" fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd" style="display: none"></path> |
| 25 | + </svg> |
| 26 | + </button> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | +</div> |
| 30 | + |
| 31 | + |
| 32 | + <div class="flex overflow-hidden bg-white rounded-lg"> |
| 33 | + <div class="flex flex-col w-64"> |
| 34 | + <div class="flex flex-col flex-grow pt-5 overflow-y-auto bg-white border-r border-gray-50"> |
| 35 | + <div class="flex flex-col flex-grow px-4 mt-5"> |
| 36 | + <nav class="flex-1 space-y-1 bg-white"> |
| 37 | + <ul> |
| 38 | + <li> |
| 39 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-get-started"> |
| 40 | + <span class="ml-4">Get Started</span> |
| 41 | + </a> |
| 42 | +</li> |
| 43 | + |
| 44 | + |
| 45 | + <li> |
| 46 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-format"> |
| 47 | + <span class="ml-4">Alas Format</span> |
| 48 | + </a> |
| 49 | +</li> |
| 50 | + |
| 51 | + |
| 52 | + <li> |
| 53 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-contacts"> |
| 54 | + <span class="ml-4">Contacts</span> |
| 55 | + </a> |
| 56 | +</li> |
| 57 | + |
| 58 | + |
| 59 | + <li> |
| 60 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-editor"> |
| 61 | + <span class="ml-4">Editing Plan</span> |
| 62 | + </a> |
| 63 | +</li> |
| 64 | + |
| 65 | + |
| 66 | + <li> |
| 67 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-exit-status"> |
| 68 | + <span class="ml-4">Exit Status</span> |
| 69 | + </a> |
| 70 | +</li> |
| 71 | + |
| 72 | + |
| 73 | + <li> |
| 74 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-insert-days"> |
| 75 | + <span class="ml-4">--insert-days</span> |
| 76 | + </a> |
| 77 | +</li> |
| 78 | + |
| 79 | + |
| 80 | + <li> |
| 81 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-insert-task"> |
| 82 | + <span class="ml-4">--insert-task</span> |
| 83 | + </a> |
| 84 | +</li> |
| 85 | + |
| 86 | + |
| 87 | + <li> |
| 88 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-list-contacts"> |
| 89 | + <span class="ml-4">--list-contacts</span> |
| 90 | + </a> |
| 91 | +</li> |
| 92 | + |
| 93 | + |
| 94 | + <li> |
| 95 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-remove-empty-days"> |
| 96 | + <span class="ml-4">--remove-empty-days</span> |
| 97 | + </a> |
| 98 | +</li> |
| 99 | + |
| 100 | + |
| 101 | + <li> |
| 102 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-report"> |
| 103 | + <span class="ml-4">--report</span> |
| 104 | + </a> |
| 105 | +</li> |
| 106 | + |
| 107 | + |
| 108 | + <li> |
| 109 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-schedule-contacts"> |
| 110 | + <span class="ml-4">--schedule-contacts</span> |
| 111 | + </a> |
| 112 | +</li> |
| 113 | + |
| 114 | + |
| 115 | + <li> |
| 116 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-schedule-tasks"> |
| 117 | + <span class="ml-4">--schedule-tasks</span> |
| 118 | + </a> |
| 119 | +</li> |
| 120 | + |
| 121 | + |
| 122 | + <li> |
| 123 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-skip-backup"> |
| 124 | + <span class="ml-4">--skip-backup</span> |
| 125 | + </a> |
| 126 | +</li> |
| 127 | + |
| 128 | + |
| 129 | + <li> |
| 130 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-stats"> |
| 131 | + <span class="ml-4">--stats</span> |
| 132 | + </a> |
| 133 | +</li> |
| 134 | + |
| 135 | + |
| 136 | + <li> |
| 137 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-version"> |
| 138 | + <span class="ml-4">--version</span> |
| 139 | + </a> |
| 140 | +</li> |
| 141 | + |
| 142 | + |
| 143 | + <li> |
| 144 | + <a class="inline-flex items-center w-full px-4 py-2 mt-1 text-base text-gray-900 transition duration-500 ease-in-out transform rounded-lg focus:shadow-outline hover:bg-gray-50" href="/alas-tips"> |
| 145 | + <span class="ml-4">Tips</span> |
| 146 | + </a> |
| 147 | +</li> |
| 148 | + |
| 149 | + </ul> |
| 150 | + </nav> |
| 151 | + </div> |
| 152 | + </div> |
| 153 | +</div> |
| 154 | + |
| 155 | + |
| 156 | + <div class="flex flex-col flex-1 w-0 overflow-hidden"> |
| 157 | + <section> |
| 158 | + <div class=" flex flex-col items-center px-5 py-8 mx-auto max-w-7xl sm:px-6 lg:px-8"> |
| 159 | + <div class="flex flex-col w-full max-w-3xl mx-auto prose text-left prose-blue"> |
| 160 | + <div class="w-full mx-auto -mx-32"> |
| 161 | + <h2>Contacts</h2> |
| 162 | + |
| 163 | + <p>Alas can help you keep in touch with your contacts - family, friends and |
| 164 | +other people you know. Alas tracks when you last heard from a person and |
| 165 | +schedules a new task to contact the person if you didn’t hear from them in |
| 166 | +a while. Alas can also schedule a reminder for a birthday.</p> |
| 167 | + |
| 168 | +<p>Each contact is stored in a separate Markdown file. All contact files should |
| 169 | +be in a single directory, separate from other Markdown files. For example:</p> |
| 170 | +<div class="highlight"><pre class="highlight plaintext"><code>├── contacts |
| 171 | +│ ├── john-doe.md |
| 172 | +│ ├── mary-doe.md |
| 173 | +│ ├── jack-black.md |
| 174 | +│ ├── ... |
| 175 | +├── diary.md |
| 176 | +├── plan.md |
| 177 | +└── scheduled.md |
| 178 | +</code></pre></div> |
| 179 | +<p>Each contact file has the same structure - the contact name, details and the |
| 180 | +log of communication.</p> |
| 181 | +<div class="highlight"><pre class="highlight markdown"><code><span class="gh"># John Doe</span> |
| 182 | +<span class="p"> |
| 183 | +-</span> Birthday: 04-27 |
| 184 | +<span class="p">-</span> Category: B |
| 185 | + |
| 186 | +<span class="gu">## 2022-02-15</span> |
| 187 | + |
| 188 | +Talked over the phone about stuff. |
| 189 | + |
| 190 | +<span class="gu">## 2022-01-28</span> |
| 191 | + |
| 192 | +Grabbed a beer and talked about stuff. |
| 193 | +</code></pre></div> |
| 194 | +<p>The first line is the title that holds the contact name.</p> |
| 195 | + |
| 196 | +<p>Then, there’s a list of details. Each detail has the same structure:</p> |
| 197 | +<div class="highlight"><pre class="highlight markdown"><code><span class="p">-</span> Detail name: Detail value |
| 198 | +</code></pre></div> |
| 199 | +<p>A contact can have as many details as you need. However, 2 details are special: |
| 200 | +<code>Birthday</code> and <code>Category</code>.</p> |
| 201 | + |
| 202 | +<p>If a contact has a <code>Birthday</code> detail and the value matches today’s date, Alas |
| 203 | +will schedule a reminder to congratulate the person’s birthday.</p> |
| 204 | + |
| 205 | +<p>A contact <code>Category</code> can have one of these 4 values: A, B, C and D. The |
| 206 | +idea was taken from Derek Siver’s <a href="https://sive.rs/hundreds">article</a> where |
| 207 | +categories are defined as:</p> |
| 208 | + |
| 209 | +<ul> |
| 210 | +<li>A list: Very important people. Contact every three weeks.</li> |
| 211 | +<li>B list: Important people. Contact every two months.</li> |
| 212 | +<li>C list: Most people. Contact every six months.</li> |
| 213 | +<li>D list: Other people. Contact once a year, to make sure you still have |
| 214 | +their correct info.</li> |
| 215 | +</ul> |
| 216 | + |
| 217 | + </div> |
| 218 | + </div> |
| 219 | + </div> |
| 220 | + </section> |
| 221 | + </div> |
| 222 | + </div> |
| 223 | + |
| 224 | + <footer class="bg-white" aria-labelledby="footer-heading"> |
| 225 | + <h2 id="footer-heading" class="sr-only">Footer</h2> |
| 226 | + |
| 227 | + <div class="px-4 py-12 mx-auto bg-gray-50 max-w-7xl sm:px-6 lg:px-16"> |
| 228 | + <div class="flex flex-wrap items-baseline lg:justify-center"> |
| 229 | + <span class="mt-2 text-sm font-light text-gray-500"> |
| 230 | + Copyright © 2016 - 2025 |
| 231 | + Hackberry |
| 232 | + </span> |
| 233 | + </div> |
| 234 | + </div> |
| 235 | +</footer> |
| 236 | + |
| 237 | + </body> |
| 238 | +</html> |
0 commit comments