From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cFD9MrSiPWRQKQAASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 21:49:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cDPtMrSiPWTrSgEA9RJhRA (envelope-from ) for ; Mon, 17 Apr 2023 21:49:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 75CA13BD6F for ; Mon, 17 Apr 2023 21:49:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poUps-0006sx-RP; Mon, 17 Apr 2023 15:48:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poUpo-0006sZ-Ky for emacs-orgmode@gnu.org; Mon, 17 Apr 2023 15:48:20 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poUpm-0006fc-19 for emacs-orgmode@gnu.org; Mon, 17 Apr 2023 15:48:19 -0400 Received: from fews02-sea.riseup.net (unknown [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4Q0czg3gqhzDqKZ for ; Mon, 17 Apr 2023 19:48:15 +0000 (UTC) X-Riseup-User-ID: E00D08D50367A8587FF517DA8131D43CFEAAC3E61CBCA079A43F22E153C680F8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4Q0czf6bwkzFsR2 for ; Mon, 17 Apr 2023 19:48:14 +0000 (UTC) From: Hanno Perrey To: emacs-orgmode Subject: [ANN] org-jami-bot Date: Mon, 17 Apr 2023 21:22:48 +0200 Message-ID: <87mt36p9xg.fsf@hoowl.se> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=198.252.153.129; envelope-from=hanno@hoowl.se; helo=mx1.riseup.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681760948; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=/lwzdTVZzrYoerX46TFnyIbXPTzk15C6JEMl8DmtdTU=; b=IePtzX3q5C0xSzRL6EtKm5O6PUuNlP4k0AK7w9L8WDQulEk9NdTOXT1x0FAgKv0Oclfo2S w9G1017eGeT9sau5RM7mY6u0jShdfrKkARTXhiZqWEke+T8FHH/pow0YU8kgSWSbeVifi7 na2o5OilHKg+hzSQhwyuJtZYW5PFdqGTDpOcYOtAnmER1KUv9H9QFb2K9smG0NsCnAbDxM DJj/ASHdsBBfabM0aVkamGK9riZ4r7VG0YUn1SJ2/xB71j2kw99/YmIMxECamVm7Gbdtm/ SOvcLi+xW97/Y2ygF5NQK+Kh7LDNexJ9JnFnvvCnE14vxXWtxoCqR1nxr8g01Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681760948; a=rsa-sha256; cv=none; b=hL3HlhE/cVFPhBZaKMsro73jahUiNqzgqRGekdgDSwueD329DcUkmKxRm5Cjlzn8ne9+o6 BvyKptQwvljSphuQMrwXE/rHWgu5Iwlu0gVx6BCR6ZYZ8aBVM3w/loMrR/BmjD2mEmXhVO I0RV0eH1F0RejnDECIGofiQnKjbdx6HKbi8UgaFbUUiZ60Q6UIpXszxSISBgR3eY9+Yw2z Ue1nK4+NK0SrEowTfwT+hzp87pLAldYOI+spPjcAYeJIFUlkPK0kAaHXhh3oErprTxazP3 xdFd4MZlRj9u8oJEDShyv9VH3K+iPvcXnHgMcXges60pdqe0pjWL2rbaqw09qg== Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -3.11 X-Spam-Score: -3.11 X-Migadu-Queue-Id: 75CA13BD6F X-Migadu-Scanner: scn1.migadu.com X-TUID: fYwJt6AFwyez Dear fellow org-users, I have just released two new packages that scratch an old itch of mine: capturing thoughts, quick notes and URLs while "on the road" with only my mobile phone around. Messaging myself feels most natural, so that is what I went with: triggering a capture via GNU Jami, the distributed private messenger. The first package, =jami-bot= provides something of a framework to handle incoming text and file messages. =org-jami-bot= provides hooks and functions that extend this to Org mode captures. Any text or file is being captured, but even simple commands (prefixed with '!') are possible, for example: #+begin_example !schedule monday buy oat milk #+end_example Schedules a todo entry for next monday. #+begin_example !url blog emacs news https://sachachua.com/blog/2023/04/2023-04-17-emacs-news/ #+end_example Uses =org-capture-ref= to capture the URL and tags it with :blog:emacs:news:. This last command is technically not part of =org-jami-bot= as it requires =org-capture-ref= to be installed and configured -- but it only takes relatively little code to realize and I have documented it in a blog post: https://www.hoowl.se/org-capture-ref-jami-bot.html Further extensions are quite easily possible, I believe. More examples and detailed documentation can be found here: https://www.hoowl.se/org-jami-bot.html The code to both packages will eventually be on Melpa, but for now it can be found here: https://gitlab.com/hperrey/jami-bot https://gitlab.com/hperrey/org-jami-bot Feedback, comments and ideas for further development are welcome! Thanks and cheers, Hanno -- Hanno Perrey https://hoowl.se