{"id":34126892,"url":"https://github.com/jinjie/lsembed","last_synced_at":"2026-05-26T13:08:49.207Z","repository":{"id":192570709,"uuid":"659047677","full_name":"jinjie/lsembed","owner":"jinjie","description":"Simple module to embed litestream replication in your Go project","archived":false,"fork":false,"pushed_at":"2023-06-27T03:28:57.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T10:28:05.907Z","etag":null,"topics":["go-module","golang","litestream"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jinjie.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}},"created_at":"2023-06-27T03:27:19.000Z","updated_at":"2023-06-27T03:29:23.000Z","dependencies_parsed_at":"2023-09-05T03:01:57.622Z","dependency_job_id":null,"html_url":"https://github.com/jinjie/lsembed","commit_stats":null,"previous_names":["jinjie/lsembed"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jinjie/lsembed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jinjie%2Flsembed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jinjie%2Flsembed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jinjie%2Flsembed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jinjie%2Flsembed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jinjie","download_url":"https://codeload.github.com/jinjie/lsembed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jinjie%2Flsembed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33521531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go-module","golang","litestream"],"created_at":"2025-12-14T23:51:42.694Z","updated_at":"2026-05-26T13:08:49.165Z","avatar_url":"https://github.com/jinjie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Litestream Embeded\n\nSimple Go module to embed [litestream](https://github.com/benbjohnson/litestream) replication in your Go project.\n\nAdapted from [example](https://github.com/benbjohnson/litestream-library-example/blob/1cee7706d435d241792e01c502f8f37747445d09/main.go)\n\n## Get\n\n`go get github.com/jinjie/lsembed`\n\n## Example\n\n```\n// ...\nreplica := litestream.NewReplica(\n    litestream.NewDB(app.DataDir()+\"/data.db\"),\n    \"s3\",\n)\n\nreplica.Client = \u0026s3.ReplicaClient{\n    AccessKeyID:     \"ACCESSKEY\",\n    SecretAccessKey: \"SECRETKEY\",\n    Bucket:          \"litestream-test-bucket\",\n    Region:          \"ap-southeast-1\",\n    Path:            \"path\",\n}\n\nlsdb, err := lsembed.Replicate(replica)\nif err != nil {\n    log.Fatal().Err(err).Msg(\"failed to replicate\")\n}\n\ndefer lsdb.Close()\n//..\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjinjie%2Flsembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjinjie%2Flsembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjinjie%2Flsembed/lists"}