{"id":39357937,"url":"https://github.com/flume-cloud-services/database","last_synced_at":"2026-01-18T02:39:20.025Z","repository":{"id":48426979,"uuid":"191140052","full_name":"flume-cloud-services/database","owner":"flume-cloud-services","description":"Golang Database via HTTP using LevelDB (by Flume Cloud Services)","archived":false,"fork":false,"pushed_at":"2022-09-13T13:26:50.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-13T23:44:48.657Z","etag":null,"topics":["cloud","database","firestore","golang","http","http-server","json","self-hosted"],"latest_commit_sha":null,"homepage":"https://flume-cloud-services.github.io/docs","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flume-cloud-services.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"dimensi0n","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-06-10T09:43:27.000Z","updated_at":"2022-09-13T13:26:53.000Z","dependencies_parsed_at":"2022-09-08T04:51:30.107Z","dependency_job_id":null,"html_url":"https://github.com/flume-cloud-services/database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flume-cloud-services/database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fdatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fdatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fdatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fdatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flume-cloud-services","download_url":"https://codeload.github.com/flume-cloud-services/database/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fdatabase/sbom","scorecard":{"id":404787,"data":{"date":"2025-08-11","repo":{"name":"github.com/flume-cloud-services/database","commit":"fef347591e0f20cec03870fb75356ddf7ff5a015"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: containerImage not pinned by hash: Dockerfile:4: pin your Docker image by updating golang:latest to golang:latest@sha256:9e56f0d0f043a68bb8c47c819e47dc29f6e8f5129b8885bed9d43f058f7f3ed6","Info:   0 out of   1 containerImage dependencies pinned","Info:   2 out of   2 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2020-0017 / GHSA-w73w-5m7g-f7qc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T20:55:27.819Z","repository_id":48426979,"created_at":"2025-08-18T20:55:27.820Z","updated_at":"2025-08-18T20:55:27.820Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["cloud","database","firestore","golang","http","http-server","json","self-hosted"],"created_at":"2026-01-18T02:39:19.340Z","updated_at":"2026-01-18T02:39:20.015Z","avatar_url":"https://github.com/flume-cloud-services.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/dimensi0n/flume/master/.github/logo.png\" width=\"400\"/\u003e\n\u003c/p\u003e\n\n\u003chr\u003e\n\n# Database\n`Golang Database` via **HTTP** using *LevelDB* and *GJSON \u0026 SJSON* (by Flume Cloud Services)\n\n## Installation\n\n### Docker\n\n```bash\ndocker run -d -p 8080:8080 flumecloudservices/database\n```\n\n### Manually\n\n```bash\nmkdir $GOPATH/src/github.com/flume-cloud-services \u0026\u0026 cd $GOPATH/src/github.com/flume-cloud-services\ngit clone https://github.com/flume-cloud-services/database.git \u0026\u0026 cd database\ngo get -d -v\ngo install -v\n\nFLUME_DATABASE_ADMIN=admin_name FLUME_DATABASE_SECRET=secret_token database\n```\n\n## Usage\n\nUse the `signin` route with the following body to generate the JWT token :\n\n```\nPOST /signin\n\nBody:\n    - username: The admin name given in FLUME_DATABASE_ADMIN by default it's simply \"admin\"\n\nReturn:\n    - If success :\n        - A JWT Token\n        - The cookie with the previously generated JWT Token\n    - If failed :\n        - Unauthorized Status\n        - Bad request Status\n```\n\nCheck if the jwt is correctly generated by visiting `welcome` route :\n\n```\nGET /welcome\n\nReturn:\n    - If success :\n        - Welcome to you visitor !\n    -If failed :\n        - Unauthorized Status\n```\n\nThen create a database using the `/database/create` route :\n\n```\nPOST /database/create\n\nBody:\n    - name: The database name\n\nReturn:\n    - If success :\n        - Database \u003cname\u003e succesfully created\n    - If failed :\n        - Bad Request Status\n        - Internal Server Error Status\n```\n\nYou can delete the previously created database using the `database/delete` route :\n\n```\nPOST /database/delete\n\nBody:\n    - name: The database name\n\nReturn:\n    - If success :\n        - Database \u003cname\u003e succesfully deleted\n    - If failed :\n        - Bad Request Status\n        - Internal Server Error Status\n```\n\nThen you have to insert data into a specific table using [SJSON](https://github.com/tidwall/sjson) (I recommend you to know the basics of [GJSON Syntax](https://github.com/tidwall/gjson#path-syntax)) and the route `/insert` :\n\n```\nPOST /insert\n\nBody:\n    - database: The database name\n    - query: The GJSON query\n    - content: The JSON stringified content of the table\n\nReturn:\n    - If success :\n        - Data successfully inserted into table\n    - If failed :\n        - Bad Request Status\n        - Internal Server Error Status\n```\n\nNow you can query your database using [GJSON](https://github.com/tidwall/gjson) (I recommend you to know the basics of [GJSON Syntax](https://github.com/tidwall/gjson#path-syntax)) and the `/query` route :\n\n```\nPOST /query\n\nBody:\n    - name: The database name\n    - query: The GJSON query\n\nReturn:\n    - If success :\n        - The response of the given query\n    - If failed :\n        - Bad Request Status\n        - Internal Server Error Status\n```\n\n### Example of Query\n\nQuery : `table.0.key`\n\nGive the specified key into the specified table at the index '0'\n\n### Example of Insert\n\nQuery : `table.0.key`\nContent : `Key Content`\n\nSet the specified content into the specified key into the specified table at the index '0'\n\n### Dashboard\n\nYou can access the dashboard here `/dash` by giving the admin name and the secret.\n","funding_links":["https://patreon.com/dimensi0n"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflume-cloud-services%2Fdatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflume-cloud-services%2Fdatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflume-cloud-services%2Fdatabase/lists"}