3
7
Fork
You've already forked fdroid-website
0
  • HTML 75.7%
  • Python 8.6%
  • Ruby 8.2%
  • SCSS 3.9%
  • Shell 3.1%
  • Other 0.5%
Find a file
linsui d6ebe4f62f Merge branch 'patch-1' into 'master'
Remove endorsement of censored mirror at mirrors.tuna.tsinghua.edu.cn
See merge request fdroid/fdroid-website!1370 
2026年07月11日 14:44:15 +00:00
.well-known 🧾 add funding.json 2025年05月21日 12:42:07 +00:00
_data Remove endorsement of censored mirror at mirrors.tuna.tsinghua.edu.cn 2026年07月11日 14:44:15 +00:00
_docs sed -i 's,timeframe,time frame,g' */*.md po/*.po* 2026年07月03日 13:57:45 +02:00
_includes robots: update policy for disallowing AI training bots 2026年04月10日 13:38:09 +00:00
_layouts Update jekyll-fdroid and uses permission.name 2026年05月03日 10:48:40 +02:00
_pages move https://f-droid.org/docs/Maintaining_the_Forum/ to the wiki 2026年07月03日 06:21:13 +00:00
_plugins Only reformat string titles 2026年06月14日 17:10:24 +02:00
_posts TWIF 2026年07月09日 2026年07月10日 11:42:53 +00:00
_sass Upgrade packages layout in preparation for index-v2 2026年02月25日 08:21:12 +00:00
_tutorials fix w3c validator issue: trailing slash on void elements 2023年01月12日 16:49:14 +01:00
api Add simple JSON API 2020年08月07日 16:27:56 +03:00
assets exiftool -all= assets/EBendinelli.jpg 2026年05月27日 21:57:12 +02:00
css use "forever cache" plugin some more 2021年06月22日 18:31:23 +02:00
js Move JS to .js file instead of inline script to satisfy CSP. 2026年02月17日 22:37:34 +11:00
po Translated using Weblate: Japanese (ja) by Aster <coil4129@users.noreply.hosted.weblate.org> 2026年07月10日 14:52:54 +02:00
tools run tools/check-do-not-translate 2026年07月02日 14:33:16 +02:00
wp-content/uploads recompress all PNGs with zopfli: result is ~70% the size of original 2017年10月18日 14:39:18 +02:00
.gitignore Update jekyll-fdroid and uses permission.name 2026年05月03日 10:48:40 +02:00
.gitlab-ci.yml gitlab-ci: handle https: upgrade for all Debian releases 2026年02月03日 09:12:32 +01:00
.htaccess move https://f-droid.org/docs/Maintaining_the_Forum/ to the wiki 2026年07月03日 06:21:13 +00:00
.linkcheckerrc polyglot's exclude_from_localization is a chunk of a regexp 2020年04月29日 00:07:27 +02:00
.mdlrc markdownlint: remove MD014 2025年03月10日 14:39:39 +08:00
.rsync-deploy-exclude-list quash wiki/ section when deploying website 2022年02月01日 22:07:26 +01:00
.spellcheckbot gitlab-ci: turn spellcheck into a bot that posts comments on the MR 2020年03月06日 16:28:43 +01:00
.spelling Building trust post 2026年05月27日 19:38:54 +00:00
.weblate add weblate config for wlc CLI tool 2019年04月22日 17:50:31 +02:00
.yamllint gitlab-ci: make all YAML clean and add "yamllint" job 2024年02月15日 13:02:45 +00:00
_config.yml enable hr 2026年04月10日 16:28:30 +02:00
admin@f-droid.org.gpg gitlab-ci: fix check_fdroid_apk_bot job to have reliable gpg 2022年05月03日 21:02:24 +02:00
ael2ahshu7ohGhu9iey4aizaebahph3m.txt add pings for search engines on production publish, add key file for indexnow verification (see https://www.indexnow.org/documentation ) 2022年03月14日 16:16:17 -07:00
CONTRIBUTING.md CONTRIBUTING: point to relevant, maintained docs pages 2017年07月03日 10:20:22 +02:00
funding.json 🧹 remove floss fund grant application from funding.json 2026年07月02日 11:05:48 +00:00
Gemfile Update gem polygot to v1.13.0 2026年06月07日 10:37:27 +02:00
google97af2147a365846f.html verify our domains for the Google Search Console 2022年03月03日 15:39:34 +00:00
google97af2147a365846f.html.en verify our domains for the Google Search Console 2022年03月03日 15:39:34 +00:00
index.md <h2> --> <h3> on the front page title 2026年01月20日 18:02:23 +01:00
LICENSE Add license GNU Affero General Public License v3+ 2016年12月13日 19:01:39 +01:00
osd.xml Fix osd.xml 2024年12月10日 14:13:45 +01:00
README.md README: prod runs on bookworm since !1030 2026年05月06日 12:29:32 +02:00
robots.txt robots: update policy for disallowing AI training bots 2026年04月10日 13:38:09 +00:00
robots.txt.noindex Tell search engines not to index pages/development sites 2022年03月08日 11:17:14 +00:00
Vagrantfile Fix Vagrantfile 2024年02月09日 22:54:14 +08:00

The F-Droid Website

This is the repository for the website at https://f-droid.org. It is based on Jekyll and you can find the development version here.

Building

Using Debian/bookworm

First, make sure bookworm-backports is enabled.

sudo apt-get install -t bookworm-backports \
 gettext linkchecker po4a python3 python3-babel rsync rubocop ruby-bundler \
 ruby-git ruby-jekyll-include-cache ruby-jekyll-redirect-from ruby-json \
 ruby-loofah ruby-rchardet ruby-rouge ruby-rspec ruby-zip unzip
bundle install --local
jekyll build

If you experience an error during the build process, try also:

bundle update

Look at the .gitlab-ci.yml for more examples of custom setups, like building only a subset of the languages.

Using Ruby Gems

You need to have Jekyll 3.2+ installed what is easily done with Gem which depends on Ruby 2.0+. Because of the F-Droid plugin you need to have zlib installed.

sudo apt-get install build-essential git ruby-full zlib1g-dev
sudo gem install bundler
bundle install

To build the website, run:

bundle exec jekyll build

If you want to build the website and serve it with a local server at localhost:4000, use:

bundle exec jekyll serve

Using a Vagrant VM

Vagrant makes it easy to setup and destroy VMs. That is handy for making a clean and predictable build environment, regardless of the base system. If used with VirtualBox, then the current directory will be shared into the VM, so you can edit locally, and have jekyll serve running in the VM.

$ vagrant up
$ vagrant ssh
vagrant@bookworm:~$ cd /vagrant
vagrant@bookworm:/vagrant$ bundle install --local
vagrant@bookworm:/vagrant$ jekyll serve --host 0.0.0.0

Then connect to http://localhost:4000 to see the generated site.

Local development

  • Clone F-Droid's Jekyll plugin
  • Configure bundle to use it: bundle config --local local.jekyll-fdroid ../jekyll-fdroid
  • Follow the steps above

If you want to use the official Git repository again, run bundle config --delete local.jekyll-fdroid.

Alternatively you may also set the jekyll-fdroid dependency line in Gemfile to your local clone, e.g.: gem 'jekyll-fdroid', :path => './jekyll-fdroid'

Some config changes

To avoid building 4000+ packages you can change the F-Droid repo configuration for a smaller one:

 fdroid-repo: https://guardianproject.info/fdroid/repo

License

This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Translation

Everything on this website can be translated. See Translation and Localization for more info. The staging site includes all translations, whether they are complete or not.

chrome strings

chrome translation status

pages

pages translation status

tutorials

tutorials translation status

documentation

docs translation status

blog posts

posts translation status