From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id xQA0OL8BDmF7IQAAgWs5BA (envelope-from ) for ; Sat, 07 Aug 2021 05:45:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AAxDM78BDmEQewAAB5/wlQ (envelope-from ) for ; Sat, 07 Aug 2021 03:45:03 +0000 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 F3BE2FB77 for ; Sat, 7 Aug 2021 05:45:02 +0200 (CEST) Received: from localhost ([::1]:50158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCDGf-0001LL-5F for larch@yhetil.org; Fri, 06 Aug 2021 23:45:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCDGJ-0001L7-CN for emacs-orgmode@gnu.org; Fri, 06 Aug 2021 23:44:39 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:43703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCDGH-0007O7-NP for emacs-orgmode@gnu.org; Fri, 06 Aug 2021 23:44:39 -0400 Received: by mail-pj1-x1036.google.com with SMTP id pj14-20020a17090b4f4eb029017786cf98f9so20907792pjb.2 for ; Fri, 06 Aug 2021 20:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=ZTEaaNZ/oFrXZw+0Nx/25EF+hv1Tw5TNiRqUSpGVdOw=; b=LVrpbbGH2hO32PufKv5aaFSKhC+hOiSa+PXJ14TWgPriQjASLVMhctvSZRUm1l+saO twaHDeZ+hWx4ezU9EMclWItZE/s852EikPfj54YwSU8kKZCguyhCktJnbfQuirEgGLhE xC0QJD+jB2QvvPKZKPzdZI5VdcijKVq0dzPu4jJ2hCptPsVwpCmvTO+g8ltsQv3Ik23n wiH9L62NvpaEP4xIxgiCPOx0dgCizpoBz+04cQUQxeMCXyn4Kq6IzZMcmXEco6GYiFia /NMHIMoviJ1LhTsWXofDEDpXweOEm2gCipUANguvt5Hi+OHIcvrzkYvkJU99ple5/pjX g+9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=ZTEaaNZ/oFrXZw+0Nx/25EF+hv1Tw5TNiRqUSpGVdOw=; b=uYbe8bqUXySng6uvRasI+K3V+v5IMnZWdtZNqXtoX+4wbWyu6bg3qVTTTQ5o8l1hp5 Zhn6/B1NjmuRcZ8RHoysgNP23Z0A+9N2SDc6Kd6HDlIr5abhyd2BOELQHF4rXf387JX4 0RTztcU7P75dT9JdCJawcssO80Fx9arbnOnbrh3okpKQbu1tPvHz0/7w/Bg8CjXBWtBk /syz5e1lLoKhJdMTskuLXl2sdD/9kduDUXNViOMUlj/jw/cLziLtcK9Ubt9mTCEMc+Sd w6PJPOV3rrp6kMiD6LynQYdTyUrUxmvnN++TzQGxEHI7T34b2RDSKe75BsRv/XKdps4G 8/Dw== X-Gm-Message-State: AOAM531El9ufeyVlMX0fzU6/ddrTaHuF6xffgC2V2SsW3If/rsjmMxkh X8b8tGjeKff4FutM/l8WGOdDD7ba8Hg= X-Google-Smtp-Source: ABdhPJx9U93rQOU9xckuUI5swhvHb1ilmvAjRZtxALmQft2P1DFQIJcNyzCdmXsTdZ/XmOFKiYmcqA== X-Received: by 2002:a17:902:ed53:b029:12c:4b62:afa6 with SMTP id y19-20020a170902ed53b029012c4b62afa6mr3281000plb.22.1628307875569; Fri, 06 Aug 2021 20:44:35 -0700 (PDT) Received: from tim-desktop (220-235-14-33.dyn.iinet.net.au. [220.235.14.33]) by smtp.gmail.com with ESMTPSA id b15sm13806051pgm.15.2021.08.06.20.44.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 20:44:35 -0700 (PDT) User-agent: mu4e 1.6.1; emacs 28.0.50 From: Tim Cross To: emacs-orgmode Subject: [ANN] icsorg - node script to import events into org Date: Sat, 07 Aug 2021 13:33:36 +1000 Message-ID: <878s1dhqao.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628307903; 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:dkim-signature; bh=ZTEaaNZ/oFrXZw+0Nx/25EF+hv1Tw5TNiRqUSpGVdOw=; b=DyXKpAMb/xCQVEPORQUTTQpJQM1voYiCLqBMuny+GFHvTMJ392bfoHbkvqg/SryLrMsnvm R+sAc5fl/IAtTXShoxkOqkD8dEMQna9MSkjBcHD6wzHoOdorJPP1foXc/qvfCEBKDpQAth GlR+GkXo6M6R3yUP66H7ry0C99nDIoeAXkKt5+BAkZKS+Unim+AK6z+r6gLGxcxGUn/22G w9lTtpoEbBUyJwvMPJprOLh2IYfsrQ43TAVNTh5F4ICgINNTSuVYle+pGJcUTEsbRt3CUB Jw0ISx7K0+Jlb462fdB7XDg7JJDDv/lUlQew6XU3HjbBX4a9F5c2d2CAAmfNew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628307903; a=rsa-sha256; cv=none; b=dzvVkqeK0rSBsP4iJWopSCmY9JMA5mXhE71ZzDFLYBHYrsb3P4fV+41bxnn6+fT/qpBZF5 zD6rvuaKj1xY37NBpQLupEywqd1Sx1/pIxU3RZSKPouKhYNJzylPWvn+83IRV/CkqAE29W bWVvtUULfQgMX5BHjvVZFgXyGiE5RDn5x6szOZfEpL+HD7mWODw5OyTUtqIrPKFnAN5UyI DTLYWcnXf/SclnKwBaFPoa4fEc8BpkTu6doR57YUmtMyiZp6ZOsZAQbn5aocpl+MH2XHuF zZlJXwknH684Y6n42o4VnwV+eM1/QYkFbqROAQ6nFlRBkMhSAzVjfUjrzV1qag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LVrpbbGH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LVrpbbGH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: F3BE2FB77 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: TaQmc6f4E17O Hi All, I've written a simple node script which imports events from an .ics file into org, allowing them to show up in your agenda. This is based on ideas discussed in https://orgmode.org/worg/org-tutorials/org-google-sync.html. It is effectively a Javascript version of the ics2org Awk script, but with the additional capability of being able to automatically download the .ics file from Google. Prerequisites for the script are a fairly recent node version (at least v12) and NPM. The script has only been tested on Linux, but hsould work fine on macOS. Windows is an unknown quantity. The homepage is https://github.com/theophilusx/icsorg You can install the script by running npm i -g icsorg You can then run icsorg -h to see some usage information. Check the package README or the homepage for more details.