Skip to content

noblepayne/linkseq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linkseq

A list of links in Lisp. Static site generator for personal link aggregation.

Overview

linkseq generates a single, self-contained HTML file from a Clojure script. Edit the script, run it, deploy the output.

Installation

Install Nix.

Development

Enter the development environment:

./dev.sh

This drops you into a shell with babashka, cljfmt, and other tools. Then rebuild:

bb linkseq.clj

Output: public/index.html

Build

To build without entering the shell:

nix build

Output: result/index.html

Customization

Edit the site map in linkseq.clj:

(def site
  {:title "Your Name"
   :avatar (h/raw (slurp "assets/avatar.txt"))
   :bio [...]
   :links [...]
   :socials [...]})

Add links, change colors, modify layout; it's just Clojure.

Tech

Built with Hiccup for HTML generation, Babashka for scripting, and Nix for everything else.

License

MIT