1. Project Overview & Quickstart (termux/termux-packages)
File: README.md
Termux packages
This project contains scripts and patches to build packages for the Termux
Android application.
Quick how-to about Termux package management is available at Package Management. It also has info on how to fix repository is under maintenance or down errors when running apt or pkg commands.
Contributing
Read CONTRIBUTING.md and Developer's Wiki for more details.
Community
The Termux Community docs are available here.
All our community members must follow the rules that are defined here and any Content Not Allowed must not be posted.
Sponsors and Funders
GitHub Secure Open Source Fund (1, 2)
NLnet NGI Mobifree (1, 2)
Cloudflare (1)
File: root-packages/mtr/hsearch/README.md
This hsearch(3) implementation is mostly based on the one present in FreeBSD 11.1.
File: root-packages/arp-scan/hsearch/README.md
This hsearch(3) implementation is mostly based on the one present in FreeBSD 11.1.
2. Official Technical Reference & Guides (termux/termux.github.io)
File: README.md
Termux.dev
This is the source repository for termux.github.io and its custom domain termux.dev. The [termux.org] is redirected to termux.dev. The termux.com was previously mirrored from termux/termux.com, but is now redirected to https://play.google.com/store/apps/details?id=com.termux.
Run locally
Get the git submodules with:
git submodule update --initAnd then install dependencies as explained at Using Jekyll with Pages, and finally run
bundle exec jekyll serve --futureto start a local server at http://localhost:4000. --future is needed to show posts with dates in the future.
If [_config.yml] file was updated, then stop server with ctrl + c and start it again for changes to take effect.
Add New Category For Posts
- Add a new page file for the category at
<language>/posts/<category_name>.htmlwith the following contents, where<language>is language code likeru. Replace<category_name>with the actual name for the category in the file name and front matter. Thecategory_namevariable is used bycategory.htmlto load posts for the category. Checken/posts/general.htmlfor thegeneralcategory as a sample. The front matter title must be language specific.
---
layout: page
title: <category_name> Posts
no_add_title_heading: true
category_name: <category_name>
page_ref: /posts/<category_name>.html
---
{% include posts/category.html %}Add
[{%- include t.html root="posts" key="views.index.<category_name>" -%}](/{{- page.lang -}}/posts/<category_name>.html)link for the category in_layouts/posts/index.mdlike[{%- include t.html root="posts" key="views.index.general" -%}](/{{- page.lang -}}/posts/general.html). The translation for the category must be added to the_data/posts/t/<language>/view.ymlfile with theindex.<category_name>key, like in_data/posts/t/en/view.yml. Theindex.<category_name>_postskey must also be added that is used bycategory.html.Add front matter default values for
categoryfor the_posts/*/<category_name>path scope in [_config.yml] file. This is required because otherwise jekyll will not assign thecategoryautomatically to the posts and posts will not be added to thesite.categoriesused bycategory.htmland so posts won't show for the category. Check jekyll docs for more info. If we used the<category_name>/_posts/path for posts, then<category_name>would have been automatically assigned to the post since it exists above the_postsdirectory in the path (checkpage.categoriesvariable), but we can't use that since we need to maintain_posts/<language>directory structure and we don't want language to be added as the category and added after/postsin url. We can also addcategoryto front matter of each post file but that just creates repeatability.
defaults:
-
scope:
path: "_posts/*/<category_name>"
values:
category: <category_name>- For each new language added for posts, add following to [
_config.yml] file so that proper language based route is assigned to posts and thelangfront matter value is also assigned so that it can be accessed withpage.lang.
-
scope:
path: "_posts/<language>"
values:
lang: <language>
permalink: /<language>/:collection/:categories/:year/:month/:day/:title:output_extAdd New Post In Category
Check jekyll docs and github docs for details.
- Add the file for the
enlanguage post under the directory for the category at_posts/en/<category_name>/YYYY-MM-DD-POST_TITLE.md. For example, by creating the file_posts/en/general/1970-01-01-post-title.md, jekyll will automatically create a route for the post aten/posts/general/1970/01/01/post-title.html. For translations of posts to other languages thanen, create a file at_posts/<language>/<category_name>/YYYY-MM-DD-POST_TITLE.md, where<language>is language code likeru. The front matter title must be language specific. You can also addlast_modified_atandauthorkey values in the front matter.
---
title: "Post Title"
page_ref: /posts/<category_name>/YYYY/MM/DD/.html
---
Post ContentAdd any asset files used by the post under the
assets/posts/globals/<category_name>/YYYY-MM-DD-POST_TITLEorassets/posts/<language>/<category_name>/YYYY-MM-DD-POST_TITLEdirectory, likeassets/posts/globals/general/1970-01-01-post-titleorassets/posts/<language>/general/1970-01-01-post-titleand link to them with[Text Asset](/assets/posts/globals/general/1970-01-01-post-title/asset.txt)or ``. Check jekyll docs for more.Ensure that the first paragraph of the post is a just a short description of the post since that text will show in the posts list for the category. This is done by setting
show_excerptstotruein_config.ymland used bycategory.html. Check jekyll docs for more info.Each post of the site must have the
page_refkey in its front matter for its unique absolute path on the site (not local path) without the language prefix to find alternate translations of a page. All translations must have the samepage_refand should equal the english file name. This allows alternate translations to have different language specific filenames, but the same reference to allow site language change and search engine indexing via sitemaps.xml to be added later. For example,_posts/en/general/1970-01-01-post-title.mdfile should havepage_ref: /posts/general/1970/01/01/post-title.htmland so should any of its translations.
File: cn/docs/index.md
page_ref: /docs/index.html lang: cn
Termux文档
欢迎来到Termux的文档。
目前, Termux Wiki 是文档的主要位置,但计划未来将其删除并将所有文档移至此处。 此处的文档正在编写中,将会慢慢更新,其中包含 termux wiki 网站上不可用的信息。
应用
支持以下 Android 应用程序:
File: en/docs/index.md
page_ref: /docs/index.html
Termux Docs
Welcome to documentation for Termux.
Currently, termux wiki site 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.