From 50b0451994128ea02ac026c81131ea33d2b7e7a4 Mon Sep 17 00:00:00 2001 From: Tangent Date: Mon, 21 Jul 2025 07:29:14 +0000 Subject: [PATCH] Update rescue-from-github.lua --- rescue-from-github.lua | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/rescue-from-github.lua b/rescue-from-github.lua index 2105c17..7588b45 100644 --- a/rescue-from-github.lua +++ b/rescue-from-github.lua @@ -22,11 +22,16 @@ local repositories = { organization = "prototype", description = "A better system for basic simulation of fluids in containers.", }, - ideas = "design docs / misc. ideas", + ideas = { + description = "design docs / misc. ideas", + website = "https://share.note.sx/gdon3y36", + }, neralie = { organization = "tools", description = "A simple clock for the Neralie decimal time format.", + website = "https://wiki.xxiivv.com/site/time", }, + ["one-off-scripts"] = "An archive for old scripts.", owen = { organization = "prototype", description = "Small polygonal ship generator.", @@ -43,7 +48,10 @@ local repositories = { ["Simple-Kerbal-Mods"] = "KSP Agencies!", slab = "A very not usable (yet?) Love2D GUI library.", SpaceLove = "My first \"fly a fighter\" prototype... FROM 2014! D:", - ["The-Snap"] = "The Snap balances your browsing habits by closing a random half of open tabs.", + ["The-Snap"] = { + description = "The Snap balances your browsing habits by closing a random half of open tabs.", + website = "https://blog.tangentfox.com/the-snap-browser-extension/", + }, ThompsonWasAClone = "shit Thomas Was Alone clone", xi = { organization = "prototype", @@ -51,6 +59,29 @@ local repositories = { }, } +-- TODO figure out how to use API to automatically set these up +local mirrors = { + "markdown.lua", + "love-pe", + "slam", + "Piefiller", + "heightmap", + "rxi-json.lua", + "etlua", + "lua-date", + "lurker", + "lua-htmlparser", + "baton", + "lovebird", + "argparse", + "love-release", + "lume", + "semver.lua", + "lua-sandbox", + "dkjson.lua", + "inspect.lua", +} + local organizations = {} local repository_names = {} @@ -86,6 +117,7 @@ end)() table.sort(repository_names) -- TODO figure out how to use the API to do this automatically +-- TODO figure out how to set a description as well print("Create the following organizations:") for _, name in ipairs(organizations) do print(" " .. name) @@ -95,6 +127,7 @@ print("Press enter to continue.") io.read("*line") -- TODO figure out how to use the API to do this automatically +-- TODO figure out how to set their descriptions and URLs as well print("Create the following repos:") for _, name in ipairs(repository_names) do print(" " .. name) @@ -112,3 +145,5 @@ for name, info in pairs(repositories) do os.execute(command) os.execute("sleep 1") -- I assume my server can't handle it as well as GitHub's end + +-- TODO figure out how to set up the push sync using the API