Leilukin's personal and hobby website.
  • JavaScript 62.6%
  • CSS 30%
  • HTML 6.1%
  • Nunjucks 1.3%
Find a file
2026-03-24 09:36:08 +08:00
src chore(colophon): link to leilukin.com's Git repository on 32-Bit Cafe's Forgejo instance 2026-03-24 09:36:08 +08:00
.editorconfig feat: add EditorConfig file 2026-03-14 20:24:46 +08:00
.gitignore Initial commit for rebuilding the repository 2026-01-08 21:10:56 +08:00
eleventy.config.js Initial commit for rebuilding the repository 2026-01-08 21:10:56 +08:00
LICENSE-content docs: add content licence 2026-02-18 14:17:04 +08:00
LICENSE.md feat: add license 2026-02-18 12:23:41 +08:00
package-lock.json chore(deps): switch back to Node.js as the JavaScript runtime 2026-03-21 21:50:54 +08:00
package.json chore(deps): switch back to Node.js as the JavaScript runtime 2026-03-21 21:50:54 +08:00
README.md chore(deps): switch back to Node.js as the JavaScript runtime 2026-03-21 21:50:54 +08:00

Leilukin's Hub

Source code of my hobby website, Leilukin's Hub. Built with Eleventy.

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

Run Locally

Requirement: Node.js.

  1. Clone the project repository locally:
    git clone https://git.leilukin.com/Leilukin/leilukin-site.git
    
  2. Install dependencies:
    npm install
    
  3. Run the project:
    npm run dev
    
  4. Open http://localhost:1414/ in your web browser.

The npm run dev 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, if you want to run the website locally again, you can instead run the npm run dev-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.

If you want to rebuild the website, you can run npm run re. If you want to rebuild the website and run it locally, you can run npm run re-dev.

Licence

The content of this project itself is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying source code used to format and display that content is licensed under the GNU Affero General Public License 3.0.