Coder Social home page Coder Social logo

bexonpak / tiny_computer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cateners/tiny_computer

0.0 0.0 0.0 1.48 GB

Click-to-run debian 12 xfce on android for Chinese users, with fcitx pinyin input method and some useful packages preinstalled. No termux required.

License: GNU General Public License v3.0

Shell 1.24% C++ 5.43% C 3.67% Objective-C 0.01% Java 1.41% Kotlin 68.22% Dart 16.51% Swift 0.35% HTML 0.24% CMake 2.94%

tiny_computer's Introduction

小小电脑

给所有安卓arm64设备的“PC应用引擎”平替

Click-to-run debian bookworm xfce on android for Chinese users, with fcitx pinyin input method preinstalled. No termux required.

特点

  • 一键安装,即开即用
  • 来自kali-undercover的win10主题(仅xfce版本),友好的界面

  • 提供常用软件的一键安装指令

  • 可方便地改变屏幕缩放,不用担心屏幕过大或过小

  • 便捷访问设备文件,或通过设备SAF访问软件文件

  • 提供终端和众多可调节参数供高级用户使用

原理

使用proot运行debian环境

内置noVNC显示图形界面

项目结构

assets的文件来源信息可以在这里找到。

完整的容器制作过程可以在这里看到。

数据包不再在assets中更新,而是随releases提供,主要是为了避免git越来越大

lib目录:

  • main.dart文件,页面布局,有点乱
  • workflow.dart文件,逻辑部分,目前也还可以理解
    • Util 工具类
    • TermPty 一个终端
    • G 全局变量类
    • Workflow 从软件点开到容器启动的所有步骤

编译

你需要配置好flutter和安卓sdk,然后克隆此项目。

在编译之前,需要在release中下载系统rootfs(或者自行制作),之后使用split命令分割,拷贝到assets。一般我将其分为98MB。

split -b 98M debian.tar.xz

接下来就可以编译了。我使用的命令如下:

flutter build apk --target-platform android-arm64 --split-per-abi --obfuscate --split-debug-info=tiny_computer/sdi

目前已知bug

多用户/分身情形无法sudo, 其它见issue

一些链接

这是我的第一个flutter软件,感谢这些项目为我指路

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

tiny_computer's People

Contributors

cateners avatar wyq0918dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.