{"id":14956172,"url":"https://github.com/thefloatingstring/lightbase","last_synced_at":"2026-03-01T09:32:55.414Z","repository":{"id":243552019,"uuid":"812709754","full_name":"TheFloatingString/lightbase","owner":"TheFloatingString","description":"An abstract, low-cost database library built on peer-to-peer networks.","archived":false,"fork":false,"pushed_at":"2024-06-16T19:43:16.000Z","size":60,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T00:51:37.429Z","etag":null,"topics":["api","blockchain","database","ipfs","peer-to-peer"],"latest_commit_sha":null,"homepage":"","language":"Python","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/TheFloatingString.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-06-09T16:55:44.000Z","updated_at":"2025-01-14T18:11:49.000Z","dependencies_parsed_at":"2024-06-16T20:48:10.491Z","dependency_job_id":null,"html_url":"https://github.com/TheFloatingString/lightbase","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"49a3ece940b1543d5064c8413e5e8e6829cf87f8"},"previous_names":["thefloatingstring/lightbase"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFloatingString%2Flightbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFloatingString%2Flightbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFloatingString%2Flightbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheFloatingString%2Flightbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheFloatingString","download_url":"https://codeload.github.com/TheFloatingString/lightbase/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238004397,"owners_count":19400548,"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":["api","blockchain","database","ipfs","peer-to-peer"],"created_at":"2024-09-24T13:12:26.047Z","updated_at":"2025-10-24T16:31:32.215Z","avatar_url":"https://github.com/TheFloatingString.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightbase\n\n![img](https://raw.githubusercontent.com/TheFloatingString/lightbase/main/static/img/Lightbase%20Cover.png)\n\nLightbase is an abstract, low-cost database library built on peer-to-peer networks. To simplify operations with databases, Lightbase is built to be:\n\n+ **Affordable**: as low-cost as possible leveraging peer-to-peer databases.\n+ **Frictionless**: fast and easy for developers to use. Built on REST API (minimal dependencies required) and HTTP-inspired calls.\n+ **Unique**: unique items that can be accessed across different databases.\n\nLightbase is currently built on [IPFS](https://ipfs.tech).\n\nFeel free to create an issue for feature requests.\n\n### Running IPFS\n\nInstalling `ipfs` on Linux for [terminal](https://docs.ipfs.tech/install/command-line/):\n\n```bash\nwget https://dist.ipfs.tech/kubo/v0.28.0/kubo_v0.28.0_linux-amd64.tar.gz\ntar -xvzf kubo_v0.28.0_linux-amd64.tar.gz\ncd kubo\nsudo bash install.sh\n```\n\nIn this project's root folder:\n\n```bash\nipfs init\nipfs daemon\n```\n\n### Running the Backend\n\n```bash\ncd backend\npip install -r requirements.txt\nfastapi dev main.py\n```\n\nRead:\n\n```bash\ncurl -XGET localhost:8000/read/\u003cipfs_hash\u003e\n```\n\nWrite:\n\n```bash\ncurl -XPOST localhost:8000/create -H \"Content-Type: application/json\" -d \"{\\\"data\\\":\\\"\u003cAttachment string\u003e\\\"}\"\n```\n\nWeb app view at [localhost:8000/view](localhost:8000/view).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefloatingstring%2Flightbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthefloatingstring%2Flightbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthefloatingstring%2Flightbase/lists"}