{"id":25883181,"url":"https://github.com/maxlath/couchdb-blazegraph-sync","last_synced_at":"2025-09-09T21:36:37.953Z","repository":{"id":67787830,"uuid":"166292560","full_name":"maxlath/couchdb-blazegraph-sync","owner":"maxlath","description":"[unstable] Keep a CouchDB database and a BlazeGraph namespace in sync","archived":false,"fork":false,"pushed_at":"2023-11-30T14:18:50.000Z","size":25,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-04T23:58:09.016Z","etag":null,"topics":["blazegraph","couchdb","sync"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/maxlath.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,"zenodo":null}},"created_at":"2019-01-17T20:31:57.000Z","updated_at":"2021-11-10T19:00:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"7460cc10-974d-45d8-a68e-9a0bfb2ec823","html_url":"https://github.com/maxlath/couchdb-blazegraph-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxlath/couchdb-blazegraph-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fcouchdb-blazegraph-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fcouchdb-blazegraph-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fcouchdb-blazegraph-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fcouchdb-blazegraph-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxlath","download_url":"https://codeload.github.com/maxlath/couchdb-blazegraph-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlath%2Fcouchdb-blazegraph-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274366642,"owners_count":25272295,"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-09T02:00:10.223Z","response_time":80,"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":["blazegraph","couchdb","sync"],"created_at":"2025-03-02T16:31:54.775Z","updated_at":"2025-09-09T21:36:37.938Z","avatar_url":"https://github.com/maxlath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# couchdb-blazegraph-sync\n\nKeep a CouchDB database and a BlazeGraph namespace in sync.\n\n:warning: **Do not use for loading a full database**, as that would be way less performant than just sending a dump to BlazeGraph\n\n## Summary\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n\n- [Install](#install)\n- [Add config](#add-config)\n- [Set last seq](#set-last-seq)\n- [Start](#start)\n- [Add to systemd](#add-to-systemd)\n- [License](#license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Install\n```sh\ngit clone https://github.com/maxlath/couchdb-blazegraph-sync\ncd couchdb-blazegraph-sync\nnpm install --production\n```\n\n## Add config\n```sh\ncp ./configs/example.js ./configs/my_db.js\n```\nThen customize `./configs/my_db` to your needs\n\n## Set last seq\nThe sync will restart from the last known seq, which is persisted in a file per database: `./data/my_db.last_seq`\n\n**This tool isn't designed to load a full database**, rather to keep up with the changes, so first make sure you to import a dump directly\n\n```sh\n# Use your serializer to generate a dump of your CouchDB database, this is out of the scope of this tool\ncurl http://my-blazegraph:8080/bigdata/namespace/kb/dataloader -H 'Content-Type: application/x-turtle' -d@./my_db.ttl\n# Set the current last seq\ncurl \"http://username:password@localhost:5984/my_db\" | jq '.update_seq' \u003e ./data/my_db.last_seq\n# Or set an arbitrary point to start from\nprintf '1079700' \u003e ./data/my_db.last_seq\n```\n\n## Start\n```sh\nnpm start\n```\n\n## Add to systemd\n```sh\n# From the project root, assumes that you need sudo rights\nnpm run add-to-systemd\n# Start the process\nsudo systemctl start couchdb-blazegraph-sync\n# Start following the logs\njournalctl -fan 100 -u couchdb-blazegraph-sync\n```\n\n## License\n[AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.en.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fcouchdb-blazegraph-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxlath%2Fcouchdb-blazegraph-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlath%2Fcouchdb-blazegraph-sync/lists"}