Skip to content

Commit 7616a3d

Browse files
author
Jeidnx
committed
merge master into oidc
2 parents f8fc281 + 0535e1d commit 7616a3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+4757
-2590
lines changed

.eslintrc.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: ["plugin:vue/vue3-recommended", "eslint:recommended", "@unocss", "plugin:prettier/recommended"],
7+
};

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Setup pnpm
1313
uses: pnpm/action-setup@v2
1414
with:
@@ -19,4 +19,8 @@ jobs:
1919
cache: "pnpm"
2020
- run: pnpm install
2121
- run: pnpm build
22+
- uses: actions/upload-artifact@v3
23+
with:
24+
name: build
25+
path: dist
2226
- run: pnpm lint --no-fix

.github/workflows/codeql.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ 'master' ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ 'master' ]
9+
schedule:
10+
- cron: '42 11 * * 4'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: [ 'javascript' ]
25+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
26+
# Use only 'java' to analyze code written in Java, Kotlin or both
27+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
28+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
29+
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
34+
# Initializes the CodeQL tools for scanning.
35+
- name: Initialize CodeQL
36+
uses: github/codeql-action/init@v2
37+
with:
38+
languages: ${{ matrix.language }}
39+
# If you wish to specify custom queries, you can do so here or in a config file.
40+
# By default, queries listed here will override any specified in a config file.
41+
# Prefix the list here with "+" to use these queries and those in the config file.
42+
43+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
44+
# queries: security-extended,security-and-quality
45+
46+
47+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
48+
# If this step fails, then you should remove it and run the build manually (see below)
49+
- name: Autobuild
50+
uses: github/codeql-action/autobuild@v2
51+
52+
# ℹ️ Command-line programs to run using the OS shell.
53+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
54+
55+
# If the Autobuild fails above, remove it and uncomment the following three lines.
56+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
57+
58+
# - run: |
59+
# echo "Run, Build Application using script"
60+
# ./location_of_script_within_repo/buildscript.sh
61+
62+
- name: Perform CodeQL Analysis
63+
uses: github/codeql-action/analyze@v2
64+
with:
65+
category: "/language:${{matrix.language}}"

.github/workflows/deploy-azure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
name: Build and Deploy Job
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
submodules: true
1717
- name: Build And Deploy

.github/workflows/docker-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-docker-image:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Setup pnpm
1616
uses: pnpm/action-setup@v2
1717
with:
@@ -23,21 +23,21 @@ jobs:
2323
- run: pnpm install
2424
- run: pnpm build && ./localizefonts.sh && mv dist/ dist-ci/
2525
- name: Set up QEMU
26-
uses: docker/setup-qemu-action@v2
26+
uses: docker/setup-qemu-action@v3
2727
with:
2828
platforms: all
2929
- name: Set up Docker Buildx
3030
id: buildx
31-
uses: docker/setup-buildx-action@v2
31+
uses: docker/setup-buildx-action@v3
3232
with:
3333
version: latest
3434
- name: Login to DockerHub
35-
uses: docker/login-action@v2
35+
uses: docker/login-action@v3
3636
with:
3737
username: ${{ secrets.DOCKER_USERNAME }}
3838
password: ${{ secrets.DOCKER_PASSWORD }}
3939
- name: Build and push
40-
uses: docker/build-push-action@v4
40+
uses: docker/build-push-action@v5
4141
with:
4242
context: .
4343
file: ./Dockerfile.ci

.github/workflows/ipfs-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Setup pnpm
1616
uses: pnpm/action-setup@v2
1717
with:

.github/workflows/reviewdog.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: reviewdog
2+
on: [pull_request]
3+
jobs:
4+
eslint:
5+
name: runner / eslint
6+
runs-on: ubuntu-latest
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Setup pnpm
13+
uses: pnpm/action-setup@v2
14+
with:
15+
version: latest
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
cache: "pnpm"
20+
- run: pnpm install
21+
- uses: reviewdog/action-eslint@v1
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
reporter: github-pr-review
25+
eslint_flags: "--ignore-path .gitignore --ext .js,.vue ."

