{"id":40383165,"url":"https://github.com/codepo8/mastodon-share","last_synced_at":"2026-01-20T12:04:52.139Z","repository":{"id":189027476,"uuid":"679745206","full_name":"codepo8/mastodon-share","owner":"codepo8","description":"A share to mastodon button","archived":false,"fork":false,"pushed_at":"2023-08-22T00:02:49.000Z","size":575,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-22T01:25:12.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/codepo8.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-08-17T14:18:43.000Z","updated_at":"2023-08-19T09:15:30.000Z","dependencies_parsed_at":"2023-08-17T23:51:49.666Z","dependency_job_id":null,"html_url":"https://github.com/codepo8/mastodon-share","commit_stats":null,"previous_names":["codepo8/mastodon-share"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/codepo8/mastodon-share","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepo8%2Fmastodon-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepo8%2Fmastodon-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepo8%2Fmastodon-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepo8%2Fmastodon-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codepo8","download_url":"https://codeload.github.com/codepo8/mastodon-share/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codepo8%2Fmastodon-share/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":[],"created_at":"2026-01-20T12:04:52.067Z","updated_at":"2026-01-20T12:04:52.127Z","avatar_url":"https://github.com/codepo8.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Share on Mastodon button\n\nA simple script to provide a \"share on mastodon\" button without any styles. \nTo use it, add the script and put a link where you want to share to mastodon.\n\nI've made all the things you want to show to the user editable in the link.\n\n```HTML\n    \u003ca href=\"#\" rel=\"noreferrer noopener\" \n        target=\"mastodon\" \n        data-prompt=\"Please tell me your Mastodon instance\" \n        data-edittext=\"✏️\" \n        data-editlabel=\"Edit your Mastodon instance\" \n        class=\"mastodon-share\"\u003e\n        Share to Mastodon\n    \u003c/a\u003e\n    \u003cscript src=\"mastodon-share.js\"\u003e\u003c/script\u003e\n```\n\nThe first time users click the share button, it asks for their mastodon instance and stores it in local storage. Subsequently you can just click the link. Here's how that looks as a GIF recording:\n\n![Recording of the interaction](share-to-mastodon.gif)\n\nYou also get an edit link next to the share button to edit your instance in case you made a mistake.\n\n[See it in action](https://codepo8.github.io/mastodon-share/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepo8%2Fmastodon-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodepo8%2Fmastodon-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodepo8%2Fmastodon-share/lists"}