{"id":22375101,"url":"https://github.com/mstone/focus","last_synced_at":"2025-03-26T17:41:16.580Z","repository":{"id":18829029,"uuid":"22044322","full_name":"mstone/focus","owner":"mstone","description":"an experiment in collaboration","archived":false,"fork":false,"pushed_at":"2017-08-12T23:26:21.000Z","size":2308,"stargazers_count":2,"open_issues_count":14,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T22:49:58.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mstone.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}},"created_at":"2014-07-20T21:53:57.000Z","updated_at":"2018-09-27T15:13:48.000Z","dependencies_parsed_at":"2022-08-05T01:15:25.494Z","dependency_job_id":null,"html_url":"https://github.com/mstone/focus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstone%2Ffocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstone%2Ffocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstone%2Ffocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstone%2Ffocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mstone","download_url":"https://codeload.github.com/mstone/focus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245704804,"owners_count":20659095,"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":[],"created_at":"2024-12-04T21:19:36.211Z","updated_at":"2025-03-26T17:41:16.558Z","avatar_url":"https://github.com/mstone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nfocus is an experimental collaboration platform.\n\nIts first major component, `vaporpad` ([design doc](./docs/intent.adoc)), is a\nlow-latency collaborative editor inspired by and derived from\n[etherpad-lite](http://etherpad.org), [sharejs](http://sharejs.org), and\n[ot.v](https://github.com/Operational-Transformation/ot.v).\n\n## Caveats\n\nWarning: focus is not yet feature-complete and has [known\nissues](https://github.com/mstone/focus/issues) that make it pre-alpha quality.\n\n## Dependency Management\n\nfocus depends on [nix](https://nixos.org/nix/) and\n[nixpkgs](https://github.com/NixOS/nixpkgs) for fine-grain dependency\nmanagement.\n\n## Getting The Code\n\nAfter installing nix, focus can be checked out by running:\n\n```bash\nexport GOPATH=$(pwd)/go\nPKG=github.com/mstone/focus\nmkdir -p $GOPATH/src/$(dirname $PKG)\n(cd $GOPATH/src/$(dirname $PKG); git clone --recursive https://$PKG)\ncd $GOPATH/src/$PKG\n```\n\nto create a fresh GOPATH workspace containing a suitable source checkout.\n\n## Use\n\nTo build focus from a clean checkout, run:\n\n```bash\nmake\n```\n\n## Development\n\nTo enter a focus dev-shell configured for interactive development, run:\n\n```bash\nmake dev\n```\n\nThen edit and run commands like:\n\n```bash\ngo generate\ngo build -i\ngo build\ngoconvey\n```\n\nto build from your (potentially dirty) working tree.\n\n## Docker\n\nWant to deploy via docker? No problem, just run:\n\n```\nmake docker\ndocker load \u003c result\ndocker run -v $(pwd)/data:/data -p 127.0.0.1:3000:3000 focus /bin/focus -api=ws://localhost:3000/ws -bind=0.0.0.0:3000 -log=/data/focus.log -dsn=/data/focus.db\n```\n\nand customize as needed with your particular deployment settings!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstone%2Ffocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmstone%2Ffocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstone%2Ffocus/lists"}