summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-13 00:38:58 +0100
committermms <git@sapka.me>2024-11-13 00:38:58 +0100
commitec5f701441691b9942354541828ff58cd7c92346 (patch)
tree60b5b13f58437366bcc3ad3e6180d39b27d5ac44
parente4514d99e219772f97bfe669b3480aeecc8bb740 (diff)
feat: chotto
-rw-r--r--config/_default/menus.en.toml12
-rw-r--r--content-org/articles.org9
-rw-r--r--content-org/chotto.org71
-rw-r--r--content/projects/chotto/0_0_1.md18
-rw-r--r--content/projects/chotto/_index.md43
l---------layouts/partials/reviews/.#metrics.html1
l---------layouts/shortcodes/.#review-table.html1
-rw-r--r--layouts/shortcodes/latest-release.html9
8 files changed, 153 insertions, 11 deletions
diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml
index 365c709..08cd577 100644
--- a/config/_default/menus.en.toml
+++ b/config/_default/menus.en.toml
@@ -142,6 +142,18 @@
+[[sections]]
+ name = "Projects"
+ pageRef = "/projects/chotto"
+ weight = 1300
+ [[sections.params]]
+ section="projects"
+ submenu = "sections-projects"
+
+[[sections-projects]]
+ name = "Chotto"
+ weight = 100
+ pageRef = "/projects/chotto"
[[sections]]
name = "Mirrors"
diff --git a/content-org/articles.org b/content-org/articles.org
deleted file mode 100644
index 97ae6e7..0000000
--- a/content-org/articles.org
+++ /dev/null
@@ -1,9 +0,0 @@
-#+TITLE: Articles
-#+AUTHOR: Michał Sapka
-#+URL: https://michal.sapka.me
-#+STARTUP: show2levels indent logdone
-
-#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/
-#+HUGO_WEIGHT: auto
-#+HUGO_SECTION: articles
-
diff --git a/content-org/chotto.org b/content-org/chotto.org
new file mode 100644
index 0000000..dc3540e
--- /dev/null
+++ b/content-org/chotto.org
@@ -0,0 +1,71 @@
+#+TITLE: Unix history#+AUTHOR: Michał Sapka
+#+URL: https://michal.sapka.me/unix-history/
+#+STARTUP: show2levels indent logdone
+
+#+HUGO_BASE_DIR: ~/ghq/michal.sapka.me/mms/site
+#+HUGO_WEIGHT: auto
+#+HUGO_SECTION: projects
+
+* Chotto :@projects:
+:PROPERTIES:
+:EXPORT_HUGO_SECTION: projects/chotto
+:END:
+
+** DONE Chotto
+CLOSED: [2024-11-13 Wed 00:10]
+:PROPERTIES:
+:EXPORT_FILE_NAME: _index
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract An initial tagging script for Notmuch
+:EXPORT_HUGO_PAIRED_SHORTCODES: latest-release
+:END:
+
+*** Chotto
+
+----
+
+Chotto is an initial tagging script for Notmuch written in Ruby.
+I aim at creating a powerful yea readable DSL for help with incoming mail management.
+
+There already exist a similar, perhaps better, solution ([[https://github.com/afewmail/afew][Afew]]), but I don't think it is flexible enough.
+
+#+begin_latest-release
+Dune
+#+end_latest-release
+
+*** Meta
+
+- Source code: https://cgit.crys.site/chotto/
+- Readme & Manual: https://cgit.crys.site/chotto/about/
+- License: 3-Clause BSD
+
+*** Why?
+
+I tried the alternatives, but they mostly don't work.
+Say what you will about Python community, they don't care about breaking changes.
+
+I, on the other hand, live of Ruby & Ruby on Rails and therefore love me some nice APIs.
+
+*** Name
+
+Naming is a terrible thing to do, because even the greatest name becomes annoying after a while.
+Case in point: Chotto means "A few" in Japanese. Ruby's creator, [[https://matz.rubyist.net/][Matz]] is Japanese so why not?
+
+
+
+** DONE Chotto 0.0.1 Released
+CLOSED: [2024-11-13 Wed 00:13]
+:PROPERTIES:
+:EXPORT_FILE_NAME: 0_0_1
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract First public release of chotto
+:END:
+
+[[/projects/chotto/][Chotto]] 0.0.1 has been released:
+
+- Basic filtering DSL
+- Tags management for messages
+
+Git tag: [[https://cgit.crys.site/chotto/tag/?h=0.0.1][0.0.1]]
+
+I would wait for later release before using it where it matters.
+
+
diff --git a/content/projects/chotto/0_0_1.md b/content/projects/chotto/0_0_1.md
new file mode 100644
index 0000000..23e189f
--- /dev/null
+++ b/content/projects/chotto/0_0_1.md
@@ -0,0 +1,18 @@
++++
+title = "Chotto 0.0.1 Released"
+author = ["User Mms"]
+date = 2024-11-13T00:13:00+01:00
+categories = ["projects"]
+draft = false
+weight = 2002
+abstract = "First public release of chotto"
++++
+
+[Chotto](/projects/chotto/) 0.0.1 has been released:
+
+- Basic filtering DSL
+- Tags management for messages
+
+Git tag: [0.0.1](https://cgit.crys.site/chotto/tag/?h=0.0.1)
+
+I would wait for later release before using it where it matters.
diff --git a/content/projects/chotto/_index.md b/content/projects/chotto/_index.md
new file mode 100644
index 0000000..b91f79f
--- /dev/null
+++ b/content/projects/chotto/_index.md
@@ -0,0 +1,43 @@
++++
+title = "Chotto"
+author = ["User Mms"]
+date = 2024-11-13T00:10:00+01:00
+categories = ["projects"]
+draft = false
+weight = 2001
+abstract = "An initial tagging script for Notmuch"
++++
+
+## Chotto {#chotto}
+
+----
+
+Chotto is an initial tagging script for Notmuch written in Ruby.
+I aim at creating a powerful yea readable DSL for help with incoming mail management.
+
+There already exist a similar, perhaps better, solution ([Afew](https://github.com/afewmail/afew)), but I don't think it is flexible enough.
+
+{{< latest-release >}}
+Dune
+{{< /latest-release >}}
+
+
+## Meta {#meta}
+
+- Source code: <https://cgit.crys.site/chotto/>
+- Readme &amp; Manual: <https://cgit.crys.site/chotto/about/>
+- License: 3-Clause BSD
+
+
+## Why? {#why}
+
+I tried the alternatives, but they mostly don't work.
+Say what you will about Python community, they don't care about breaking changes.
+
+I, on the other hand, live of Ruby &amp; Ruby on Rails and therefore love me some nice APIs.
+
+
+## Name {#name}
+
+Naming is a terrible thing to do, because even the greatest name becomes annoying after a while.
+Case in point: Chotto means "A few" in Japanese. Ruby's creator, [Matz](https://matz.rubyist.net/) is Japanese so why not?
diff --git a/layouts/partials/reviews/.#metrics.html b/layouts/partials/reviews/.#metrics.html
deleted file mode 120000
index 8a2a5d0..0000000
--- a/layouts/partials/reviews/.#metrics.html
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.local.23203:1731088680 \ No newline at end of file
diff --git a/layouts/shortcodes/.#review-table.html b/layouts/shortcodes/.#review-table.html
deleted file mode 120000
index 8a2a5d0..0000000
--- a/layouts/shortcodes/.#review-table.html
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.local.23203:1731088680 \ No newline at end of file
diff --git a/layouts/shortcodes/latest-release.html b/layouts/shortcodes/latest-release.html
new file mode 100644
index 0000000..df25e3e
--- /dev/null
+++ b/layouts/shortcodes/latest-release.html
@@ -0,0 +1,9 @@
+{{ $caption := .Inner }}
+{{ $page := .Page }}
+{{ range (where $page.Site.RegularPages.ByDate.Reverse ".Section" $page.Section ).Limit 1 }}
+<h2>Latest release (
+ <a href="{{ .Permalink }}">
+ {{ .PublishDate.Format "2006-01-02" }}
+ )</a></h2>
+<p> {{ .Content }}</p>
+{{ end }}