termux / termux/termux-api

termux-calendar?

Open
#260 9 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

It would be useful to have a command like this:

termux-calendar add \
    --title 'My meeting' \
    --id 'Google:Work Calendar' \
    --start "$unix_time_start" \
    --stop "$unix_time_stop" \
    --location "$latitude,$longitude" \
    --description 'A long horrible meeting' \
    --all-day 'false'

It seems straightforward with the intents documented here https://developer.android.com/guide/topics/providers/calendar-provider.html#intents, but I don't have much experience packaging code like this into java/kotlin apps, so not sure how to start. I tried this with the adb/termux am command, but I think it is getting rejected b/c of permissions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the proposed termux-calendar command and the Android Calendar Provider intents documented in the issue; compare them with the adb/Termux am approach and its permission behavior. Done means exposing calendar-event creation with the listed title, calendar id, start and stop times, location, description, and all-day options through a Termux command.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.