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-pagefind
    
  4. Open http://localhost:1414/ in your web browser.

The bun start-pagefind command runs both Eleventy to build the website and Pagefind to create the website's search index, then serves the website project output in a live server.

After the website's search index has been created and updated, when you want to run the project again, you can run the bun start command, then open http://localhost:8080 in your web browser to view the website project output in a live server.

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