{"id":16989143,"url":"https://github.com/amorriscode/stx-me","last_synced_at":"2025-04-12T04:10:20.283Z","repository":{"id":46632596,"uuid":"350850430","full_name":"amorriscode/stx-me","owner":"amorriscode","description":"A hassle-free way to accept STX from any website.","archived":false,"fork":false,"pushed_at":"2021-10-03T00:33:37.000Z","size":516,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T23:41:43.561Z","etag":null,"topics":["bitcoin","blockchain","blockstack","hacktoberfest","stacks","stx"],"latest_commit_sha":null,"homepage":"https://getstx.me","language":"TypeScript","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/amorriscode.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}},"created_at":"2021-03-23T20:36:22.000Z","updated_at":"2022-05-31T06:51:36.000Z","dependencies_parsed_at":"2022-08-30T00:40:26.173Z","dependency_job_id":null,"html_url":"https://github.com/amorriscode/stx-me","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/amorriscode%2Fstx-me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fstx-me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fstx-me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fstx-me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amorriscode","download_url":"https://codeload.github.com/amorriscode/stx-me/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514221,"owners_count":21116903,"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":["bitcoin","blockchain","blockstack","hacktoberfest","stacks","stx"],"created_at":"2024-10-14T03:05:34.122Z","updated_at":"2025-04-12T04:10:20.259Z","avatar_url":"https://github.com/amorriscode.png","language":"TypeScript","readme":"# stx.me\n\nCreators all over the web have been using services like [Buy Me a Coffee](https://www.buymeacoffee.com/) to easily accept donations from their supports. What if creators could easily accept STX donations? That's exactly what stx.me aims to achieve!\n\nAccept STX donations from any website by simply adding a `\u003cscript\u003e`.\n\n## Getting Started\n\n1. Add the stx.me container to your webpage\n\n```html\n\u003cdiv id=\"stx-me\"\u003e\u003c/div\u003e\n```\n\n2. Add the stx.me script to your webpage\n\n```html\n\u003cscript src=\"https://unpkg.com/stx-me/dist/stx.me.js\"\u003e\u003c/script\u003e\n```\n\n3. Initialize stx.me with your wallet address\n\n\n```html\n\u003cscript\u003e\n    stx.me('SP2D71SFBCAX1VE664GKQP2Y7YMRDW6YJGVQVXB1T');\n\u003c/script\u003e\n```\n\n4. Add stx.me stylesheet (optional)\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/stx-me/dist/stx.me.css\"\u003e\u003c/link\u003e\n```\n\n## Configuration\n\nThe stx.me function takes a second, optional parameter of options. The following options are allowed:\n\n```typescript\ninterface AppDetails {\n  name: string;\n  icon: string;\n}\n\ninterface ConfigOptions {\n  showAddress?: boolean;\n  appDetails?: AppDetails;\n  successMessage?: string;\n  buttonText?: string;\n  network?: string;\n}\n```\n\n### AppDetails\n\nUsed to configure what users will see witihin the Stacks wallet.\n\n| Parameter | Default        | Description                                          |\n| --------- | -------------- | ---------------------------------------------------- |\n| name      | document.title | An app name to display in the Stacks wallet.         |\n| icon      | /favicon.ico   | The path to an icon to display in the Stacks wallet. |\n\n### ConfigOptions\n\nUsed to configure how the stx.me button behaves.\n\n| Parameter      | Default                   | Description                                           |\n| -------------- | ------------------------- | ----------------------------------------------------- |\n| showAddress    | false                     | Display your stacks address on your webpage.          |\n| appDetails     | See AppDetails            | Configuration for the Stacks wallet pop ups.          |\n| successMessage | Thanks for your donation! | A message to display to users on successful donation. |\n| buttonText     | Send Me STX               | A message to display on the donation button.          |\n| network        | mainnet                   | The Stacks network transactions should be sent on.    |\n","funding_links":["https://www.buymeacoffee.com/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famorriscode%2Fstx-me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famorriscode%2Fstx-me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famorriscode%2Fstx-me/lists"}