Merge pull request #1 from brain-hackers/launch

First
This commit is contained in:
Takumi Sueda 2021-05-12 22:21:40 +09:00 committed by GitHub
commit 42e1760c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 120537 additions and 75 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
_site _site
.sass-cache .sass-cache
.jekyll-metadata .jekyll-metadata
Gemfile.lock Gemfile.lock
.DS_Store

1
CNAME Normal file
View File

@ -0,0 +1 @@
brainux.org

View File

@ -14,4 +14,5 @@ group :jekyll_plugins do
gem "jemoji" gem "jemoji"
gem "jekyll-include-cache" gem "jekyll-include-cache"
gem "jekyll-algolia" gem "jekyll-algolia"
gem "webrick"
end end

3
Makefile Normal file
View File

@ -0,0 +1,3 @@
.PHONY:
serve:
bundle exec jekyll serve

View File

@ -13,14 +13,13 @@
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible # You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}. # in the templates via {{ site.myvariable }}.
title: MM title: Brainux
email: subtitle: A Linux disto for SHARP Brain
author: Brain Hackers
description: >- # this means to ignore newlines until "baseurl:" description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this SHARP Brain 専用 Linux ディストリビューション Brainux
line in _config.yml. It will appear in your document head meta (for twitter_username: brainhackerz
Google search results) and in your feed.xml site description. github_username: brain-hackers
twitter_username: username
github_username: username
minimal_mistakes_skin: default minimal_mistakes_skin: default
search: true search: true
@ -57,35 +56,22 @@ plugins:
- jemoji - jemoji
- jekyll-include-cache - jekyll-include-cache
author: atom_feed:
name : "First Lastname" hide: true
avatar : "/assets/images/bio-photo.jpg"
bio : "My awesome biography constrained to a sentence or two goes here." og_image: "assets/images/og_image.jpg"
links:
- label: "Website"
icon: "fas fa-fw fa-link"
url: "https://"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/"
footer: footer:
links: links:
- label: "Twitter" - label: "Twitter"
icon: "fab fa-fw fa-twitter-square" icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/" url: "https://twitter.com/brainhackerz/"
- label: "GitHub" - label: "GitHub"
icon: "fab fa-fw fa-github" icon: "fab fa-fw fa-github"
url: "https://github.com/" url: "https://github.com/brain-hackers/"
- label: "Instagram" - label: "<img height=\"46\" width=\"158\" src=\"https://packagecloud.io/images/packagecloud-badge.png\"/>"
icon: "fab fa-fw fa-instagram" icon: "_"
url: "https://instagram.com/" url: "https://packagecloud.io/"
defaults: defaults:
# _posts # _posts
@ -94,7 +80,7 @@ defaults:
type: posts type: posts
values: values:
layout: single layout: single
author_profile: true author_profile: false
read_time: true read_time: true
comments: true comments: true
share: true share: true
@ -105,11 +91,4 @@ defaults:
type: pages type: pages
values: values:
layout: single layout: single
author_profile: true author_profile: false
category_archive:
type: liquid
path: /categories/
tag_archive:
type: liquid
path: /tags/

View File

@ -1,9 +1,9 @@
main: main:
- title: "Posts" - title: "Brainux について"
url: /posts/ url: /about/
- title: "Categories" - title: "Wiki"
url: /categories/ url: https://github.com/brain-hackers/README/wiki
- title: "Tags" - title: "GitHub"
url: /tags/ url: https://github.com/brain-hackers/README
- title: "About" - title: "寄付"
url: /about/ url: https://github.com/sponsors/puhitaku

24
_includes/footer.html Normal file
View File

