add dysnomia stuff

ptr.pet fc984fe0 fdf291b9

verified
Changed files
+37 -1
embedded
www
+10
embedded/.dys/routine/access.nu
··· 1 + def "dys access-log" [] { 2 + let time = $env.LOGIN_TIME 3 + print $' 4 + /dysnomia.v000 /user: 90008/ /ip: [REDACTED]/ /time: [REDACTED]// 5 + /dysnomia.v002 /user: 90008/ /ip: [REDACTED]/ /time: [REDACTED]// 6 + /dysnomia.v011 /user: 90008/ /ip: [REDACTED]/ /time: [REDACTED]// 7 + [...ENTRIES TRUNCATED...] 8 + /dysnomia.v099 /user: anonymous/ /ip: [REDACTED]/ /time: ($time)// 9 + ' 10 + }
+4
embedded/.dys/routine/version.nu
··· 1 + def "dys version" [] { 2 + let time = sys | get build_time 3 + print $"dysnomia.v099.t($time)" 4 + }
+16
embedded/.dys/routine/welcome.nu
··· 1 + def "dys welcome" [] { 2 + print ' 3 + welcome anonymous ! 4 + 5 + 6 + you are interfacing with dysnomia.v099 7 + using the nu shell. 8 + 9 + 10 + a few commands you can try: 11 + 12 + "hello, user!" | save message.txt 13 + fetch at://ptr.pet 14 + ls --help 15 + ' 16 + }
+5
embedded/.dys/startup.nu
··· 1 + $env.LOGIN_TIME = date now | format date "%s" 2 + 3 + eval file routine/*.nu 4 + 5 + eval "dys welcome"
+1
embedded/.env.nu
··· 1 + . .dys/startup.nu
+1 -1
www/index.html
··· 4 4 <meta charset="UTF-8" /> 5 5 <link rel="icon" type="image/svg+xml" href="/vite.svg" /> 6 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 7 - <title>faunu</title> 7 + <title>dysnomia</title> 8 8 </head> 9 9 <body> 10 10 <div id="app"></div>