{"id":29373386,"url":"https://github.com/youversion/yvp-javascript-sdk","last_synced_at":"2025-07-09T18:17:35.609Z","repository":{"id":303822957,"uuid":"1012107890","full_name":"youversion/yvp-javascript-sdk","owner":"youversion","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-09T16:21:10.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T16:35:59.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/youversion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-07-01T20:31:02.000Z","updated_at":"2025-07-09T16:21:14.000Z","dependencies_parsed_at":"2025-07-09T16:49:09.906Z","dependency_job_id":null,"html_url":"https://github.com/youversion/yvp-javascript-sdk","commit_stats":null,"previous_names":["youversion/yvp-javascript-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/youversion/yvp-javascript-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youversion%2Fyvp-javascript-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youversion%2Fyvp-javascript-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youversion%2Fyvp-javascript-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youversion%2Fyvp-javascript-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youversion","download_url":"https://codeload.github.com/youversion/yvp-javascript-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youversion%2Fyvp-javascript-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502358,"owners_count":23618579,"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-07-09T18:17:34.559Z","updated_at":"2025-07-09T18:17:35.585Z","avatar_url":"https://github.com/youversion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouVersion Platform JavaScript SDK\n\n\u003e [!NOTE]\n\u003e This repository of software is provided exclusively for participants of the “Building the YouVersion Platform Hackathon” during the above dates (the “hackathon”).\n\u003e It is provided solely for internal experimentation and prototyping during and as a part of the hackathon. No other rights are granted to use, copy, modify, distribute, or sublicense this repository of software or any derivatives thereof.\n\u003e All content remains the exclusive property of YouVersion and is protected by applicable copyright and intellectual property laws. YouVersion reserves all of its rights.\n\nA lightweight JavaScript SDK for integrating YouVersion Platform features into web applications.\n\n## Features\n\n- **Bible Text**: Display Bible verses with version support\n- **Verse of the Day**: Show the daily verse\n- **Login**: YouVersion OAuth login functionality\n\n## Installation\n\n### Via CDN\n\n```html\n\u003cscript type=\"module\" src=\"https://api-dev.youversion.com/sdk.js\"\u003e\u003c/script\u003e\n```\n\n\u003c!-- ### Via NPM (coming soon)\n\n```bash\nnpm install @youversion/yvp-javascript-sdk\n``` --\u003e\n\n## Usage\n\n### Add App ID\n\nGet your App ID from your friendly neighborhood YouVersion Platform representative.\nLater, of course, we will have a public website for this.\n\nThe App ID is not a secret and can be exposed in your code.\n\nAdd the App ID to your page either on the body element or in a script tag:\n\n```html\n\u003cbody data-youversion-platform-app-id='YOUR_APP_ID'\u003e\n```\n\n\n### Display a Bible verse\n\n```html\n\u003cbible-text usfm=\"JHN.3.16\" version=\"111\"\u003e\u003c/bible-text\u003e\n```\n\nOr for a range:\n\n```html\n\u003cbible-text usfm=\"JHN.3.16-JHN.3.17\" version=\"111\"\u003e\u003c/bible-text\u003e\n```\n\n### Display the Verse of the Day\n\n```html\n\u003cvotd-text version=\"111\"\u003e\u003c/votd-text\u003e\n```\n\n### Add a Login Button\n\n```html\n\u003cyouversion-login-button\u003e\u003c/youversion-login-button\u003e\n```\n\n## Development\n\n1. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n2. Build the SDK:\n   ```bash\n   npm run build\n   ```\n\n3. Deploy to GCP (requires gcloud CLI and permissions):\n   ```bash\n   chmod +x deploy.sh\n   ./deploy.sh\n   ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouversion%2Fyvp-javascript-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyouversion%2Fyvp-javascript-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouversion%2Fyvp-javascript-sdk/lists"}