aboutsummaryrefslogtreecommitdiff
path: root/cmd
AgeCommit message (Collapse)AuthorFilesLines
2024-05-24cmd/xesite: rip out legacy mi integrationXe Iaso1-2/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-05-14cmd/no-way-to-prevent-this: C++Xe Iaso1-5/+5
Also golf the code a bit so that it fits into _exactly_ 69 lines of Go. Fitting into 69 lines of Go is critical for this program. Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-05-10cmd/xesite: debugging effort of last resortXe Iaso1-0/+4
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-05-10bring back the IRC announcerXe Iaso2-76/+11
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-03-06cmd/xesite: force a rebuildXe Iaso1-0/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-24rapidoc is sickXe Iaso1-2/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-24cmd/twirp-openapi-gen: fix empty schemaXe Iaso2-29/+43
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-24wire up the protofeed callXe Iaso2-1/+80
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-24internal/lume: don't nuke the repoXe Iaso1-4/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-24start protofeed implementation, add swagger UIXe Iaso1-0/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-24cmd: import twirp-openapi-gen, fix some bugsXe Iaso15-0/+5471
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-21cmd/xesite: fix public API metadataXe Iaso1-6/+14
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-20redirect christine.website to xeiaso.netXe Iaso1-1/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-18cmd/xesite: move internal api to unprivileged portXe Iaso2-1/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-18add an external APIXe Iaso4-20/+87
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-12cmd/xesite: fix default patreon token urlXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-12rip out tsnet for goodXe Iaso4-142/+48
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-12cmd/patreon-saasproxy: rip out tsnetXe Iaso1-46/+12
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-12cmd/patreon-saasproxy: use twirp/protobuf instead of yolo jsonXe Iaso1-0/+22
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-03cmd/xesite: disable rebuild on chmodXe Iaso1-0/+4
Wonder how this will bite me. Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-01increase sarcasm within hacker news limitsXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-01cmd/no-way-to-prevent-this: fabricate a new name every timeXe Iaso1-1/+6
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-02-01Update main.goXe Iaso1-1/+1
2024-02-01'No way to prevent this' says users of the only programming language where ↵Xe Iaso1-0/+64
this regularly happens Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-01-28cmd/xesite: add internal api call to get expvar valuesXe Iaso1-0/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2024-01-13devel: don't loopXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-11-21track referersXe Iaso1-0/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-11-08fuckXe Iaso1-4/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-11-08cmd/fabricate-generation: all the zones xDXe Iaso1-0/+6
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-11-07cmd/fabricate-generation: add dfw XeDN regionXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-11-03cmd/xesite: debounce rebuild eventsXe Iaso1-4/+12
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-30add shitposts, upgrade to Lume 1.19.3Xe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-28cmd/xesite: fix ignore list for rebuild detectionXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-27cache go module shitXe Iaso1-0/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-27cmd/fabricate-generation: XeDN uploading tool for xesite v4Xe Iaso1-0/+180
This tool will create new xesite generations for XeDN and upload them to the XeDN nodes as it is created. This is intended to be invoked via CI. Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-27cmd/xesite: add internal API over TailscaleXe Iaso2-0/+37
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-27cmd/xesite: automatic rebuilding in development modeXe Iaso2-0/+99
Whenever changes are made to the website and development mode, automatically rebuild it for you. This should save me a lot of time. Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-25internal: add middleware to track the use of accept-encoding headersXe Iaso1-0/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-22cmd/xesite: fuck!Xe Iaso1-3/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-22cmd/xesite: fuckXe Iaso1-13/+0
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-22internal/lume: annotate website commit in footerXe Iaso1-16/+15
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-22Move serving logic to a .zip file, move static assets to S3 (#734)Xe Iaso1-0/+4
* lume/src/static: remove these files because we don't need them Also rename manifest.json to site.webmanifest because apparently that's the best practice. Signed-off-by: Xe Iaso <me@xeiaso.net> * lume: fix deno lock Signed-off-by: Xe Iaso <me@xeiaso.net> * lume/src/_components: small fixes Signed-off-by: Xe Iaso <me@xeiaso.net> * lume: move this big file to S3 Signed-off-by: Xe Iaso <me@xeiaso.net> * lume: move these static files to XeDN Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/lume: store and serve the website from a .zip file This will let the website continue to serve data while a rebuild is happening. This also lets me download the website corpus for local debugging should the worst happen. Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-10lume/includes/base: add job seeking bannerXe Iaso1-0/+3
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-09cmd/xesite: oopsXe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-02cmd/xesite: add mi poking when builds are doneXe Iaso1-0/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-09-30Xesite V4 (#723)Xe Iaso5-0/+447
* scripts/ditherify: fix quoting Signed-off-by: Xe Iaso <me@xeiaso.net> * clean up some old files Signed-off-by: Xe Iaso <me@xeiaso.net> * import site into lume Signed-off-by: Xe Iaso <me@xeiaso.net> * initial go code Signed-off-by: Xe Iaso <me@xeiaso.net> * move vods index to top level Signed-off-by: Xe Iaso <me@xeiaso.net> * remove the ads Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/lume: metrics Signed-off-by: Xe Iaso <me@xeiaso.net> * delete old code Signed-off-by: Xe Iaso <me@xeiaso.net> * load config into memory Signed-off-by: Xe Iaso <me@xeiaso.net> * autogenerate data from dhall config Signed-off-by: Xe Iaso <me@xeiaso.net> * various cleanups, import clackset logic Signed-off-by: Xe Iaso <me@xeiaso.net> * Update signalboost.dhall (#722) Added myself, and also fixed someone’s typo * Add Connor Edwards to signal boost (#721) * add cache headers Signed-off-by: Xe Iaso <me@xeiaso.net> * move command to xesite folder Signed-off-by: Xe Iaso <me@xeiaso.net> * xesite: listen for GitHub webhook push events Signed-off-by: Xe Iaso <me@xeiaso.net> * xesite: 5 minute timeout for rebuilding the site Signed-off-by: Xe Iaso <me@xeiaso.net> * xesite: add rebuild metrics Signed-off-by: Xe Iaso <me@xeiaso.net> * xesite: update default variables Signed-off-by: Xe Iaso <me@xeiaso.net> * don't commit binaries oops lol Signed-off-by: Xe Iaso <me@xeiaso.net> * lume: make search have a light background Signed-off-by: Xe Iaso <me@xeiaso.net> * add a notfound page Signed-off-by: Xe Iaso <me@xeiaso.net> * fetch info from patreon API Signed-off-by: Xe Iaso <me@xeiaso.net> * create contact page Signed-off-by: Xe Iaso <me@xeiaso.net> * Toot embedding Signed-off-by: Xe Iaso <me@xeiaso.net> * attempt a docker image Signed-off-by: Xe Iaso <me@xeiaso.net> * lume: fix deno lock Signed-off-by: Xe Iaso <me@xeiaso.net> * add gokrazy post Signed-off-by: Xe Iaso <me@xeiaso.net> * cmd/xesite: go up before trying to connect to the saas proxy Signed-off-by: Xe Iaso <me@xeiaso.net> * blog: add Sine post/demo Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Co-authored-by: bri <284789+b-@users.noreply.github.com> Co-authored-by: Connor Edwards <38229097+cedws@users.noreply.github.com>
2020-07-16Rewrite site backend in Rust (#178)Christine Dodrill18-1293/+0
* add shell.nix changes for Rust #176 * set up base crate layout * add first set of dependencies * start adding basic app modules * start html templates * serve index page * add contact and feeds pages * add resume rendering support * resume cleanups * get signalboost page working * rewrite config to be in dhall * more work * basic generic post loading * more tests * initial blog index support * fix routing? * render blogposts * X-Clacks-Overhead * split blog handlers into blog.rs * gallery index * gallery posts * fix hashtags * remove instantpage (it messes up the metrics) * talk support + prometheus * Create rust.yml * Update rust.yml * Update codeql-analysis.yml * add jsonfeed library * jsonfeed support * rss/atom * go mod tidy * atom: add posted date * rss: add publishing date * nix: build rust program * rip out go code * rip out go templates * prepare for serving in docker * create kubernetes deployment * create automagic deployment * build docker images on non-master * more fixes * fix timestamps * fix RSS/Atom/JSONFeed validation errors * add go vanity import redirecting * templates/header: remove this * atom feed: fixes * fix? * fix?? * fix rust tests * Update rust.yml * automatically show snow during the winter * fix dates * show commit link in footer * sitemap support * fix compiler warning * start basic patreon client * integrate kankyo * fix patreon client * add patrons page * remove this * handle patron errors better * fix build * clean up deploy * sort envvars for deploy * remove deps.nix * shell.nix: remove go * update README * fix envvars for tests * nice * blog: add rewrite in rust post * blog/site-update: more words
2020-06-19add /feedsv1.4.0Christine Dodrill2-0/+2
2020-05-21cmd/site: X-HackerChristine Dodrill1-2/+10
2020-05-21cmd/site: more clacksChristine Dodrill2-2/+37