{"id":20444898,"url":"https://github.com/snapchat/dagger-browser","last_synced_at":"2025-04-05T23:12:30.457Z","repository":{"id":40671477,"uuid":"233693900","full_name":"Snapchat/dagger-browser","owner":"Snapchat","description":"Simple tool for browsing Dagger graphs generated via an SPI plugin","archived":false,"fork":false,"pushed_at":"2024-03-19T17:21:53.000Z","size":1744,"stargazers_count":318,"open_issues_count":15,"forks_count":19,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-29T22:09:21.453Z","etag":null,"topics":["android","dagger","java"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Snapchat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-01-13T21:08:05.000Z","updated_at":"2025-03-10T12:01:21.000Z","dependencies_parsed_at":"2024-03-19T18:46:53.093Z","dependency_job_id":null,"html_url":"https://github.com/Snapchat/dagger-browser","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/Snapchat%2Fdagger-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fdagger-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fdagger-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snapchat%2Fdagger-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snapchat","download_url":"https://codeload.github.com/Snapchat/dagger-browser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411239,"owners_count":20934653,"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":["android","dagger","java"],"created_at":"2024-11-15T10:09:58.715Z","updated_at":"2025-04-05T23:12:30.434Z","avatar_url":"https://github.com/Snapchat.png","language":"TypeScript","readme":"# Dagger Browser\n\nDagger Browser is a progressive web app for easily navigating a project's Dagger graph. The graph data is populated from a Dagger [SPI](https://dagger.dev/spi.html) plugin, and the browser is built using\n[CRA (create-react-app)](https://github.com/facebook/create-react-app) with Typescript.\n\n\u003cimg src=\"docs/plaid_screenshot.png\" width=\"600\" /\u003e\n\n## Trying a sample\n\nThe [plugin/sample](plugin/sample)\ndirectory contains a fork of a [simple example](https://github.com/google/dagger/tree/master/examples/simple) from the Dagger repo. \n\nYou can run `./run.sh` to generate the dagger components manifest for this example and display in the Dagger Browser.\n\n## Using Dagger Browser in your app\n\nTo build a Dagger Browser site for your project, you'll need to generate json files for your project's Dagger components.\n\nTo get started:\n\n1. Look up the latest version of the processor plugin in Maven Central:\n\u003cimg src=\"https://img.shields.io/maven-central/v/com.snap.daggerbrowser/daggerbrowser-processor\"/\u003e\n\n2. Add a dependency on `com.snap.daggerbrowser:daggerbrowser-processor` to any Gradle modules in your project that process Dagger components:\n```groovy\nallprojects {\n  repositories {\n    mavenCentral()\n  }\n}\ndependencies {\n  kapt \"com.snap.daggerbrowser:daggerbrowser-processor:LATEST_VERSION\"\n}  \n```\n3. Build your project. The plugin will generate json files for each Dagger component.\n\n4. Use [scripts/mkmanifest.sh](https://github.com/Snapchat/dagger-browser/blob/master/scripts/mkmanifest.sh) to aggregate the component json files into a ComponentsManifest.json.\n\n5. Open a Dagger Browser instance, and drag-and-drop your ComponentsManifest.json file to load it.\n\n6. Alternatively, build a Dagger Browser instance from source. Checkout out the `dagger-browser` project\n```\n$: git clone git@github.com:Snapchat/dagger-browser.git\n```\n7. Build Dagger Browser using your generated json files:\n```\ncd dagger-browser\n./run.sh ../my_project/\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapchat%2Fdagger-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnapchat%2Fdagger-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnapchat%2Fdagger-browser/lists"}