This is the repository of Tor Project website. The current online version of this portal can be found at https://torproject.org or Tor Project Onion Service.
To clone the code use either of
git clone https://git.torproject.org/project/web/tpo.git/
torify git clone http://dccbbv6cooddgcrq.onion/project/web/tpo.git/
or browse it online.
First, check if the bug is already known. You can search and read all the issues at https://gitlab.torproject.org/. To create a new issue, please request a new account to access Tor Project's GitLab instance and find the right repository to report your issue. Issues related to our websites should be filed under the Web issue tracker.
Lektor is a framework to generate and serve websites from Markdown files.
Its code can be found at GitHub.
You can click Edit this page
and submit your content changes in a Pull Request in GitHub.
-
Download and install Lektor: https://www.getlektor.com/downloads/
-
Install the lektor-i18n plugin and its dependencies.
-
Clone the repository:
git clone https://git.torproject.org/project/web/tpo.git
- Init the building blocks submodule:
$ cd lego && git submodule update --init --recursive
-
Translations for the website are imported by Jenkins when bulding the page, but if you want to test them, download the correct branch of the translations repo to the ./i18n/ folder.
-
Finally
To run a local continuous builder: $ lektor server
To just build the website once: $ lektor build -O <folder>
Check our wiki pages.
To help us to translate, please join the Tor Project team in Transifex.
If you want to contribute to the Tor Project website, we will be happy to help you. Join us at #tor-www in irc.oftc.net.