#+title: Uncluttered #+author: Xavier Brinon #+date: [2023-11-24 Fri] #+startup: indent * Org shortcut - Evaluate the line, apply the config in place :: ~C-c C-c~ * Webserver ** Guile So we need a webserver to display the HTML page. Since I'm keen on trying fancy pancy standard stuff in Webdev, let's do it to with GNU. Let's try and choose a webserver in [[https://www.gnu.org/software/guile/manual/html_node/index.html][Guile]]. #+name: install guile #+begin_src shell guix install guile guile --version #+end_src #+RESULTS: install guile : guile (GNU Guile) 3.0.9 : Copyright (C) 2023 Free Software Foundation, Inc. : : License LGPLv3+: GNU LGPL 3 or later . : This is free software: you are free to change and redistribute it. : There is NO WARRANTY, to the extent permitted by law. ** or Rust ? We're exploring Rust as well, so maybe there is some fancy stuff here as well. I mean while we wait and learn about Guile anyway. Well, there's [[https://rocket.rs/][Rocket]] for Rust but I guess we can wait. ** Nah, let's stick to Esbuild Because this is what the book is doing and we don't want to waste too much time (it's 9:29pm) and I'm too tired for that. * Set up ** Repo Setting up the project is done via the repo template on github.[fn:1] Let's clone it from gitlab, or gitea ? ** Esbuild Recommended way is via curl, see the [[https://esbuild.github.io/getting-started/#other-ways-to-install][install page]]. #+name: curl esbuild #+begin_src shell curl -fsSL https://esbuild.github.io/dl/v0.19.7 | sh #+end_src * Footnotes [fn:1]Which causes 2 problems: - It's github - I want to set up the project from scratch :shrug: