{"id":27197478,"url":"https://github.com/dereknongeneric/amp-samples","last_synced_at":"2025-06-29T06:07:21.132Z","repository":{"id":103617632,"uuid":"94225393","full_name":"DerekNonGeneric/amp-samples","owner":"DerekNonGeneric","description":"Boilerplate for adding embedded samples in AMP docs","archived":false,"fork":false,"pushed_at":"2025-06-05T22:32:07.000Z","size":72,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-05T23:27:21.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dereknongeneric.github.io/amp-samples/samples/ampsort.basic-table.embed.html","language":"Shell","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/DerekNonGeneric.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["DerekNonGeneric"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2017-06-13T15:01:24.000Z","updated_at":"2022-10-17T09:26:54.000Z","dependencies_parsed_at":"2025-04-09T20:34:40.428Z","dependency_job_id":"24bdf2fa-aa4b-4e5d-a42d-6c4d25446300","html_url":"https://github.com/DerekNonGeneric/amp-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DerekNonGeneric/amp-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerekNonGeneric%2Famp-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerekNonGeneric%2Famp-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerekNonGeneric%2Famp-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerekNonGeneric%2Famp-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DerekNonGeneric","download_url":"https://codeload.github.com/DerekNonGeneric/amp-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerekNonGeneric%2Famp-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262545035,"owners_count":23326660,"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":[],"created_at":"2025-04-09T20:28:51.898Z","updated_at":"2025-06-29T06:07:21.127Z","avatar_url":"https://github.com/DerekNonGeneric.png","language":"Shell","funding_links":["https://github.com/sponsors/DerekNonGeneric"],"categories":[],"sub_categories":[],"readme":"# amp-samples\n\nBoilerplate for adding embedded samples in AMP docs. Based on [How to: Include embedded samples in AMP docs](https://github.com/ampproject/docs/blob/master/contributing/adding-embedded-samples-in-docs.md) by [Barb Paduch](https://github.com/bpaduch).\n\n**WARNING:** A new method exists. Update coming soon!\n\n## Features\n\n- Auto-deploys built products to gh-pages with Travis\n- Deploys from branch specified in config\n\n## Instructions \n\n1. Fork this repo\n1. Create a new branch for your component's samples\n1. Sign up for Travis and add your repository\n1. Run `ssh-keygen -t rsa -b 4096 -C \"your_email@example.com\"`\n1. For the first dialogue of this command enter: `./deploy_key`\n1. For the second dialogue of this command press enter (leave blank)\n1. Add the contents of `deploy_key.pub` to your repository at `https://github.com/\u003cusername\u003e/\u003crepo\u003e/settings/keys`\n1. Run `travis encrypt-file deploy_key`\n1. Copy the encryption label (i.e for `$encrypted_0a6446eb3ae3_key`, it would be `0a6446eb3ae3`)\n1. Manually define the `ENCRYPTION_LABEL` and `COMMIT_AUTHOR_EMAIL` variables in the Travis Repository Settings\n1. Manually edit the `branchName` and `host` variables in the `/tasks/config.js` file\n1. Add your samples to the `/samples/src/` directory\n1. Commit and push\n1. Allow the Travis build to complete\n1. View live samples at https://username.github.io/amp-samples/samples/ampcomponent.basic-sample.preview.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereknongeneric%2Famp-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdereknongeneric%2Famp-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereknongeneric%2Famp-samples/lists"}