{"id":23708461,"url":"https://github.com/daveinchy/lua-lib","last_synced_at":"2026-02-14T04:07:54.857Z","repository":{"id":269162800,"uuid":"906602607","full_name":"DaveInchy/lua-lib","owner":"DaveInchy","description":"A lua library you can use to use lua libraries","archived":false,"fork":false,"pushed_at":"2024-12-21T11:30:33.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-06T06:46:35.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Luau","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaveInchy.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-21T11:14:53.000Z","updated_at":"2024-12-21T11:30:36.000Z","dependencies_parsed_at":"2024-12-21T12:26:05.018Z","dependency_job_id":"7e5a951c-dec5-4526-9f38-9a903bf1ecbc","html_url":"https://github.com/DaveInchy/lua-lib","commit_stats":null,"previous_names":["daveinchy/lua-lib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DaveInchy/lua-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveInchy%2Flua-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveInchy%2Flua-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveInchy%2Flua-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveInchy%2Flua-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaveInchy","download_url":"https://codeload.github.com/DaveInchy/lua-lib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveInchy%2Flua-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29435573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T17:56:54.361Z","updated_at":"2026-02-14T04:07:54.843Z","avatar_url":"https://github.com/DaveInchy.png","language":"Luau","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lua-Lib\n## How to download scripts to your ROBLOX games?\nInput this in your command bar in Roblox Studio and press Enter, the Instance that you had selected inside Studio will now have your Script inside.\n```:lua\n--[[\n    Here is where you fill out the script you want to download\n]]--\nlocal URL = \"\"\n\nlocal Http = game:GetService(\"HttpService\")\nlocal HttpEnabled = Http.HttpEnabled\nHttp.HttpEnabled = true\nlocal m = Instance.new(\"ModuleScript\")\nm.Parent = game:GetService(\"Selection\"):Get()[1] or game:GetService(\"ServerScriptService\")\nm.Name = `{URL:match( \"([^/]+)$\" )}`\nm.Source = Http:GetAsync(`{URL}`)\ngame:GetService(\"Selection\"):Set({m})\nHttp.HttpEnabled = HttpEnabled\n```\n\nor\n\n```\nlocal URL = \"https://raw.githubusercontent.com/DaveInchy/lua-lib/refs/heads/master/src/import.luau\"\n\nlocal Http = game:GetService(\"HttpService\")\nlocal HttpEnabled = Http.HttpEnabled\nHttp.HttpEnabled = true\nlocal m = Instance.new(\"ModuleScript\")\nm.Parent = game:GetService(\"Selection\"):Get()[1] or game:GetService(\"ServerScriptService\")\nm.Name = `{URL:match( \"([^/]+)$\" )}`\nm.Source = Http:GetAsync(`{URL}`)\nm.Parent = game:GetService(\"ReplicatedStorage\");\nHttp.HttpEnabled = HttpEnabled\n```\nand then use it like this (for example):\n```\nlocal import = require(game.ReplicatedStorage['import.luau']);\n\nlocal Promise = import(\"https://raw.githubusercontent.com/evaera/roblox-lua-promise/master/lib/init.lua\");\nlocal useState = import(\"https://raw.githubusercontent.com/DaveInchy/lua-lib/refs/heads/master/src/hooks/useState.luau\")\n\nlocal isGud = useState(true, \"isGud\");\nlocal count = useState(0, \"count\");\n\nisGud.update:Connect(function(value)\n    local Update = Promise.new(function(res, rej)\n        isGud.set(not isGud.get());\n\n        count.set(count.get()+1);\n        if count.get() \u003e= 10 then\n            rej(`Max times tripping over reached. Stopping Execution`)\n        end\n\n        res(isGud.get())\n    end):catch(function(err)\n        warn(`{err}`);\n    end)\n    print(`tripping over =\u003e {Update}`);\nend)\n\nisGud.set(false);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaveinchy%2Flua-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaveinchy%2Flua-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaveinchy%2Flua-lib/lists"}