Skip to content

Acp#2583

Open
hastagaming wants to merge 7 commits into
termux-user-repository:masterfrom
hastagaming:acp
Open

Acp#2583
hastagaming wants to merge 7 commits into
termux-user-repository:masterfrom
hastagaming:acp

Conversation

@hastagaming

@hastagaming hastagaming commented Jun 23, 2026

Copy link
Copy Markdown

ACP — Add Commit Push

A tiny CLI tool that simplifies the most common Git workflow: git add . && git commit -m "message" && git pushacp "message"

Features

  • Pure C, no external dependencies beyond Git itself
  • Fast — compiles in seconds, runs instantly
  • Safe — validates tag names, protects important branches, warns about secrets/huge files
  • Simple — single command for the most common workflow
  • Tag management — create/remove tags locally or push/remove them remotely
  • Show mode — preview Git commands before execution with -s flag
  • Security scanning--check detects .env files, API keys, and large binaries

Usage

acp "commit message"              # add, commit, and push
acp -s "message"                  # show mode — preview commands first
acp --tag "v1.0.0"                # create a tag
acp --tag-push "v1.0.0"           # push tag to remote
acp --check                       # scan for sensitive files
acp --remote "https://github..."  # save a remote URL for this repo

Building From Source

make
sudo make install  # or copy `acp` to a directory in $PATH

Or use the prebuilt binary installer:

chmod +x install-prebuilt.sh
./install-prebuilt.sh

Requirements

  • Git (for actual git operations)
  • gcc or clang (only needed to build from source)

LICENSE

apache 2.0


ACP (Add Commit Push) is a lightweight CLI wrapper around the most repetitive Git workflow: add, commit, and push. It's written in pure C, builds instantly, and includes modern features like tag management, security scanning, and safe mode to protect important branches. Perfect for Termux on Android where keyboard shortcuts are scarce.

@robertkirkman

Copy link
Copy Markdown
Member

I have a question about this type of package which is, why do you only want to add this package to Termux and not to other distros?

@hastagaming

hastagaming commented Jun 25, 2026

Copy link
Copy Markdown
Author

because this package for native termux, for the another distros, i will make it later, thank you. oh and are you the maintainer?

@robertkirkman

Copy link
Copy Markdown
Member

Yes, but I am skeptical about the usefulness of a package that uses hundreds of lines of C code just to wrap the simple series of three commands

git add .
git commit -m "message"
git push

I would like to see you also submit this package to another Linux distro so that the opinion of others can be compared to mine and we can see how many users a project like this is likely to have.

@hastagaming I have another question, though, which is,

why does your README contain directions written in the 2nd person with "your" describing this PR?

image

Is the only reason you are creating this PR because someone else told you to create this PR, or did you ask someone else how to create a PR to TUR?

Specifically, @hastagaming , if you did ask someone else how to create a PR to TUR,

did you ask that before or after you created the "acp" project?

If you asked that after you created the "acp" project,

then why does your project's initial README contain directions written in the second person instructing to create this PR?

@hastagaming

Copy link
Copy Markdown
Author

@robertkirkman sorry, i will remove it soon

@hastagaming

Copy link
Copy Markdown
Author

i've already remove the text

@robertkirkman

robertkirkman commented Jun 26, 2026

Copy link
Copy Markdown
Member

Yes, but that does not answer the question I had which is, did that text get there because you asked someone else how to put a program on TUR first, then made the program second after that?

@hastagaming

Copy link
Copy Markdown
Author

i dont know, I was thinking about that

@robertkirkman

Copy link
Copy Markdown
Member

I wonder about it just because there was once this infamous video where a tutorial told people how to make PRs and it resulted in a lot of PRs being created from people following the tutorial,

https://socket.dev/blog/express-js-spam-prs-commoditization-of-open-source

when I saw your README, it reminded me a lot of that so I wondered if this situation is similar.

@hastagaming

Copy link
Copy Markdown
Author

but, i not see the tutorial, i just say yo ai to make the README, but he gave me the tutorial, even though I didn't ask for it

@hastagaming

Copy link
Copy Markdown
Author

only README, not all acp

@licy183

licy183 commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

I don't think that this package conforms the TUR's packag policy.

TUR does not intend to package pure scripts, which are simply wrappers around existing programs. Whether this package is written in C or bash does not change the fact that it is a script.

@hastagaming

Copy link
Copy Markdown
Author

hmm, but there git backend, so is it not pure now?

@hastagaming

Copy link
Copy Markdown
Author

hey, are you the maintainer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants