Skip to content

Conversation

Copy link

Copilot AI commented Nov 30, 2025

Adds a Python script to automate GitHub uploads from Android tablets running Pydroid, enabling direct commit/push workflows without requiring git CLI.

Changes

  • github_uploader_android.py - GitHub API wrapper with GUI/CLI modes

    • Bearer token auth with latest REST API (2022-11-28)
    • File upload, create, list contents, view commits
    • Tkinter GUI matching existing network_monitor_android.py style
    • CLI fallback when tkinter unavailable
    • 25MB file size limit for memory safety
  • .gitignore - Standard Python ignores plus sensitive config files

Usage

from github_uploader_android import GitHubAPI

api = GitHubAPI(token="ghp_xxx", owner="Ada40", repo="fractal-harmonic-framework")
api.upload_local_file("my_script.py", message="Add new script")

Or run directly for GUI:

python github_uploader_android.py
Original prompt

So I'm building an agent that will automatically upload to get Hub to my page through Android and pydroid is there a way you can help me automate this process


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add automation for GitHub uploads from Android Add GitHub uploader script for Android/Pydroid automation Nov 30, 2025
Copilot AI requested a review from Ada40 November 30, 2025 03:56
@Ada40 Ada40 marked this pull request as ready for review December 2, 2025 16:06
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.

2 participants