diff --git a/_config.yml b/_config.yml index 1080e0eb..044c62c6 100644 --- a/_config.yml +++ b/_config.yml @@ -15,7 +15,7 @@ # in the templates via {{ site.myvariable }}. title: Termux lang: en -supported_langs: [en,cn] +supported_langs: [en,cn,ar] baseurl: "" # the subpath of your site, e.g. /blog url: "https://termux.dev" # the base hostname & protocol for your site, e.g. http://example.com site_source: "https://github.com/termux/termux.github.io" @@ -78,6 +78,12 @@ defaults: lang: cn permalink: /:path/:basename:output_ext + - + scope: + path: "ar" + values: + lang: ar + permalink: /:path/:basename:output_ext # Set page.category for all posts under respective categories - @@ -114,6 +120,12 @@ defaults: lang: cn permalink: /cn/:collection/:categories/:year/:month/:day/:title:output_ext + - + scope: + path: "_posts/ar" + values: + lang: ar + permalink: /ar/:collection/:categories/:year/:month/:day/:title:output_ext # Exclude from processing. # The following items will not be processed, by default. Create a custom list diff --git a/_data/language.yml b/_data/language.yml index f0ad5002..df0a7082 100644 --- a/_data/language.yml +++ b/_data/language.yml @@ -8,3 +8,7 @@ en: cn: name_english: "Chinese" name_native: "中文" + +ar: + name_english: "Arabic" + name_native: "العربية" diff --git a/_data/t/ar/views/home.yml b/_data/t/ar/views/home.yml new file mode 100644 index 00000000..f7264544 --- /dev/null +++ b/_data/t/ar/views/home.yml @@ -0,0 +1,50 @@ +--- +intro: >- + ترمكس هو محاكي طرفية، وبيئة تشغيلية للينكس يعمل مباشرة على جهازك دون الحاجة إلى + صلاحيات الروت، أو خطوات تثبيت، + كما يتضمن أهم الحزم الأساسية بشكل تلقائي - + وتتوفر العديد + من الحزم الإضافية عبر مدير الحزم + +features: + secure: + title: آمن. + description: >- + أتصل بالأجهزة البعيدة (Access remote) عبر ssh من خلال حزمة OpenSSH، وتفاعل مع باقي الحزم المعايرة + (standard packages) على ترمكس، عبر محاكي طرفية رائع ومفتوح المصدر. + feature_packed: + title: أختر، وأفعل ما يحلو لك. + description: >- + خذ معك Bash أو ربما تفضل استخدام fish أو Zsh، من خلال nano، ربما Emacs أو Vim، + اسحب الرسائل من SMS هاتفك، وأربطها مع خدمات أخرى من خلال curl، استخدم rsync لتحفظ نسخة احتياطية + من قائمة جهات الاتصال في هاتفك وتسترجعها في خادم بعيد (remote server). + customizable: + title: قابل للتخصيص + description: >- + حمل ما تريده من خلال مدير الحزم APT، ذاته المستخدم في توزيعات ديبيان، وأبونتو + ما رأيك بالبدأ في تحميل git ونسخ الملفات إلى هاتفك؟ + explorable: + title: أبحر بخيالك + description: >- + Have you ever sat on a bus and wondered exactly which arguments + tar accepts? Packages available in Termux are the same as those + on Mac and Linux - install man pages on your phone and read them + in one session while experimenting with them in another. + portable: + title: Portable - With batteries included. + description: >- + Can you imagine a more powerful yet elegant pocket calculator + than a readline-powered Python console? Up-to-date versions of + Perl, Python, Ruby and Node.js are all available. + scalable: + title: Ready to scale up. + description: >- + Connect a Bluetooth keyboard and hook up your device to an external + display if you need to - Termux supports keyboard shortcuts and + has full mouse support. + tinkerable: + title: Tinkerable. + description: >- + Develop by compiling Go, Rust, Swift, or C files with Clang and + build your own projects with CMake and pkg-config. Both lldb/GDB + and strace are available if you get stuck and need to debug. diff --git a/_data/t/ar/views/navigation.yml b/_data/t/ar/views/navigation.yml new file mode 100644 index 00000000..b6aa7b72 --- /dev/null +++ b/_data/t/ar/views/navigation.yml @@ -0,0 +1,11 @@ +--- +# Header +docs: Docs +posts: Posts +packages: Packages +donate: Donate +privacy_policy: Privacy Policy + +# Footer +description: Terminal emulator and Linux environment for Android. +site_source: Site Source diff --git a/_sass/site.scss b/_sass/site.scss index 11c8eedd..3f497c31 100644 --- a/_sass/site.scss +++ b/_sass/site.scss @@ -48,3 +48,17 @@ $on-laptop: 800px !default; "partials/base", "partials/layout" ; + +// RTL for Arabic + +html[lang=ar] { + direction: rtl; +} +[lang=ar] .site-nav { + // fix navbar + direction: ltr; +} +[lang=ar] .site-footer { + // fix footer + direction: ltr; +} \ No newline at end of file diff --git a/ar/docs/apps/termux b/ar/docs/apps/termux new file mode 120000 index 00000000..11efd366 --- /dev/null +++ b/ar/docs/apps/termux @@ -0,0 +1 @@ +../../../_submodules/termux-app/docs/en \ No newline at end of file diff --git a/ar/docs/index.md b/ar/docs/index.md new file mode 100644 index 00000000..ed0a6877 --- /dev/null +++ b/ar/docs/index.md @@ -0,0 +1,18 @@ +--- +page_ref: /docs/index.html +lang: ar +page_ref: /docs/index.html +--- + +# Termux Docs ?? + +Welcome to documentation for Termux. + +**Currently, [termux wiki site](https://wiki.termux.com/wiki/Main_Page) is the primary place for documentation but there are plans to remove it and move all documentation here instead. The documentation here is in the process of being written and will slowly be updated and contains info that is not available on the wiki site.** + +## Apps + +The following Android apps are supported. + +- [Termux app](apps/termux/index.md) +## diff --git a/ar/donate.md b/ar/donate.md new file mode 100644 index 00000000..43e39c1c --- /dev/null +++ b/ar/donate.md @@ -0,0 +1,55 @@ +--- +layout: page +title: Donate +redirect_from: /donate +page_ref: /donate.html +--- + +You can consider donating if you want to support [@termux](https://github.com/termux) development, encourage us to bring more features/packages and help pay hosting costs for our sites and additional packages repositories and mirrors, pay testing devices costs, etc. + +We are currently using github actions for building and uploading packages to our [repositories](https://packages.termux.dev) hosted by [FossHost](https://fosshost.org/). Thanks to this, the main infrastructure does not incur any costs for individual developers. + +Donating to us will show your appreciation and help support the work (as in development or maintenance) of the various members and contributors. Even a small amount (for a cup of coffee) is greatly appreciated. Look at the git history and repository statistics ([`termux-packages`](https://github.com/termux/termux-packages/graphs/contributors), [`termux-app`](https://github.com/termux/termux-app/graphs/contributors)) to see all the people that have put time and effort into the packages and apps. Many of these people are outside contributors and not part of the [@termux team](https://github.com/orgs/termux/people), but should be supported as well. You can also check out [`CODEOWNERS`](https://github.com/termux/termux-packages/blob/master/CODEOWNERS) for the `termux-packages` if you want to support the maintenance of specific packages. + + +### Open Collective + +Our [@opencollective](https://github.com/opencollective) account at https://opencollective.com/termux whose fiscal hosting (financial management) is done by Open Source Collective (https://www.oscollective.org). Recurring custom monthly/yearly (fiat only) and one time [contributions](https://opencollective.com/termux/contribute) are supported. You can pay fiat currencies with credit/debit card, PayPal, bank transfer and can also pay with `40+` supported crypto currencies, including `BTC` and `ETH`. + + +### Github Sponsors + +Become our [github sponsor](https://github.com/sponsors) at https://github.com/sponsors/termux whose fiscal hosting (financial management) is done by Open Source Collective (https://www.oscollective.org). Recurring custom monthly and one time contributions are [supported](https://docs.github.com/en/sponsors/sponsoring-open-source-contributors/sponsoring-an-open-source-contributor). You can pay fiat currencies with credit/debit card or PayPal. + + +### Agnostic Apollo + +[@agnostic-apollo](https://github.com/agnostic-apollo) is currently the main developer and maintainer of the android apps, termux site and some other repositories/packages. See [Donations.md](https://github.com/agnostic-apollo/agnostic-apollo/blob/main/Donations.md) for how to donate. + + +### Grimler + +[@grimler91](https://github.com/grimler91) makes contributions to all the repositories and manages primary and grimler repos. Donate ETH to `0x09D42e7518f5bF6eF173c536Ad8e87c973615A9D`, or through [liberapay](https://liberapay.com/grimler). + + +### Landfillbaby + +[@landfillbaby](https://github.com/landfillbaby) makes contributions to all the repositories, but mostly concerns herself with package updates. Donate through [Liberapay](https://liberapay.com/landfillbaby) (preferred), [PayPal.Me](https://paypal.me/landfillbaby), or [Ko-fi](https://ko-fi.com/landfillbaby). + + +### Yaksh Bariya + +[@thunder-coding](https://github.com/thunder-coding) maintains `nodejs`, and often updates critical dependencies in main repo. Mostly packaging work and other chore tasks. Visit [Yaksh Bariya's website](https://codingthunder.me/sponsor) for more information. + + +### Max Ivan + +[@maxython](https://github.com/maxython) supports termux `pacman` package manager and its packages. Check [maxython.pw](https://maxython.pw) for how to donate. + + +### Fornwall + +[@fornwall](https://github.com/fornwall) is the creator of the [@termux](https://github.com/termux) project and was for several years the sole termux developer and created the apps and ported many packages, but is currently inactive. You can donate through https://paypal.me/fornwall, https://www.patreon.com/termux, or by buying the (now [deprecated](https://github.com/termux/termux-app#google-play-store-deprecated) and basically non-working) termux addon apps on Google play ([Termux:API](https://play.google.com/store/apps/details?id=com.termux.api), [Termux:Float](https://play.google.com/store/apps/details?id=com.termux.window), [Termux:Widget](https://play.google.com/store/apps/details?id=com.termux.widget), [Termux:Styling](https://play.google.com/store/apps/details?id=com.termux.styling), [Termux:Tasker](https://play.google.com/store/apps/details?id=com.termux.tasker), [Termux:Boot](https://play.google.com/store/apps/details?id=com.termux.boot)). *Note that any donations sent to [termux's patreon](https://www.patreon.com/termux) account controlled by fornwall are not shared with rest of the members to support* **current** *termux development/costs, so consider moving to Open Collective instead. However, if you want to support fornwall's past work, then you can of course send donations to him.* +## + +*Note for [@termux](https://github.com/termux) maintainers: Feel free to add/update/delete your donation links on [page source(s)](@SITE__URL@/blob/master/@PAGE__LANG@/donate.md) (of all languages).* diff --git a/ar/index.md b/ar/index.md new file mode 100644 index 00000000..66d1f81d --- /dev/null +++ b/ar/index.md @@ -0,0 +1,5 @@ +--- +layout: home +lang: ar +page_ref: /index.html +--- diff --git a/ar/posts/apps.html b/ar/posts/apps.html new file mode 100644 index 00000000..04f218dc --- /dev/null +++ b/ar/posts/apps.html @@ -0,0 +1,9 @@ +--- +layout: page +title: Apps Posts +no_add_title_heading: true +category_name: apps +page_ref: /posts/apps.html +--- + +{% include posts/category.html %} diff --git a/ar/posts/general.html b/ar/posts/general.html new file mode 100644 index 00000000..7bc44eed --- /dev/null +++ b/ar/posts/general.html @@ -0,0 +1,9 @@ +--- +layout: page +title: General Posts +no_add_title_heading: true +category_name: general +page_ref: /posts/general.html +--- + +{% include posts/category.html %} diff --git a/ar/posts/index.md b/ar/posts/index.md new file mode 100644 index 00000000..a2f9dacf --- /dev/null +++ b/ar/posts/index.md @@ -0,0 +1,5 @@ +--- +layout: posts/index +title: Posts +page_ref: /posts/index.html +--- diff --git a/ar/posts/packages.html b/ar/posts/packages.html new file mode 100644 index 00000000..d16373d5 --- /dev/null +++ b/ar/posts/packages.html @@ -0,0 +1,9 @@ +--- +layout: page +title: Packages Posts +no_add_title_heading: true +category_name: packages +page_ref: /posts/packages.html +--- + +{% include posts/category.html %} diff --git a/ar/privacy-policy.md b/ar/privacy-policy.md new file mode 100644 index 00000000..47def4bb --- /dev/null +++ b/ar/privacy-policy.md @@ -0,0 +1,10 @@ +--- +layout: page +title: Privacy Policy +redirect_from: /privacy-policy +page_ref: /privacy-policy.html +--- + +Termux does not record any personal information and requests permissions only for termux and its plugin apps to function properly, without sending any data over the network in the background. + +The [primary FossHost server](https://packages.termux.dev) which serves packages records a log of remote IP, access time and what is being accessed. This information is only stored for troubleshooting purposes and is not shared with any third parties. The [CloudFlare CDN endpoint](https://packages-cf.termux.dev) for primary host and [other termux mirrors](https://github.com/termux/termux-packages/wiki/Mirrors) hosted by the community and maintainers may have different policies. diff --git a/pages/ar/community.md b/pages/ar/community.md new file mode 100644 index 00000000..935d66ff --- /dev/null +++ b/pages/ar/community.md @@ -0,0 +1,6 @@ +--- +layout: redirect +sitemap: false +permalink: /community +redirect_to: https://wiki.termux.com/wiki/Community +--- diff --git a/pages/ar/docs.md b/pages/ar/docs.md new file mode 100644 index 00000000..02160859 --- /dev/null +++ b/pages/ar/docs.md @@ -0,0 +1,6 @@ +--- +layout: redirect +sitemap: false +permalink: /docs +redirect_to: /en/docs +--- diff --git a/pages/ar/issues.md b/pages/ar/issues.md new file mode 100644 index 00000000..a2e21887 --- /dev/null +++ b/pages/ar/issues.md @@ -0,0 +1,6 @@ +--- +layout: redirect +sitemap: false +permalink: /issues +redirect_to: https://github.com/termux/termux-packages/issues +--- diff --git a/pages/ar/posts.md b/pages/ar/posts.md new file mode 100644 index 00000000..267ccc3f --- /dev/null +++ b/pages/ar/posts.md @@ -0,0 +1,6 @@ +--- +layout: redirect +sitemap: false +permalink: /posts +redirect_to: /en/posts +---