{"id":19001242,"url":"https://github.com/alphafantomu/lsb-database","last_synced_at":"2026-04-19T14:30:21.553Z","repository":{"id":141360054,"uuid":"214909101","full_name":"alphafantomu/LSB-Database","owner":"alphafantomu","description":"A database library created using Lua","archived":false,"fork":false,"pushed_at":"2019-10-13T23:41:13.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T18:27:15.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alphafantomu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-10-13T23:28:48.000Z","updated_at":"2021-07-13T17:16:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8622f5c5-64a0-442b-a50e-35aff52c78f6","html_url":"https://github.com/alphafantomu/LSB-Database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2FLSB-Database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2FLSB-Database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2FLSB-Database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2FLSB-Database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphafantomu","download_url":"https://codeload.github.com/alphafantomu/LSB-Database/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240019974,"owners_count":19735095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-08T18:10:26.882Z","updated_at":"2026-04-19T14:30:21.474Z","avatar_url":"https://github.com/alphafantomu.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LSB-Database\nLSB Database (Lua String Based Database) is a library that helps manage simple json databases that have the \".addb\" extension.\nAllows for simple interaction with databases, other lua engines should be able to simultaneously view and edit the database. Tested on the luvit engine.\n\n## Usage\nTo start using the database:\n```lua\n  local LSB = require('Database'); --or Database.lua\n```\nHow to use:\n```lua\n  local Shoplist = LSB:CreateDatabase('Shoplist'); --Create a database\n  local GotShoplist = LSB:GetDatabase('Shoplist'); --Get a database that has already been created\n  Shoplist.Carrots = 100; --Set the amount of carrots to 100\n  Shoplist.Pancakes = 0; --Set the amount of pancakes to 0\n  print(Shoplist == GotShoplist) --Will print true to prevent replica wrappers in the stack\n  print(Shoplist.Carrots == GotShoplist.Carrots) --This will compare values, but not the variables themselves\n  print(Shoplist.Carrots('GetAddress') == GotShoplist.Carrots('GetAddress')) --This will print true, since it's optimized for no replicas.\n  LSB:DeleteDatabase('Shoplist'); --If the database file is closed (should be), then Shoplist.addb will be deleted.\n```\n\nTo be honest, I didn't like SQL very much and I like this concise and simple like this, so I made this to make my life simpler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphafantomu%2Flsb-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphafantomu%2Flsb-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphafantomu%2Flsb-database/lists"}