{"id":51274818,"url":"https://github.com/stormlightlabs/marker","last_synced_at":"2026-06-29T20:30:37.706Z","repository":{"id":358350896,"uuid":"1237457494","full_name":"stormlightlabs/marker","owner":"stormlightlabs","description":"an ad-free mobile browser for reading and annotating","archived":false,"fork":false,"pushed_at":"2026-06-11T04:15:09.000Z","size":4646,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-11T06:13:18.390Z","etag":null,"topics":["android","browser","dart","flutter","ios","readability","w3c","webview"],"latest_commit_sha":null,"homepage":"https://marker.stormlightlabs.org/","language":"Dart","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/stormlightlabs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-13T07:46:38.000Z","updated_at":"2026-06-05T16:21:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stormlightlabs/marker","commit_stats":null,"previous_names":["stormlightlabs/marker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stormlightlabs/marker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormlightlabs%2Fmarker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormlightlabs%2Fmarker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormlightlabs%2Fmarker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormlightlabs%2Fmarker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stormlightlabs","download_url":"https://codeload.github.com/stormlightlabs/marker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stormlightlabs%2Fmarker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34942665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android","browser","dart","flutter","ios","readability","w3c","webview"],"created_at":"2026-06-29T20:30:36.983Z","updated_at":"2026-06-29T20:30:37.701Z","avatar_url":"https://github.com/stormlightlabs.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD041 --\u003e\n![Marker banner](./assets/images/hero.png)\n\n# Marker\n\nA reading and annotation browser for iOS and Android. Open any webpage,\nselect text, and create highlights or notes. Annotations stay on device and\nappear the next time you visit the page.\n\n## What it does\n\n- Select text, then choose: highlight, underline, or attach a note.\n- Notes can be authored in Markdown\n- Annotations are anchored with layered selectors (quote, position, CSS) modeled on the\n  W3C Web Annotation spec.\n- A sidebar panel lists all annotations on the current page, with quick\n  actions to jump, edit, or delete.\n- Bookmarks and browsing history are stored alongside annotations.\n\n## Technology\n\n| Concern           | Package / approach                 |\n| ----------------- | ---------------------------------- |\n| Framework         | Flutter (Cupertino UI)             |\n| State             | Riverpod                           |\n| Routing           | go_router                          |\n| Database          | Drift / SQLite                     |\n| Web rendering     | flutter_webview                    |\n| Annotation bridge | Injected JavaScript                |\n| Note editor       | code_forge + flutter_markdown_plus |\n\n### Architecture\n\nState flows in one direction:\n\n```text\nWebView JS event\n  -\u003e webViewBridgeProvider\n  -\u003e annotationRepositoryProvider (Drift)\n  -\u003e annotationsForPageProvider\n  -\u003e WebView render command\n```\n\nThe JavaScript layer only handles DOM selection and rendering. It does not\nown persistence and does not make routing decisions.\n\n### Annotations\n\nEach annotation stores a layered selector so anchoring degrades gracefully\nwhen page DOM changes:\n\n1. `TextQuoteSelector` - exact text with surrounding context (primary)\n2. `TextPositionSelector` - character offsets (fallback)\n3. `CssSelector` - element path (last resort)\n\nThe schema follows the W3C Web Annotation data model with four motivations:\n`highlighting`, `commenting`, `tagging`, `linking`.\n\n## Development\n\n### Prerequisites\n\n- Flutter SDK \u003e= 3.11\n- Dart SDK ^3.11.5\n- Xcode (iOS builds)\n- Android Studio (Android builds)\n\n### Getting started\n\n```sh\nflutter pub get\ndart run build_runner build\nflutter run\n```\n\n### Regenerating native assets\n\nAfter changing `assets/images/icon.png` or `assets/images/splash.png`, regenerate the\nnative launcher icons and splash screens:\n\n```sh\nflutter pub get\ndart run flutter_launcher_icons\ndart run flutter_native_splash:create\n```\n\n### Running tests\n\n```sh\nflutter analyze\nflutter test --reporter=failures-only\n```\n\n## Credits\n\nSync comes via the [ATmosphere](https://atmosphereaccount.com/) built on top of the\n[AT Protocol](https://atproto.com/). Bookmarks are stored as [Semble](https://semble.so)\nrecords and [Margin](https://margin.at) annotations.\n\nLogos for these services are provided by [atmologos](https://tangled.org/cozylittle.house/atmologos).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstormlightlabs%2Fmarker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstormlightlabs%2Fmarker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstormlightlabs%2Fmarker/lists"}