Skip to content

Commit 08757d0

Browse files
authored
v3.1.0
2 parents 258303f + b4f68fd commit 08757d0

8 files changed

Lines changed: 116 additions & 66 deletions

File tree

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Dependabot auto-approve
2+
on: pull_request_target
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@v1
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
19+
- name: Enable auto-merge for Dependabot PRs for specific dependencies
20+
if: ${{ contains(steps.metadata.outputs.dependency-names, '@distube/ytdl-core') || contains(steps.metadata.outputs.dependency-names, '@distube/ytsr') }}
21+
run: gh pr merge --auto --merge "$PR_URL"
22+
env:
23+
PR_URL: ${{github.event.pull_request.html_url}}
24+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Trigger Release After Dependabot Merge
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
branches:
7+
- master
8+
9+
jobs:
10+
trigger_release:
11+
if: github.event.pull_request.merged == true && github.actor == 'dependabot[bot]' && contains(github.event.pull_request.title, '@distube/')
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
17+
- name: Wait for other workflows
18+
run: sleep 30
19+
20+
- name: Trigger release workflow
21+
uses: peter-evans/repository-dispatch@v2
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
event-type: trigger-release
25+
client-payload: '{"source": "dependabot-auto-merge"}'

.github/workflows/deploy_version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- prod
77
workflow_dispatch:
8+
repository_dispatch:
9+
types: [trigger-release]
810

911
jobs:
1012
create_tag:

app/layout.tsx

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ export const metadata: Metadata = {
3232
publisher: "StroyCo",
3333
openGraph: {
3434
title: "StroyGetter",
35-
siteName: "StroyGetter - Download any youtube video for free !",
36-
description: "Download any youtube video for free in any resolution",
35+
siteName: "StroyGetter - Download any video for free !",
36+
description: "Download any video for free in any resolution",
3737
url: "https://stroygetter.stroyco.eu/",
3838
images: "/og-image.png",
3939
},
4040
twitter: {
41-
title: "StroyGetter - Download any youtube video for free !",
41+
title: "StroyGetter - Download any video for free !",
4242
description:
4343
"No ads. Unlimited downloads. Download videos at max quality (available) for free and without software !",
4444
site: "@ADSantoine",
@@ -86,17 +86,9 @@ export default function RootLayout({
8686
<div className="w-full lg:w-1/2">
8787
<h2 className="my-2 text-xl">What is StroyGetter ?</h2>
8888
<p>
89-
StroyGetter is a{" "}
90-
<a
91-
href="https://www.youtube.com/"
92-
target="_blank"
93-
rel="noreferrer noopener"
94-
>
95-
Youtube
96-
</a>{" "}
97-
downloader, so you can download almost any video{" "}
98-
<span className="italic">(of your own)</span> in any available
99-
quality.
89+
StroyGetter is a video downloader, so you can download almost
90+
any video <span className="italic">(of your own)</span> in any
91+
available quality.
10092
<br />
10193
Audio-only conversion is also available.
10294
</p>

components/custom/GetterInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const GetterInput = () => {
5959
<div className="relative my-4 w-full">
6060
<input
6161
type="text"
62-
placeholder="https://www.youtube.com/watch?v= - https://youtu.be/ - keywords"
62+
placeholder="Please enter a instagram, tiktok, youtube... video URL"
6363
id="video-url"
6464
name="video-url"
6565
className="block w-full rounded-md border border-[#081721] bg-[#081721] p-2.5 text-white focus:border-blue-500 focus:ring-blue-500"

package-lock.json

Lines changed: 49 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stroygetter",
3-
"version": "3.1.0-beta.4",
3+
"version": "3.1.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -11,7 +11,7 @@
1111
"db:deploy": "npx prisma migrate deploy && npx prisma generate"
1212
},
1313
"dependencies": {
14-
"@distube/ytdl-core": "^4.16.0",
14+
"@distube/ytdl-core": "^4.16.6",
1515
"@distube/ytsr": "^2.0.4",
1616
"@ffmpeg-installer/ffmpeg": "^1.1.0",
1717
"@icons-pack/react-simple-icons": "^10.2.0",

0 commit comments

Comments
 (0)