Cateners/tiny_container

Kotlin
LinuxAndroid

Click-to-run debian 13 with desktop environment on android!

androidproot-androidtermux-prootcontainerdebianlinuxproottermux
Sterne-Wachstum
Sterne
4.1k
Forks
205
Wochenwachstum
+42
Issues
199
3.8k4k
Juli 26Juli 26Aug. 26Sept. 26
README

中文版

Tiny Container

[!NOTE] Linux is powerful. Linux can also be easy to use.

Install Tiny Container and instantly get a Linux computer* — run PC software right on your phone or tablet!

Preview image

Features

Designed for ordinary users. You don't need to know Linux...

  1. Install the app and open it — no manual steps required*. After a 5-minute initialization, you'll be at the desktop.
  2. Installation commands for common software are already prepared for you. Just tap, and the app handles the rest.
  3. The UI is designed to be as friendly as possible, not just "good enough to have a UI". AI-powered translations are available in many languages. Even RTL layout is supported!
    • (Admittedly, I don't use RTL myself and can't verify the AI translations, so no guarantees on accuracy! But better to have it than not, right?)

Also a toy for geeks — built-in terminal, rich container configuration options!

  1. Containers and configurations can be freely shared!
  2. Cutting-edge features from the Termux community are ready to go! No need to learn how to install containers, start graphical sessions, configure audio, and all that tedious stuff. The following features work out of the box:
    • Import containers via the import button, with graphical session startup included (if supported);
    • Built-in AVNC and Termux:X11 frontends — no extra app installation needed;
    • Audio and microphone forwarding;
    • virglrenderer and turnip+zink graphics acceleration...
  3. Features only possible in a single app!
    • Audio and VNC transmitted over unix sockets, bypassing the network stack;
    • Browse container files via the SAF file manager;
    • Add .desktop files or even arbitrary commands as shortcuts to your Android launcher!
  4. Won't conflict with Termux!

The goal of this project is to let ordinary users enjoy Linux as effortlessly as possible.
Termux is widely known as a treasure trove for developers, massively expanding what your device can do.
Yet few people outside the developer community realize the potential sitting in their devices, so I hope this project lowers the barrier to entry.

[!CAUTION]
This project makes heavy use of AI. Given the level of completion, it's kind of unavoidable... isn't it? ^_^
This includes code logic, layouts, translations, and more. There may be unexpected bugs in some places. Please be aware.

What I won't do:

  • Support chroot containers. For the first three years of this project, people occasionally asked me to support it, usually citing "better performance".
    While that's true in theory, no one has ever provided actual benchmark data showing under what scenarios proot's slowness becomes a performance bottleneck. Since I have no experience developing apps that use root (and managing root seems like a huge hassle), I won't be supporting chroot.
    In short, if you really need it, use Termux! If you need automated setup, try Kali Nethunter or similar.
  • Support Mali GPU acceleration; Wayland; Docker, systemd; GNOME; some specific distro; camera, serial port, etc... (^-^*)
    No wish-listing please! If the community comes up with solutions, I may add them in.
    As for other distros, you can actually check out the images repo and give it a try yourself.

Download

APKs are available on the releases page.

Build

After cloning the repository, download the prebuilt library jniLibs.zip from the releases page and extract it to app/src/main/jniLibs/arm64-v8a. Then you can open and build the project normally in Android Studio.
For automatic container installation on first launch, rename your container to rootfs.tar.zst and place it in app/src/main/assets.
For container information, including how to make your own containers and some pre-built containers I've already prepared, check out this repository.

The jniLibs.zip prebuilt libraries come from my fork of termux-packages.
My main modifications there are:

  • scripts/generate-bootstraps.sh, to directly generate the required packages. I manually renamed the needed files to .so and packaged them. You should be able to easily see which .so files correspond to which files in the bootstraps.
  • packages/proot/build.sh, to use my fork of proot (the changes there are a bit messy, nothing worth looking at).

Other files may have minor modifications too, but those are usually just to get things compiling cleanly or to remove some Termux hard-coded paths.

Documentation?

Not ready yet — please wait just a little bit longer...

  • If the screen appears too large or too small, adjust the display scaling in Features -> AVNC.
  • Android storage is mounted at /mnt/sdcard by default. Don't forget to grant storage access permission.
  • If a Linux app can't detect the microphone, check that the microphone is selected (Tiny Microphone Input), or try restarting that Linux app.

What about the old code?

The Tiny Computer code is preserved on the v1_tiny_computer branch. Tiny Container is a complete rewrite of Tiny Computer, and I likely won't maintain Tiny Computer going forward. So, use Tiny Container!

Acknowledgments

Thanks to the termux community for porting so many excellent programs to Android and providing countless solutions for container configuration scenarios.
Thanks to the tmoe project for making container configuration easier. Although Tiny Container doesn't directly use tmoe this time, some scripts still bear its influence. tmoe was my introduction to Linux.
Thanks to the avnc and termux-x11 projects — the Linux graphical interfaces used by Tiny Container.
Thanks to vinceliuice's Fluent project — the default theme used by the Xfce container.
Thanks to lxgw's Xiaolai Font project — the default font used by containers.
Thanks to the debian project and all the open-source maintainers who form the foundation of the containers! All containers currently used in this project are based on Debian.
Thanks to all Tiny Computer (and Tiny Container) contributors, users, and everyone who believes in this project.

Ähnliche Repositories
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

DartlibraryBSD 3-Clause "New" or "Revised" Licensemobileandroid
flutter.dev
178.8k31.1k
Genymobile/scrcpy

Display and control your Android device

CappApache License 2.0androidc
149.1k13.7k
react/react-native

A framework for building native applications using React

C++MIT Licenseandroidapp-framework
reactnative.dev
126.5k25.2k
rustdesk/rustdesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Rustcrates.ioappGNU Affero General Public License v3.0remote-controlremote-desktop
rustdesk.com
122.9k18.9k
Hack-with-Github/Awesome-Hacking

A collection of various awesome lists for hackers, pentesters and security researchers

awesomeCreative Commons Zero v1.0 Universalhackingsecurity
119.9k10.7k
justjavac/free-programming-books-zh_CN

:books: 免费的计算机编程类中文书籍,欢迎投稿

awesomeGNU General Public License v3.0pythonjavascript
weibo.com/justjavac
118.7k28.3k
tldr-pages/tldr

Collaborative cheatsheets for console commands 📚.

MarkdowntutorialOthershellman-page
tldr.sh
63.6k5.4k
2dust/v2rayNG

A V2Ray client for Android, support Xray core and v2fly core

KotlinGNU General Public License v3.0androidproxy
v2rayng.2dust.link
62.3k8.1k
Solido/awesome-flutter

An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.

Dartawesomeflutterawesome-list
61.1k6.9k
termux/termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.

JavaMavencliOtherandroidterminal
f-droid.org/en/packages/com.termux
60.5k7.5k
wasabeef/awesome-android-ui

A curated list of awesome Android UI/UX libraries

awesomeMIT Licenseandroidawesome
57.5k10.3k
appwrite/appwrite

Appwrite® - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licenseappwritedocker
appwrite.io
57.3k5.7k