{"id":17537627,"url":"https://github.com/zenhack/patch-sharelatex","last_synced_at":"2026-02-12T23:31:35.050Z","repository":{"id":151019437,"uuid":"291843267","full_name":"zenhack/patch-sharelatex","owner":"zenhack","description":"\"Build\" scripts for sandstorm's legacy sharelatex package.","archived":false,"fork":false,"pushed_at":"2020-09-01T04:16:47.000Z","size":372,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-09T05:15:48.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Cap'n Proto","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/zenhack.png","metadata":{"files":{"readme":"README.md","changelog":"changeLog.md","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}},"created_at":"2020-08-31T23:05:14.000Z","updated_at":"2020-09-01T04:16:49.000Z","dependencies_parsed_at":"2023-05-02T16:31:09.850Z","dependency_job_id":null,"html_url":"https://github.com/zenhack/patch-sharelatex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zenhack/patch-sharelatex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fpatch-sharelatex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fpatch-sharelatex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fpatch-sharelatex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fpatch-sharelatex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenhack","download_url":"https://codeload.github.com/zenhack/patch-sharelatex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenhack%2Fpatch-sharelatex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29386217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-20T20:42:20.025Z","updated_at":"2026-02-12T23:31:35.036Z","avatar_url":"https://github.com/zenhack.png","language":"Cap'n Proto","readme":"This repository contains a set of scripts to monkey-patch the ShareLaTeX\nsandstorm spk, to solve an issue where it was loading icons \u0026 fonts from\nCDNs, which will break the app when we start enforcing\nContent-Security-Policy.\n\nUnfortunately, The ShareLaTeX app [predates vagrant-spk and doesn't have\na proper build system][1]. Getting it building again would probably be even\nmore work than packaging the current version of the app from scratch, so\nthe current thinking is that we will:\n\n- Use this set of scripts to build an SPK of the currently packaged\n  version that will not break when we start enforcing CSP\n- Separately, we'll package the current version of ShareLaTeX, now\n  called Overleaf, as a new app. No attempt will be made to migrate\n  grains' internal storage; instead, users wishing to upgrade should\n  click the button to download their project source as a zip, and upload\n  it into a new (Overleaf) grain.\n\n---\n\nOn a system with Sandstorm installed:\n\nFirst, fetch the old spk and the necessary assets:\n\n```sh\n./fetch.sh\n```\n\nThen, make a patched root directory:\n\n```sh\n./patch.sh\n```\n\nYou should now be able to run the app using `spk dev`, or build a new\nspk with `spk pack`. Note that we disable the devmode file detection, so\nthere is no need to run spk dev before building the spk, as it will not\naffect the contents.\n\n[1]: https://github.com/dwrensha/sharelatex/issues/13\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenhack%2Fpatch-sharelatex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenhack%2Fpatch-sharelatex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenhack%2Fpatch-sharelatex/lists"}