1
0
Fork
You've already forked website
0
forked from librewolf/website
The LibreWolf Website - New content will automatically be published when pushed to the master branch.
  • MDX 50.4%
  • TypeScript 45.9%
  • CSS 2%
  • Shell 1.1%
  • JavaScript 0.6%
Find a file
aaomidi 85a355becd OCSP is cached, not stapled
OCSP stapling is not something the browser can do, it has to be done by the subscriber (effectively, owner of the certificate). However OCSP responses are highly cache-able and I assume this is what the intent of this sentence here is.
2024年05月04日 00:47:07 +00:00
components ran lint:fix on PR#70 2023年12月09日 22:00:48 +01:00
lib ran lint:fix on PR#70 2023年12月09日 22:00:48 +01:00
pages OCSP is cached, not stapled 2024年05月04日 00:47:07 +00:00
public Replace favicon.ico 2023年12月25日 23:21:41 +01:00
styles fix scroll margin 2022年04月22日 15:52:01 +02:00
.eslintrc.json add windows portable download button 2022年12月28日 16:10:41 +01:00
.gitignore Initial commit from Create Next App 2021年09月22日 16:27:28 +02:00
.prettierignore update prettier, eslint and .gitlab-ci.yml 2021年10月24日 13:28:57 +02:00
.prettierrc update prettier, eslint and .gitlab-ci.yml 2021年10月24日 13:28:57 +02:00
LICENSE Create LICENSE 2021年09月23日 15:15:38 +00:00
next-env.d.ts add flexsearch 2022年04月22日 15:18:03 +02:00
next.config.js add flexsearch 2022年04月22日 15:18:03 +02:00
optimize_images.sh optimize images 2023年02月18日 21:51:59 +01:00
package.json update dependencies and fix formatting 2023年09月17日 19:29:14 +02:00
README.md update prettier, eslint and .gitlab-ci.yml 2021年10月24日 13:28:57 +02:00
theme.config.tsx forgot to run npn run lint:fix 2024年04月08日 02:18:09 +02:00
tsconfig.json update how download buttons work 2021年12月12日 19:53:55 +01:00
yarn.lock forgot to run npn run lint:fix 2024年04月08日 02:18:09 +02:00

librewolf-website

The wip new librewolf website built with Nextra and Next.js.

Getting Started

If you haven't installed it yet, install Node.js and yarn. Then, to install all the dependencies, run this in the source code directory:

yarn

After that, you can run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the website.

All of the content of the website is located in markdown files in the /pages directory (for example, the file for Recommended Addons is located under /pages/docs/addons.md). You can edit those files and the website will automatically be updated.

How to host

There are two options to host this website

Run a node.js server

Run yarn build to build the site and then yarn start -p <PORT> to start a node.js server.

Generate and serve static files

Run yarn export to build the site and export it to static html. The resulting files are located in ./out.

This method is not recommended since some parts of the website like the windows download button or the FAQ won't be kept up to date.