@ -0,0 +1,24 @@
<div class="page__footer-follow">
<ul class="social-icons">
{% if site.data.ui-text[site.locale].follow_label %}
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
{% endif %}
{% if site.footer.links %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
{% endif %}
{% endfor %}
{% endif %}
{% unless site.atom_feed.hide %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
{% endunless %}
</ul>
</div>
<div class="page__footer-copyright">Licensed under CC-BY-SA 4.0 with :heart: by {{ site.author | default: site.title }}.</div>
<div class="page__footer-copyright">Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries. All other product names, logos, and brands are property of their respective owners.</div>
<div class="page__footer-copyright">This site and the development of Brainux is inspired by <a href="https://asahilinux.org/">:apple: Asahi Linux</a>.</div>
<div class="page__footer-copyright">The APT repository of Brain Hackers is hosted by <a href="https://packagecloud.io/">packagecloud.io</a>.</div>

155
_includes/seo.html Normal file
View File

@ -0,0 +1,155 @@
<!-- begin _includes/seo.html -->
{%- if site.url -%}
{%- assign seo_url = site.url | append: site.baseurl -%}
{%- endif -%}
{%- assign seo_url = seo_url | default: site.github.url -%}
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '&#124;' %}
{%- if page.title -%}
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
{%- endif -%}
{%- if seo_title -%}
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}
{% if page.canonical_url %}
{%- assign canonical_url = page.canonical_url %}
{% else %}
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
{% endif %}
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
{%- if seo_description -%}
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
{%- endif -%}
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
{%- assign author = site.data.authors[author] | default: author -%}
{%- if author.twitter -%}
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
{%- endif -%}
{%- assign page_large_image = site.og_image | default: page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url -%}
{%- assign page_large_image = page_large_image | escape -%}
{%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url -%}
{%- assign page_teaser_image = page_teaser_image | escape -%}
{%- assign site_og_image = site.og_image | absolute_url -%}
{%- assign site_og_image = site_og_image | escape -%}
{%- if page.date -%}
{%- assign og_type = "article" -%}
{%- else -%}
{%- assign og_type = "website" -%}
{%- endif -%}
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
<meta name="description" content="{{ seo_description }}">
{% if author.name %}
<meta name="author" content="{{ author.name | default: author }}">
{% if og_type == "article" %}
<meta property="article:author" content="{{ author.name | default: author }}">
{% endif %}
{% endif %}
<meta property="og:type" content="{{ og_type }}">
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta property="og:url" content="{{ canonical_url }}">
{% if seo_description %}
<meta property="og:description" content="{{ seo_description }}">
{% endif %}
{% if page_large_image %}
<meta property="og:image" content="{{ page_large_image }}">
{% elsif page_teaser_image %}
<meta property="og:image" content="{{ page_teaser_image }}">
{% endif %}
{% if site.twitter.username %}
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
<meta name="twitter:description" content="{{ seo_description }}">
<meta name="twitter:url" content="{{ canonical_url }}">
{% if page_large_image %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{ page_large_image }}">
{% else %}
<meta name="twitter:card" content="summary">
{% if page_teaser_image %}
<meta name="twitter:image" content="{{ page_teaser_image }}">
{% endif %}
{% endif %}
{% if author_twitter %}
<meta name="twitter:creator" content="@{{ author_twitter }}">
{% endif %}
{% endif %}
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
{% endif %}
{% if og_type == "article" and page.last_modified_at %}
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
{% endif %}
{% if site.facebook %}
{% if site.facebook.publisher %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}">
{% endif %}
{% if site.facebook.app_id %}
<meta property="fb:app_id" content="{{ site.facebook.app_id }}">
{% endif %}
{% endif %}
<link rel="canonical" href="{{ canonical_url }}">
{% if paginator.previous_page %}
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
{% endif %}
{% if paginator.next_page %}
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
{% endif %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
{% if site.social.type == "Organization" %}
"@type": "Organization",
"url": {{ '/' | absolute_url | jsonify }}{% if site.og_image %},
"logo": {{ site_og_image | jsonify }}{% endif %}
{% else %}
"@type": "Person",
"name": {{ site.social.name | default: site.name | jsonify }},
"url": {{ '/' | absolute_url |jsonify }}{% if site.social.links %},
"sameAs": {{ site.social.links | jsonify }}{% endif %}
{% endif %}
}
</script>
{% if site.google_site_verification %}
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
{% endif %}
{% if site.bing_site_verification %}
<meta name="msvalidate.01" content="{{ site.bing_site_verification }}">
{% endif %}
{% if site.alexa_site_verification %}
<meta name="alexaVerifyID" content="{{ site.alexa_site_verification }}">
{% endif %}
{% if site.yandex_site_verification %}
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
{% endif %}
{% if site.naver_site_verification %}
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
{% endif %}
<!-- end _includes/seo.html -->

View File

