termux / termux/termux-api

Feature: Shortcut API

Open
#515 1 comment 3 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

Feature description

  • add dynamic android shortcuts from termux
  • could be used for example to write a script that generates shortcut entries for some bookmarks that one has in their dotfiles
  • both supporting url and script shortcuts should be possible

Reference implementation
I have implemented exactly this in termux/termux-widget#80 but it would be useful if we would have it as API too for scripting. If I find time I will implement it by myself.

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 by reading the reference implementation in termux/termux-widget#80 and compare its dynamic shortcut behavior with the termux-api project's existing command interfaces. Confirm how both URL and script shortcuts should be exposed to Termux scripts, then verify that generated Android shortcut entries work for both use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, cli, mobile
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.