{"id":20486357,"url":"https://github.com/squirrel/squirrel.server","last_synced_at":"2026-03-07T12:02:51.156Z","repository":{"id":11394284,"uuid":"13838585","full_name":"Squirrel/Squirrel.Server","owner":"Squirrel","description":"Implements the server side of the Squirrel client frameworks","archived":false,"fork":false,"pushed_at":"2013-11-18T22:39:48.000Z","size":380,"stargazers_count":130,"open_issues_count":0,"forks_count":27,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-13T15:40:44.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/Squirrel.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}},"created_at":"2013-10-24T17:05:38.000Z","updated_at":"2024-09-08T10:34:58.000Z","dependencies_parsed_at":"2022-08-22T09:00:15.085Z","dependency_job_id":null,"html_url":"https://github.com/Squirrel/Squirrel.Server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Squirrel/Squirrel.Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Squirrel%2FSquirrel.Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Squirrel%2FSquirrel.Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Squirrel%2FSquirrel.Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Squirrel%2FSquirrel.Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Squirrel","download_url":"https://codeload.github.com/Squirrel/Squirrel.Server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Squirrel%2FSquirrel.Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"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":[],"created_at":"2024-11-15T16:36:08.728Z","updated_at":"2026-03-07T12:02:51.120Z","avatar_url":"https://github.com/Squirrel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squirrel Server\n\nThis [Rack](http://rack.github.io) application implements the server side\ncomponent for [Squirrel.Mac](https://github.com/Squirrel/Squirrel.Mac). It is\nHeroku compatible and should get you started setting up your own Squirrel\nserver.\n\n# Bootstrap\n\nUpdates are read from `db/releases.json` which is a JSON array of Squirrel\nreleases. Add your releases to this file *before* running or deploying.\n\n# Running locally\n\n1. Run `script/bootstrap`.\n1. Run `script/server`\n\nThe updates are served locally for testing, to use your local server set your\nupdate URL host to `localhost:9393` for testing, see\n[Configuring your client](#configuring-your-client).\n\n# Deploying the server\n\n1. Install the [Heroku Toolbelt](https://toolbelt.heroku.com).\n1. Run `script/heroku-deploy` to create the app on Heroku and push the code.\n\n# Configuring your client\n\nOnce you've deployed your sever, you need to configure a client to query it for\nupdates.\n\nThe example server compares a `version` query parameter to determine whether an\nupdate is required.\n\nThe update resource is `/releases/latest`, configure your client\n`SQRLUpdater.updateRequest`:\n\n```objc\nNSURLComponents *components = [[NSURLComponents alloc] init];\n\ncomponents.scheme = @\"http\";\n\nBOOL useLocalServer = NO;\nif (useLocalServer) {\n  components.host = @\"localhost\";\n  components.port = @(9393);\n} else {\n  components.host = @\"my-server.herokuapp.com\";\n}\n\ncomponents.path = @\"/releases/latest\";\n\nNSString *bundleVersion = NSBundle.mainBundle.sqrl_bundleVersion;\ncomponents.query = [[NSString stringWithFormat:@\"version=%@\", bundleVersion] stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLQueryAllowedCharacterSet]\n\nself.updater = [[SQRLUpdater alloc] initWithUpdateRequest:components.URL];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquirrel%2Fsquirrel.server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquirrel%2Fsquirrel.server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquirrel%2Fsquirrel.server/lists"}