Skip to content

tlon-team/utilitarianism.net

 
 

Repository files navigation

Utilitarianism.net

Official code for utilitarianism.net and its translations:

Language Website
English utilitarianism.net
German utilitarismus.net
Spanish utilitarismo.net

To add a translation, please reach out to us and then follow the recommended instructions.

Developing

We are using Hugo to build the base website and a few npm packages and scripts to generate PDFs, add search functionality, etc.

If you're new to coding, see the detailed instructions.

First time:

  • Install Hugo (current version is 0.143.0 extended edition)

Any time after:

hugo serve

Building

First time:

Any time after:

npm run build

The /public folder now contains all the static files. The /dist folder now has the zip of them all: upload to your webhost, unzip, and you are done 🤩

For more details see instructions/README.md

Notes

See instructions/README.md for more useful information about getting started with or working on this project.

Thank you

A huge thank you to the numerous creators and contributors that make building new things possible, easier, and a pleasure.

Thank you to the libraries without which our website would not be possible or would be less than it is now:

Thank you to supporting libraries that make the process of building better:

  • theme/ananke for being the starting theme of this Hugo project
  • just for handling building scripts
  • fdir for the fastest way to crawl a directory
  • bestzip for zipping the finished files into one
  • serve for previewing the final build
  • hugo-cite for making citations easy to work with

This is not a complete list, there are too many others to list 🙇‍♂️

Footnotes

  1. If you see a Pagefind Error: tar xvf exited with 128 try using Powershell

About

Official repository for utilitarianism.net

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 60.3%
  • SCSS 22.5%
  • JavaScript 10.6%
  • Jupyter Notebook 5.1%
  • Just 1.5%