{"id":26610509,"url":"https://github.com/oxplot/filedb","last_synced_at":"2025-09-02T17:44:57.922Z","repository":{"id":203439365,"uuid":"709583803","full_name":"oxplot/filedb","owner":"oxplot","description":"FileDB is a simple file-based database written in Go.","archived":false,"fork":false,"pushed_at":"2024-12-03T12:51:34.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T01:48:26.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oxplot.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-25T01:26:44.000Z","updated_at":"2024-12-03T12:51:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"89d35acb-831f-4d12-a727-325a15f2b854","html_url":"https://github.com/oxplot/filedb","commit_stats":null,"previous_names":["oxplot/filedb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oxplot/filedb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Ffiledb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Ffiledb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Ffiledb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Ffiledb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxplot","download_url":"https://codeload.github.com/oxplot/filedb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Ffiledb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273324558,"owners_count":25085484,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-24T01:48:30.171Z","updated_at":"2025-09-02T17:44:57.863Z","avatar_url":"https://github.com/oxplot.png","language":"Go","readme":"# FileDB\n\nFileDB is a simple file-based database written in Go. It provides basic CRUD operations on documents, which are stored as JSON files in a directory structure. The library also handles concurrent modifications and provides a simple key-based access to the documents.\n\n## Installation\n\nTo use FileDB in your Go project, you can install it by running:\n\n```bash\ngo get github.com/oxplot/filedb\n```\n\n## Usage\n\nHere is a basic example of how to use FileDB:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/yourusername/filedb\"\n)\n\nfunc main() {\n\tdb, err := filedb.Open(\"/path/to/db\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\terr = db.Set(\"key\", \"value\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tvalue, err := db.Get(\"key\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Println(value) // Output: value\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxplot%2Ffiledb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxplot%2Ffiledb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxplot%2Ffiledb/lists"}