{"id":24508471,"url":"https://github.com/aplbrain/motif-studio-v1","last_synced_at":"2025-03-15T09:21:00.676Z","repository":{"id":96849579,"uuid":"321133803","full_name":"aplbrain/motif-studio-v1","owner":"aplbrain","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-15T13:21:40.000Z","size":982,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-22T00:16:17.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aplbrain.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":"2020-12-13T18:36:48.000Z","updated_at":"2024-06-12T18:39:18.000Z","dependencies_parsed_at":"2023-07-12T13:15:45.686Z","dependency_job_id":null,"html_url":"https://github.com/aplbrain/motif-studio-v1","commit_stats":null,"previous_names":["aplbrain/motif-studio-v1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aplbrain%2Fmotif-studio-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aplbrain%2Fmotif-studio-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aplbrain%2Fmotif-studio-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aplbrain%2Fmotif-studio-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aplbrain","download_url":"https://codeload.github.com/aplbrain/motif-studio-v1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707942,"owners_count":20334733,"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":"2025-01-22T00:16:26.289Z","updated_at":"2025-03-15T09:21:00.645Z","avatar_url":"https://github.com/aplbrain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003eMotif Studio\u003c/h1\u003e\n\u003cp align=center\u003eMotif Studio is a browser-based tool to assist in writing and executing motif searches with the \u003ca href=\"https://github.com/aplbrain/dotmotif\"\u003eDotMotif\u003c/a\u003e motif query language.\u003c/p\u003e\n\n\u003cimg width=\"1239\" alt=\"image\" src=\"https://user-images.githubusercontent.com/693511/125712072-de1da258-949c-40e8-8da6-99e54e157947.png\"\u003e\n\n# Demo\n\nThere is a live version of Motif Studio running at http://motifstudio.bossdb.org.\n\n\u003c!-- \u003cimg width=\"1078\" alt=\"image\" src=\"https://user-images.githubusercontent.com/693511/120705675-1f9d5b00-c486-11eb-90f8-443853775eb7.png\"\u003e --\u003e\n\u003c!-- ![usingmotifstudio](https://user-images.githubusercontent.com/693511/102022121-ad5b8180-3d52-11eb-85c3-45a2aa0d930c.gif) --\u003e\n\n## Deploying with Docker-Compose\n\nYou can deploy a production-ready version of the application from the root of the project directory:\n\n```shell\ndocker-compose up -d\n```\n\nIf you don't want to support user uploads or a database-backed version of the application, you can run a much simpler version by running:\n\n```shell\ndocker-compose -f docker-compose.simple.yml up -d\n```\n\nBoth of these will run the backend server on port 5000, and the frontend on port 80.\n\n## Get Started: Simple Version\n\nYou can put a set of graphml files in `server/graphs`. These will be automatically detected.\n\nStart the backend with:\n\n```shell\ncd server\npython3 ./simpleserver.py\n```\n\nStart the frontend in another shell:\n\n```shell\ncd motif-studio\nyarn start\n```\n\n## Get Started: Complete Version\n\nYou must run a MongoDB service in the background. By default, it is expected that this lives at `localhost:27017`.\n\nStart the flask backend in one terminal:\n\n```shell\ncd server\npython3 ./server.py\n```\n\nStart the frontend in another:\n\n```shell\ncd motif-studio\nyarn start\n```\n\nThis will serve the API at `http://localhost:5000`, and the frontend will be available in the browser at `http://localhost:3000`.\n\n## Roadmap\n\n-   [ ] Click/drag interface for adding edges and nodes\n-   [ ] Inspection panel\n-   [ ] Motif \"interestingness\" heuristics to indicate anticipated search complexity\n-   [x] Pass warnings and errors from the backend along to the user\n-   [ ] Pass Validator errors to the user\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faplbrain%2Fmotif-studio-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faplbrain%2Fmotif-studio-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faplbrain%2Fmotif-studio-v1/lists"}