From 5f7f94b800c8f6425d3e6ad8823a6b84a67978f8 Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 29 Jul 2021 19:47:00 +0530 Subject: Initial Commit --- .gitignore | 2 ++ LICENSE | 13 ++++++++ META6.json | 20 ++++++++++++ README | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.org | 68 ++++++++++++++++++++++++++++++++++++++ bin/lacerta | 3 ++ 6 files changed, 212 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 META6.json create mode 100644 README create mode 100644 README.org create mode 100755 bin/lacerta 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 + +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 " ], + "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 + Source + GitHub (mirror) +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + + +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: + • + • + 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] + + + +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; -- cgit 1.4.1-2-gfad0