Skip to content

Commit

Permalink
Merge pull request #10 from biplobsd/update-2024
Browse files Browse the repository at this point in the history
Update 2024
  • Loading branch information
biplobsd authored Apr 27, 2024
2 parents 9ce7d7e + 27be853 commit afcb826
Show file tree
Hide file tree
Showing 56 changed files with 2,823 additions and 1,860 deletions.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-tailwindcss"]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
"crxjs",
"daisyui",
"EXPENDEDABLE",
"lucide",
"nocheck",
"pino",
"pngs",
"rawcwe",
"smartimation",
"splide",
"splidejs",
"tailwindcss",
"Typecheck",
"UNSUB",
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ $ npm run build
2. Enable Developer Mode by clicking the toggle switch next to `Developer mode`.
3. Click the `LOAD UNPACKED` button and select the `/dist` directory.

![Example](https://wd.imgix.net/image/BhuKGJaIeLNPW9ehns59NfwqKxF2/vOu7iPbaapkALed96rzN.png?auto=format&w=571)
![Example](https://github.com/biplobsd/yst/assets/43641536/e539bb9c-3a1e-45fd-a82f-e7492d499ae4)

## Setting Up Your Own YouTube Data API

### Requirements
- Extension ID (You can find this after building and importing it to the browser extensions tab).
- Extension ID <br>![Extension ID on about page](https://github.com/biplobsd/yst/assets/43641536/7a5dfe56-0b2f-48a3-ad38-2ad1d7353dda) <br> You can find on `About page>ID:` or after building and importing it to the browser extensions tab.

First, you need to obtain a client ID and API key from the Google Console. Create a project in the Google Cloud Console by visiting https://console.cloud.google.com/projectcreate. Name the project as `YST extension` and then click `Create.` Next, enable the YouTube Data API v3 by going to https://console.cloud.google.com/apis/library/youtube.googleapis.com?project=yst-extension and click the `Enable` button.

Expand Down Expand Up @@ -216,7 +216,9 @@ First, select API key. A popup will display with your API key; note it down.

Now, click on the "CREATE CREDENTIALS" button again and select OAuth client ID.

> **_NOTE:_** `<EXTENSION_ID>` is your Extension ID, which you can find after building and importing it from the browser extensions tab.
> ![Extension ID on about page](https://github.com/biplobsd/yst/assets/43641536/7a5dfe56-0b2f-48a3-ad38-2ad1d7353dda) <br>
> **_NOTE:_** `<EXTENSION_ID>` is your Extension ID, which you can find on `About page>ID:` or after building and importing it from the browser extensions tab.

Configure the following:
- Application type as `Web application`
Expand All @@ -228,6 +230,16 @@ Click `Create,` and a popup will appear with your OAuth client credentials. Note

### Setting Google API Credentials

Now we have the `API KEY` and `Client_ID`. Here we have two ways to set up these keys. Recommended and easy way is on the setting page.

#### On Setting page

![Google API Console Keys](https://github.com/biplobsd/yst/assets/43641536/f4acdf32-7ff9-4258-85af-ebf389d1e89e)

Click on the settings tab and below you will find the `Google API Console Keys` section. Fill out your two keys carefully.

#### On build step

![.env.local file](https://github.com/biplobsd/yst/assets/43641536/34a95d7a-123e-47a0-b330-6d3f9fef91f4)

Now, create a `.env.local` file in the root directory and set your client ID and API key.
Expand Down
4 changes: 3 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "Youtube Subscriptions Transfer",
"description": "Transferring subscriptions from one YouTube account to another",
"version": "1.6",
"version": "1.7",
"author": "[email protected]",
"homepage_url": "https://biplobsd.github.io/apps/view/yst.md",
"manifest_version": 3,
"icons": {
"16": "src/assets/icons/icon16.png",
Expand Down
Loading

0 comments on commit afcb826

Please sign in to comment.