{"id":25863060,"url":"https://github.com/eastsun5566/inline-attacher","last_synced_at":"2026-02-20T19:31:09.832Z","repository":{"id":184725432,"uuid":"665253708","full_name":"EastSun5566/inline-attacher","owner":"EastSun5566","description":"📎 A modern inline attachment","archived":false,"fork":false,"pushed_at":"2025-02-25T19:14:48.000Z","size":715,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T02:18:04.829Z","etag":null,"topics":["attachment","drop","file","image","inline-attachment","paste","upload"],"latest_commit_sha":null,"homepage":"https://eastsun5566.github.io/inline-attacher/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EastSun5566.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-11T19:38:30.000Z","updated_at":"2025-02-25T19:14:46.000Z","dependencies_parsed_at":"2023-07-29T22:59:42.178Z","dependency_job_id":"a652c88a-0f39-424c-a5a0-69c1a5c518ba","html_url":"https://github.com/EastSun5566/inline-attacher","commit_stats":null,"previous_names":["eastsun5566/inline-attachment"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/EastSun5566/inline-attacher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EastSun5566%2Finline-attacher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EastSun5566%2Finline-attacher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EastSun5566%2Finline-attacher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EastSun5566%2Finline-attacher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EastSun5566","download_url":"https://codeload.github.com/EastSun5566/inline-attacher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EastSun5566%2Finline-attacher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29661594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["attachment","drop","file","image","inline-attachment","paste","upload"],"created_at":"2025-03-01T23:58:23.406Z","updated_at":"2026-02-20T19:31:09.783Z","avatar_url":"https://github.com/EastSun5566.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📎 Inline Attacher\n\n[![NPM Version](https://img.shields.io/npm/v/inline-attacher.svg?style=for-the-badge)](https://www.npmjs.com/package/inline-attacher)\n[![NPM Downloads](https://img.shields.io/npm/dt/inline-attacher.svg?style=for-the-badge)](https://www.npmjs.com/package/inline-attacher)\n[![License](https://img.shields.io/github/license/EastSun5566/inline-attacher.svg?style=for-the-badge)](https://github.com/EastSun5566/inline-attacher/blob/main/LICENSE)\n\n\u003e A modern port of [Inline Attachment](https://github.com/Rovak/InlineAttachment)\n\n🔗 \u003chttps://eastsun5566.github.io/inline-attacher/\u003e\n\n## Installation\n\n```sh\nnpm i inline-attacher\n```\n\n## Usage\n\n- Input / Textarea\n\n  ```ts\n  import { attach } from \"inline-attacher\";\n\n  const textarea = document.querySelector(\"textarea\");\n  attach(textarea, { uploadUrl: \"https://example.com/upload\" });\n  ```\n\n- CodeMirror v6\n\n  ```ts\n  import { EditorView } from \"codemirror\";\n  import { inlineAttachmentExtension } from \"inline-attacher\";\n\n  const editor = new EditorView({\n    extensions: [\n      inlineAttachmentExtension({ uploadUrl: \"https://example.com/upload\" }),\n    ],\n    parent: document.body,\n  });\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feastsun5566%2Finline-attacher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feastsun5566%2Finline-attacher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feastsun5566%2Finline-attacher/lists"}