about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-07-29 19:47:00 +0530
committerAndinus <andinus@nand.sh>2021-07-29 19:47:00 +0530
commit5f7f94b800c8f6425d3e6ad8823a6b84a67978f8 (patch)
tree665f93b864645318ace3766304dbc9bf33cd61f3
downloadlacerta-5f7f94b800c8f6425d3e6ad8823a6b84a67978f8.tar.gz
Initial Commit
-rw-r--r--.gitignore2
-rw-r--r--LICENSE13
-rw-r--r--META6.json20
-rw-r--r--README106
-rw-r--r--README.org68
-rwxr-xr-xbin/lacerta3
6 files changed, 212 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..640f8ae
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.precomp
+sdist/
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e51df07
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,13 @@
+Copyright (c) 2021, Andinus <andinus@nand.sh>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/META6.json b/META6.json
new file mode 100644
index 0000000..a2a31f8
--- /dev/null
+++ b/META6.json
@@ -0,0 +1,20 @@
+{
+    "name" : "lacerta",
+    "auth" : "zef:andinus",
+    "version" : "0.1.0",
+    "description" : "Lacerta parses WhatsApp exported logs",
+    "authors" : [ "Andinus <andinus@nand.sh>" ],
+    "license" : "ISC",
+    "perl" : "6.d",
+    "provides" : {
+        "Lacerta::CLI" : "lib/Lacerta/CLI.rakumod"
+    },
+    "depends" : [
+        "Terminal::Spinners",
+        "Text::Table::Simple"
+    ],
+    "tags": [
+        "Lacerta", "WhatsApp"
+    ],
+    "source-url" : "https://git.tilde.institute/andinus/lacerta"
+}
diff --git a/README b/README
new file mode 100644
index 0000000..7cbbb65
--- /dev/null
+++ b/README
@@ -0,0 +1,106 @@
+                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+                                LACERTA
+                 Lacerta parses WhatsApp exported logs
+
+                                Andinus
+                ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+
+
+Table of Contents
+─────────────────
+
+Installation
+Documentation
+News
+
+
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+ Website          <https://andinus.nand.sh/lacerta>
+ Source           <https://git.tilde.institute/andinus/lacerta>
+ GitHub (mirror)  <https://github.com/andinus/lacerta>
+━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+
+
+Installation
+════════════
+
+  Lacerta is released to `fez', you can get it from there or install it
+  from source. In any case, `zef' is required to install the
+  distribution.
+
+  You can run Lacerta without `zef'. Just run `raku -Ilib bin/lacerta'
+  from within the source directory.
+
+
+Release
+───────
+
+  1. Run `zef install lacerta'.
+
+  Lacerta should be installed, try running `lacerta --version' to
+  confirm.
+
+
+From Source
+───────────
+
+  You can either download the release archive generated by cgit/GitHub
+  or clone the project if you have `git' installed.
+
+
+Without `git'
+╌╌╌╌╌╌╌╌╌╌╌╌╌
+
+  1. Download the release:
+     • <https://git.tilde.institute/andinus/lacerta>
+     • <https://github.com/andinus/lacerta/releases>
+  2. Extract the file.
+  3. Run `zef install .' in source directory.
+
+
+With `git'
+╌╌╌╌╌╌╌╌╌╌
+
+  All commits will be signed by my [PGP Key].
+
+  ┌────
+  │ # Clone the project.
+  │ git clone https://git.tilde.institute/andinus/lacerta
+  │ cd lacerta
+  │
+  │ # Install lacerta.
+  │ zef install .
+  └────
+
+
+[PGP Key]
+<https://andinus.nand.sh/static/D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD.asc>
+
+
+Documentation
+═════════════
+
+Implementation
+──────────────
+
+  Just enter the player names & it'll print each throw along with
+  scores. Press enter to play another round.
+
+
+Options
+───────
+
+players
+╌╌╌╌╌╌╌
+
+  Number of players. Default is 2, should be an integer equal to or
+  greater than 2.
+
+
+News
+════
+
+v0.1.0 - 2021-07-29
+───────────────────
+
+  Initial Implementation.
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..7ecb3e7
--- /dev/null
+++ b/README.org
@@ -0,0 +1,68 @@
+#+title: Lacerta
+#+subtitle: Lacerta parses WhatsApp exported logs
+#+export_file_name: index
+#+setupfile: ~/.emacs.d/org-templates/projects.org
+
+| Website         | https://andinus.nand.sh/lacerta             |
+| Source          | https://git.tilde.institute/andinus/lacerta |
+| GitHub (mirror) | https://github.com/andinus/lacerta          |
+
+* Installation
+
+Lacerta is released to ~fez~, you can get it from there or install it from
+source. In any case, ~zef~ is required to install the distribution.
+
+You can run Lacerta without ~zef~. Just run ~raku -Ilib bin/lacerta~ from
+within the source directory.
+
+** Release
+
+1. Run ~zef install lacerta~.
+
+Lacerta should be installed, try running ~lacerta --version~ to confirm.
+
+** From Source
+
+You can either download the release archive generated by cgit/GitHub or
+clone the project if you have ~git~ installed.
+
+*** Without ~git~
+
+1. Download the release:
+   - https://git.tilde.institute/andinus/lacerta
+   - https://github.com/andinus/lacerta/releases
+2. Extract the file.
+3. Run ~zef install .~ in source directory.
+
+*** With ~git~
+
+All commits will be signed by my [[https://andinus.nand.sh/static/D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD.asc][PGP Key]].
+
+#+begin_src sh
+# Clone the project.
+git clone https://git.tilde.institute/andinus/lacerta
+cd lacerta
+
+# Install lacerta.
+zef install .
+#+end_src
+
+* Documentation
+
+** Implementation
+
+Just enter the player names & it'll print each throw along with scores.
+Press enter to play another round.
+
+** Options
+
+*** players
+
+Number of players. Default is 2, should be an integer equal to or
+greater than 2.
+
+* News
+
+** v0.1.0 - 2021-07-29
+
+Initial Implementation.
diff --git a/bin/lacerta b/bin/lacerta
new file mode 100755
index 0000000..0b74b54
--- /dev/null
+++ b/bin/lacerta
@@ -0,0 +1,3 @@
+#!/usr/bin/env raku
+
+use Lacerta::CLI;