.github/workflows/weblate-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
merge:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- name: Check if en.json has been updated
1313
run: |
1414
if -n git diff ${{ github.event.pull_request.base.sha }}..${{ github.sha }} src/locales/en.json; then

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![AGPL v3](https://shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0.en.html)
44
[![Matrix](https://img.shields.io/matrix/piped:matrix.org)](https://matrix.to/#/#piped:matrix.org)
5+
[![Lemmy](https://img.shields.io/lemmy/piped%40feddit.rocks)](https://feddit.rocks/c/piped)
56
[![Registered Users](https://pipedapi.kavin.rocks/registered/badge)](https://piped.video/register)
67
[![IPFS Build](https://github.com/TeamPiped/Piped/actions/workflows/ipfs-build.yml/badge.svg)](https://piped-ipfs.kavin.rocks/)
78
[![GitHub Repo stars](https://img.shields.io/github/stars/TeamPiped/Piped-Frontend?style=social)](https://github.com/TeamPiped/Piped/stargazers)
@@ -61,6 +62,10 @@ By using Piped, you can freely watch and listen to content without the fear of p
6162
- You can join us via Matrix at [#piped](https://matrix.to/#/#piped:matrix.org).
6263
- You can also join us at the libera.chat IRC network which is bridged to the Matrix room at [#piped](https://web.libera.chat/#piped).
6364

65+
## Public Communities
66+
67+
- You can join us on Lemmy on the [![email protected]](https://feddit.rocks/c/piped) community.
68+
6469
## Self-Hosting
6570

6671
See https://docs.piped.video/docs/self-hosting/ for more details.
@@ -140,12 +145,15 @@ Contributions in any other form are also welcomed.
140145

141146
- [Yattee](https://github.com/yattee/yattee) - an alternative frontend for YouTube, for IOS.
142147
- [LibreTube](https://github.com/Libre-tube/LibreTube) - an alternative frontend for YouTube, for Android.
148+
- [Racoon](https://github.com/shailendramaurya/racoon) - A web based minimal YouTube downloader.
143149
- [Hyperpipe](https://codeberg.org/Hyperpipe/Hyperpipe) - an alternative privacy respecting frontend for YouTube Music.
144150
- [Musicale](https://github.com/Bellisario/musicale) - an alternative to YouTube Music, with style.
145151
- [ytify](https://github.com/n-ce/ytify) - a complementary minimal audio streaming frontend for YouTube.
146152
- [PsTube](https://github.com/prateekmedia/pstube) - Watch and download videos without ads on Android, Linux, Windows, iOS, and Mac OSX.
147153
- [Piped-Material](https://github.com/mmjee/Piped-Material) - A fork of Piped, focusing on better performance and a more usable design.
148154
- [ReacTube](https://github.com/NeeRaj-2401/ReacTube) - Privacy friendly & distraction free Youtube front-end using Piped API.
155+
- [YTDLnis](https://github.com/deniscerri/ytdlnis) - Video and audio downloader for Android that uses Piped to update formats.
156+
- [DeskVideo](https://github.com/malisipi/DeskVideo) - A desktop styled, customizable alternative front-end for YouTube.
149157

150158
## YourKit
151159

localizefonts.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/sh
22

33
base='https://fonts\.(gstatic\.com|kavin\.rocks)'
4-
fonts=$(cat dist/assets/* | grep -Po "$base[^)]*" | sort | uniq)
4+
fonts=$(cat dist/assets/* | grep -Eo "${base}[^)]*" | sort | uniq)
5+
56
for font in $fonts; do
67
file="dist/fonts$(echo "$font" | sed -E "s#$base##")"
78
mkdir -p "$(dirname "$file")"

0 commit comments

Comments
 (0)