@ -1,8 +1,41 @@
--- ---
permalink: /about/ permalink: /about/
title: "About" title: "Brainux について"
--- ---
Tempor velit sint sunt ipsum tempor enim ad qui ullamco. Est dolore anim ad velit duis dolore minim sunt aliquip amet commodo labore. Ut eu pariatur aute ea aute excepteur laborum. Esse ea esse excepteur minim mollit qui cillum excepteur ex dolore magna. Labore deserunt fugiat incididunt incididunt sint ea. Consequat dolore aute laboris quis proident quis non et est consectetur ex eiusmod sit culpa. Brainux は、電子辞書 SHARP Brain で動作する Debian GNU/Linux ベースの Linux ディストリビューションです。Brain のハードウェアに向けたデバイスドライバの実装はもちろんのこと、限られたコンピューティングリソースの下でも快適に動作するミニマルな構成を実現しています。
Cupidatat ea do et in excepteur in. Ad nostrud ut est esse eu duis ea sunt eiusmod. Aliquip tempor veniam sint elit fugiat. Velit incididunt laboris amet incididunt labore dolore irure velit excepteur commodo deserunt laborum. Consectetur eu fugiat veniam veniam Lorem labore magna eiusmod. Ea occaecat reprehenderit pariatur consectetur minim labore ut aliquip. 現在はコミュニティ Brain Hackers の Discord サーバーにて、さかんにコミュニケーションをとりながら開発が行われています。
# よくある質問
![サポートされている Brain]({{site.baseurl}}/assets/images/brains.jpg)
## サポートされている機種はどれですか?
Linux のブートは PW-Sx1 〜 PW-Sx7 の世代でサポートされています。機種(世代)によって、サポートされている機能と可能な操作は細かく異なります。詳しくは、[Wiki - ロードマップ](https://github.com/brain-hackers/README/wiki/%E3%83%AD%E3%83%BC%E3%83%89%E3%83%9E%E3%83%83%E3%83%97)をご覧ください。
## 非常に古いもしくは新しい機種は今後サポートされますか?
PW-GC610 などが該当する数字が3桁の機種と、PW-H1 などが該当する数字が1桁の機種のサポートについては現在はありませんが、将来的にサポートしたいと考えています。少なくとも不可能ではありません。
## どうやってインストールすればいいですか?
[Wiki - とりあえず試す](https://github.com/brain-hackers/README/wiki/%E3%81%A8%E3%82%8A%E3%81%82%E3%81%88%E3%81%9A%E8%A9%A6%E3%81%99)にステップバイステップで方法が記載されています。
## コラム: なぜ Brain で Linux を動かすのか
![PW-SH1]({{site.baseurl}}/assets/images/hacked_brain.jpg)
高性能なガジェットが多く発売される昨今において、必ずしも快適に使えるとはいえない電子辞書であえて Linux を動かし、あまつさえディストリビューションとして公開したのはなぜでしょうか。それは、ハードウェアハックの好奇心へ忠実に従いたいからです。
2008年に Windows CE 搭載の電子辞書として Brain が発売された当時、その上で自作ソフトが動かせることはたちまち話題となり、アプリの実装をはじめとするハックの探求がさかんに行われました。早い時期から OS の貧弱さによる制限が認識され、それを打破する試みは数多くありましたが、I/O の拡充や Linux の動作は実現されぬまま年月が経ちました。
Brain ハック界隈の勢いもほぼ失われた2019年初頭、後に Brainux をローンチする puhitaku は、Brain で U-Boot と Linux を動かせるかもしれないことに気付きました。それからハードウェアとソフトウェア両輪での長い解析を経て、2019年8月に U-Boot、2020年3月に Linux kernel を動作させることに成功しました。Linux の動作は世間の Brain に対する新たな注目を呼び起こし、コミュニティ Brain Hackers の創設へとつながりました。
このまま、Brain の特定の機種で Linux が動いたことだけを報告し、そのままハックを終えることもできました。Brain Hackers がそうしなかったのは、かつて学生だった頃に Brain が与えてくれた興奮と好奇心を忘れないため、そして現在学生である Brain ユーザーにハックへの道を開くため、という2つの強い思いがあるからです。

View File

@ -1,6 +0,0 @@
---
title: "Posts by Category"
layout: categories
permalink: /categories/
author_profile: true
---

39
_pages/home.md Normal file
View File

@ -0,0 +1,39 @@
---
layout: splash
permalink: /
hidden: true
header:
overlay_color: "#5e616c"
overlay_image: /assets/images/header.jpg
actions:
- label: "<i class='fas fa-laptop'></i> インストール"
url: "https://github.com/brain-hackers/README/wiki/%E3%81%A8%E3%82%8A%E3%81%82%E3%81%88%E3%81%9A%E8%A9%A6%E3%81%99"
- label: "<i class='fas fa-download'></i> ダウンロード"
url: "https://github.com/brain-hackers/buildbrain/releases"
excerpt: >
SHARP Brain 専用 <br />Linux ディストリビューション<br />
feature_row:
- image_path: /assets/images/unleash.png
alt: "真の力を解き放つ"
title: "真の力を解き放つ"
excerpt: "カーネルもソフトウェアもすべてがカスタマイズ可能。Windows CE では不可能だった真のハックをあなたの手に。"
url: "/about/"
btn_class: "btn--primary"
btn_label: "詳細を読む"
- image_path: /assets/images/get_involved.png
alt: "ドキュメント"
title: "ドキュメント"
excerpt: "使い方やカスタマイズに必要な情報は公式 Wiki にあります。お持ちの Brain で今すぐ動かしてみましょう。"
url: "https://github.com/brain-hackers/README/wiki"
btn_class: "btn--primary"
btn_label: "Wiki を読む"
- image_path: /assets/images/join_us.png
alt: "コミュニティ"
title: "コミュニティ"
excerpt: "Brain Hackers の Discord では日夜ノウハウの共有や開発が行われています。参加して楽しさを分かち合いましょう!"
url: "https://github.com/brain-hackers/README#brain-hackers-%E3%81%AB%E5%8F%82%E5%8A%A0%E3%81%99%E3%82%8B"
btn_class: "btn--primary"
btn_label: "参加する / フォローする"
---
{% include feature_row %}

View File

@ -1,6 +0,0 @@
---
title: "Posts by Tag"
permalink: /tags/
layout: tags
author_profile: true
---

View File

@ -1,6 +0,0 @@
---
title: "Posts by Year"
permalink: /posts/
layout: posts
author_profile: true
---

BIN
assets/images/brains.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

120251
assets/images/header.ai Normal file

File diff suppressed because one or more lines are too long

BIN
assets/images/header.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 KiB

BIN
assets/images/join_us.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
assets/images/og_image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 KiB

BIN
assets/images/unleash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -1,7 +0,0 @@
---
# You don't need to edit this file, it's empty on purpose.
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
author_profile: true
---