{"id":21984047,"url":"https://github.com/chazeon/olgitbridge","last_synced_at":"2025-03-23T01:43:32.297Z","repository":{"id":224094555,"uuid":"685271924","full_name":"chazeon/olgitbridge","owner":"chazeon","description":"Overleaf git bridge, fork of https://gitlab.com/axkibe/olgitbridge with support for the Overleaf v4 frontend","archived":false,"fork":false,"pushed_at":"2024-03-21T14:17:17.000Z","size":884,"stargazers_count":16,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T05:10:05.017Z","etag":null,"topics":["latex","overleaf","self-hosted","sharelatex"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chazeon.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}},"created_at":"2023-08-30T21:49:58.000Z","updated_at":"2025-01-08T13:49:44.000Z","dependencies_parsed_at":"2024-11-29T22:47:56.751Z","dependency_job_id":null,"html_url":"https://github.com/chazeon/olgitbridge","commit_stats":null,"previous_names":["chazeon/olgitbridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chazeon%2Folgitbridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chazeon%2Folgitbridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chazeon%2Folgitbridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chazeon%2Folgitbridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chazeon","download_url":"https://codeload.github.com/chazeon/olgitbridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044493,"owners_count":20551898,"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":["latex","overleaf","self-hosted","sharelatex"],"created_at":"2024-11-29T18:07:14.392Z","updated_at":"2025-03-23T01:43:32.280Z","avatar_url":"https://github.com/chazeon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# olgitbridge\n\nAnother Overleaf git bridge. This hack allows you to pull and push changes via git on an Overleaf Community Edition (CE) or Pro server, like shown in the [official Overleaf SaaS announcement](https://www.overleaf.com/blog/the-git-bridge-in-overleaf-v2-is-here). Just use `git clone http://your.server.invalid/\u003cproject-id\u003e`, where your project ID can be seen from your Overleaf instance.\n\nThis gitbridge uses the web API of Overleaf to down- and upsync changes. This means it does not need to run on the same server as Overleaf. In fact it is recommended to run it on another so it can directly use https port 443.\n\nNote that contrary to the cloud version this bridge does not use realtime change operations, any files changed by git will result in a \"this file has been changed externally\" interruption in the online editor.\n\n## Getting started\n\nStart installing (likely on another server than the Overleaf server)\n\n```\ngit clone https://gitlab.com/chazeon/olgitbridge.git\ncd olgitbridge\nnpm install\n```\n\nedit config.js in your favorite editor.\n\nIf the bridge is running on port 80 and or 443 using authbind may be a good idea.\n\nStart the server with (or without authbind)\n\n```\nauthbind node src/server.js\n```\n\nWrap it in your auto(re)starter/service of your choice.\n\n## Docker container\n\nThere is a Dockerfile provided here, feel free to use it for your deployment. Make sure to edit the config before launching the service. It might make sense to mount the `/var/olgitbridge/...` folders, so the content persists a software update. I recommend configuring the basedir before building the container to `/var/olgitbridge/data`.\n\nThe container exposes port 5000 by default.\n\n## Dependencies\n\nIn development node.js v16.11.0 was used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchazeon%2Folgitbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchazeon%2Folgitbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchazeon%2Folgitbridge/lists"}