https://github.com/youversion/yvp-javascript-sdk
https://github.com/youversion/yvp-javascript-sdk
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/youversion/yvp-javascript-sdk
- Owner: youversion
- License: other
- Created: 2025-07-01T20:31:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-09T16:21:10.000Z (about 1 year ago)
- Last Synced: 2025-07-09T16:35:59.764Z (about 1 year ago)
- Language: JavaScript
- Size: 42 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# YouVersion Platform JavaScript SDK
> [!NOTE]
> This repository of software is provided exclusively for participants of the “Building the YouVersion Platform Hackathon” during the above dates (the “hackathon”).
> 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.
> All content remains the exclusive property of YouVersion and is protected by applicable copyright and intellectual property laws. YouVersion reserves all of its rights.
A lightweight JavaScript SDK for integrating YouVersion Platform features into web applications.
## Features
- **Bible Text**: Display Bible verses with version support
- **Verse of the Day**: Show the daily verse
- **Login**: YouVersion OAuth login functionality
## Installation
### Via CDN
```html
```
## Usage
### Add App ID
Get your App ID from your friendly neighborhood YouVersion Platform representative.
Later, of course, we will have a public website for this.
The App ID is not a secret and can be exposed in your code.
Add the App ID to your page either on the body element or in a script tag:
```html
```
### Display a Bible verse
```html
```
Or for a range:
```html
```
### Display the Verse of the Day
```html
```
### Add a Login Button
```html
```
## Development
1. Install dependencies:
```bash
npm install
```
2. Build the SDK:
```bash
npm run build
```
3. Deploy to GCP (requires gcloud CLI and permissions):
```bash
chmod +x deploy.sh
./deploy.sh
```