Leilukin's Hub

Source code of my hobby website, Leilukin's Hub. Built with Eleventy and hosted on Hostinger.

More technical information about this website can be found on my site's colophon page.

Run Locally

It is recommended to use Bun as the JavaScript runtime for this project. If you want to use Node.js to run this project, for each terminal command and package.json script, replace bun with npm and bunx with npx.

  1. Clone the project repository locally:
    git clone https://git.32bit.cafe/Leilukin/leilukin-site.git
    
  2. Install dependencies:
    bun install
    
  3. Run the project:
    bun start
    
  4. Open http://localhost:1414/ in your web browser.

The bun start command runs both Eleventy and Pagefind to build the website and create the website's search index respectively, then serve the project output in a local server.

After creating and updating the website's search index (you can do so by simply running the bun create-search-index command), if you want to run the website locally again, you can instead run the bun start-11ty command, which runs Eleventy to build the website and serve the output in a hot-reloading local server, then open http:localhost:8080/ in your web browser.

Description
Leilukin's personal and hobby website.
https://leilukin.com/
Readme 68 MiB
Languages
JavaScript 67.8%
CSS 30.9%
Nunjucks 1.3%