prez-ppp

Les fichiers pour la démo faite devant ppp - retour accueil

git clone git://bebou.netlib.re/prez-ppp
Log | Files | Refs | README |

prez.slides (3824B)


      1 
      2 
      3 
      4 
      5 
      6 
      7 
      8 
      9                                             catium
     10 
     11                              Yet another static website generator
     12 › Thanks for the invite !
     13 
     14 Timothée and Victor
     15 
     16 
     17 
     18 
     19 
     20 
     21 
     22 
     23 › Little scenario
     24 
     25 You record demos at a PPP event
     26 You have a bunch of audio files with metadata
     27 You want to publish them quickly on the internet with a halfway decent page
     28 
     29 
     30 
     31 
     32 
     33 
     34 › Here comes catium
     35 
     36 Just hard enough so you can't (reasonably) do it by hand
     37 Just easy enough for a simple software
     38 
     39 
     40 
     41 
     42 
     43 
     44 
     45 › Demo !
     46 
     47 tree
     48 
     49 ffprobe -hide_banner contents/audio/small-rec_20240706-143449.mp3
     50 
     51 make
     52 
     53 xfce4-terminal -x lynx public/index.html
     54 
     55 firefox http://localhost:1312
     56 
     57 
     58 
     59 
     60 
     61 
     62 
     63 
     64 
     65 
     66 
     67 
     68 
     69 
     70 
     71   › A tour of the code
     72 
     73 In static sites generators you usually have :
     74 
     75   Some sort of "database"   | maketsv      and db/small-rec_20240706-143449.tsv
     76   Layouts                   | layouts/html and layouts/audio
     77   The generator             | page
     78   The human written content | contents/index.sh
     79   An orchestrator           | makefile
     80 
     81 
     82 
     83 
     84 
     85 
     86 
     87 
     88 
     89 › What's special about catium ?
     90 
     91   * small (~50 lines of shell)
     92 
     93 
     94 
     95 
     96 
     97 
     98 
     99 
    100 
    101 
    102 › What's special about catium ?
    103 
    104   * small (~30 lines of shell)
    105   * only requires a POSIX environnement (works on Linux, *BSD, MacOS)
    106 
    107 
    108 
    109 
    110 
    111 
    112 
    113 
    114 
    115 
    116 
    117 › What's special about catium ?
    118 
    119   * small (~30 lines of shell)
    120   * only requires a POSIX environnement (works on Linux, *BSD, MacOS)
    121   * makes use of Unix's core tools and philosophy (shell, basic unix commands, make)
    122 
    123 
    124 
    125 
    126 
    127 
    128 
    129 
    130 
    131 
    132 › What's special about catium ?
    133 
    134   * small (~30 lines of shell)
    135   * only requires a POSIX environnement (works on Linux, *BSD, MacOS)
    136   * makes use of Unix's core tools and philosophy (shell, basic unix commands, make)
    137   * extensible anywhere in the execution stack using any tool accessible from the command line
    138 
    139 
    140 
    141 
    142 
    143 
    144 
    145 
    146 
    147 
    148 › What's special about catium ?
    149 
    150   * small (~30 lines of shell)
    151   * only requires a POSIX environnement (works on Linux, *BSD, MacOS)
    152   * makes use of Unix's core tools and philosophy (shell, basic unix commands, make)
    153   * extensible anywhere in the execution stack using any tool accessible from the command line
    154   * works with every markup language in the world
    155 
    156 
    157 
    158 
    159 
    160 
    161 
    162 
    163 
    164 
    165 
    166 › What's special about catium ?
    167 
    168   * small (~30 lines of shell)
    169   * only requires a POSIX environnement (works on Linux, *BSD, MacOS)
    170   * makes use of Unix's core tools and philosophy (shell, basic unix commands, make)
    171   * extensible anywhere in the execution stack using any tool accessible from the command line
    172   * works with every markup language in the world
    173   * a good opportunity to become familiar with Unix
    174  
    175 
    176 
    177 
    178 
    179 
    180 
    181 
    182 
    183 
    184 › What's special about catium ?
    185 
    186   * small (~30 lines of shell)
    187   * only requires a POSIX environnement (works on Linux, *BSD, MacOS)
    188   * makes use of Unix's core tools and philosophy (shell, basic unix commands, make)
    189   * extensible anywhere in the execution stack using any tool accessible from the command line
    190   * works with every markup language in the world
    191   * a good opportunity to become familiar with Unix
    192   * made by people eager to share and help
    193 
    194 
    195 
    196 
    197 
    198 
    199 
    200 
    201 
    202 
    203 
    204 !firefox http://catium.bebou.netlib.re/\#galerie › Inspiration
    205 
    206 Examples of websites made with catium
    207 
    208 
    209 
    210 
    211 
    212 
    213 
    214 
    215 
    216 
    217 
    218 
    219 
    220 
    221 
    222 
    223 
    224 › Thanks !
    225 
    226 shshsh   sh   shshsh shshsh  sh  sh  sh  sh
    227 sh     sh  sh   sh     sh    sh  sh  shshsh
    228 sh     shshsh   sh     sh    sh  sh  sh  sh
    229 sh     sh  sh   sh     sh    sh  sh  sh  sh
    230 shshsh sh  sh   sh   shshsh  shshsh  sh  sh
    231 
    232                                 Wait it's all shell scripts ?
    233                                          /
    234                                         🚶🔫🚶 - Always has been
    235 
    236 http://catium.bebou.netlib.re
    237 
    238 slides :
    239 http://git.bebou.netlib.re/prez-ppp
    240 ssh guest@bebou.netlib.re -p 1459
    241 
    242 http://arthur.bebou.netlib.re
    243 arthur.pons@unistra.fr
    244 
    245 http://katzele.netlib.re
    246 katzele@framalistes.org
    247 
    248 
    249 
    250 
    251