Skip to content

Commit

Permalink
playwright initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
nathfavour committed Apr 11, 2024
1 parent b4917ce commit 27908ea
Show file tree
Hide file tree
Showing 24 changed files with 1,676 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/node_modules/
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/automations.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions google/youtube/flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
VIDEO UPLOADER PIPELINE

1. open a browsr
2. login to google on a tab
3. login to youtube on another tab
4. go to youtube studio
5. take the youtube video from the video generator pipeline
6. post the video on youtube

VIDEO GENERATOR PIPELINE

1. take a text, audio, video prompt
2. make use of the chrome automation to search for related content to it
3. generate a video from the text, audio, video prompt with the video engine
4. store that video in a place that the youtube uploader can access

VIDEO ENGINE

1. Use ffmpeg, etc to create video from text, audio, images, etc
2. get copyright free text, video, audio, and images from the internet
3. use a small rust brain to understand the kind of video to create from the prompt


259 changes: 259 additions & 0 deletions google/youtube/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions google/youtube/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "youtube",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"playwright": "^1.43.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit 27908ea

Please sign in to comment.