This repository now includes a native Android WebView wrapper for the Termux Hub website. The app packages the existing static Termux Hub website files directly inside the APK and loads them locally from app assets.
- Launches Termux Hub in a full-screen Android WebView
- Loads content from
file:///android_asset/www/index.html(offline-capable website bundle) - Preserves internal page navigation across Termux Hub HTML pages
- Supports JavaScript and DOM storage for existing site behavior
app/- Android app modulesrc/main/java/.../MainActivity.kt- WebView host activitysrc/main/assets/www/- Bundled static website filessrc/main/AndroidManifest.xml- App manifest and launcher activitysrc/main/res/- App theme, launcher icons, and layout resources
build.gradle,settings.gradle,gradle.properties- Android Gradle configuration
- Android Studio (recommended) or Android SDK + Gradle
- JDK 17
- Open this repository folder in Android Studio.
- Let Gradle sync complete.
- Build debug APK:
- Build > Build Bundle(s) / APK(s) > Build APK(s)
- Output APK location:
app/build/outputs/apk/debug/app-debug.apk
If you have Gradle installed:
gradle :app:assembleDebugFor release builds:
gradle :app:assembleReleaseRelease APK output:
app/build/outputs/apk/release/app-release.apk
F-Droid packages source directly, so include metadata in an fdroiddata merge request (or your own metadata repo) using the app ID:
io.github.krishsharmacode.termuxhub
Categories: Internet, Education (adjust as needed)License: MITWebSite:https://krishsharma-code.github.io/termuxhub-website/SourceCode:https://github.com/krishsharma-code/termuxhub-websiteIssueTracker:https://github.com/krishsharma-code/termuxhub-website/issuesAutoName: Termux HubSummary: Android WebView wrapper for the Termux Hub cybersecurity guidesDescription: Explain it bundles Termux Hub static pages and renders them in WebView
When writing metadata (io.github.krishsharmacode.termuxhub.yml), ensure:
RepoType: gitRepo: https://github.com/krishsharma-code/termuxhub-website.gitBuildssection uses Gradle target:assembleReleasesubdirshould remain repository root unless repo layout changes- Add/update
CurrentVersionandCurrentVersionCodebased onversionNameandversionCodeinapp/build.gradle
- Create a signed release build.
- Verify app launch and internal navigation on a physical device/emulator.
- Confirm license file is present at repository root (
LICENSE). - Ensure no non-free dependencies/assets are introduced.
- Submit/update F-Droid metadata with current version and commit hash.
This project is licensed under the MIT License. See LICENSE.