hello world, again

This commit is contained in:
taskylizard 2024-08-07 12:23:35 +00:00
commit f479740dd1
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
133 changed files with 32895 additions and 0 deletions

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discord
url: https://discord.gg/Stz6y6NgNg
about: You can ask general questions here.

40
.github/ISSUE_TEMPLATE/wiki.yml vendored Normal file
View file

@ -0,0 +1,40 @@
name: Create Issue
description: 'Help us improve FMHY for everyone'
title: '<title>'
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue! Please select your issue type.
- type: markdown
attributes:
value: |
### Things to note
* Anyone can suggest [changes or corrections](https://rentry.org/fmhyedit) to the wiki. Please read our [Contribution Guide](https://rentry.co/Contrib-Guide) before trying to add or remove anything.
* If you're adding a new site, please [search](https://raw.githubusercontent.com/fmhy/FMHYedit/main/single-page) (control + f) first to make sure we don't already have it.
* Approved changes will be applied to the [site](https://fmhy.net) and all [🔒 backups](https://github.com/fmhy/FMHY/wiki/Backups).
* You can send us stuff directly via [💬 Discord](https://discord.gg/5W9QJKuPkD).
* You can also check out our [website](https://fmhy.net) and the [posts](https://fmhy.net/posts) section to know about any major updates to the wiki.
- type: dropdown
id: type
attributes:
label: Type
description: Type that best describes this issue.
options:
- Bad sites
- Grammar / Markdown
- Site suggestion
- Wiki section suggestion
default: 0
validations:
required: true
- type: textarea
id: context
attributes:
label: Add additional context
description:
A clear and concise description of what the issue is, as per your
selected issue type.
placeholder: https://fmhy.net is cool and should be added
validations:
required: true

53
.github/POST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,53 @@
### Post Template
> [!NOTE]
> This is a template for creating a post for the freemediaheckyeah blog, and is meant for **collaborators** only.
Notes:
- The title should be a short, descriptive title.
- The date should be in the format `YYYY-MM-DD`.
- The filename should be in the format `month-year.md`.
- The description should be a short, descriptive description of the post.
- Authors should be in the format `['username', ....]`
- The ending shouldn't have a line break (`---`/`***`).
- Links to the website should be turned into relative links, i.e. `[Text Tools](https://fmhy.net/text-tools)` -> `[Text Tools](/text-tools)`.
Template:
```
---
title: Monthly Updates [Month]
description: Month 20YY updates
date: 20YY-MM-DD
next: false
aside: left
prev: false
sidebar: false
footer: true
---
<Post authors="['nbats']"/>
:::info
These update threads only contains major updates. If you're interested
in seeing all minor changes you can follow our
[Commits Page](https://github.com/fmhy/FMHYedit/commits/main) on GitHub or
[Updates Channel](https://redd.it/17f8msf) in Discord.
:::
### Wiki Updates
....
---
### Stars Added ⭐
....
---
### Things Removed
....
```

22
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,22 @@
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
## Types of changes
<!--- What types of changes does your Pull Request introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bad / Deleted sites removal
- [ ] Grammar / Markdown fixes
- [ ] Content addition (sites, projects, tools, etc.)
- [ ] New Wiki section
## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply to this Pull Request. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I have read the [contribution guide](https://rentry.co/Contrib-Guide).
- [ ] I have made sure to [search](https://feedback.tasky.workers.dev/single-page) before making any changes.
- [ ] My code follows the code style of this project.

38
.github/README.md vendored Normal file
View file

@ -0,0 +1,38 @@
# FMHYedit
![FMHY Banner](https://external-preview.redd.it/new-fmhy-website-v0-siM0tvJb685u2tZSfXkrpRANBH2IrPuVPDYmNA5Mkv0.jpg?auto=webp&s=a3185c2493e1c4da71863362f10b03c57e232974)
**The largest collection of free stuff on the internet!**
## 📖 Wiki
- Website: [fmhy.net](https://fmhy.net)
- News & Monthly Updates: [fmhy.net/posts](https://fmhy.net/posts)
- Backups: https://github.com/fmhy/FMHY/wiki/Backups
## 📝 Contribute
We invite you to contribute and help improve the wiki! 💙
Here are a few ways you can get involved:
* Anyone can suggest changes or corrections to the wiki. Please read our [contribution guide](../CONTRIBUTING.md) before trying to add or remove anything.
* If you're adding a new site, please [search](https://api.fmhy.net/single-page) (control + f) first to make sure we don't already have it.
* Approved changes will be applied to the [site](https://fmhy.net) and all [🔒 backups](https://github.com/fmhy/FMHY/wiki/Backups).
* You can send us stuff directly via [💬 Discord](https://discord.gg/5W9QJKuPkD).
* To help us find new sites, check out these lists: [site hunting](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/find-new-sites/) / [go through](https://rentry.org/oghty).
***
Emoji Legend:
* 🌐 - 3rd Party Indexes
* ↪️ - Storage Page Links
* ⭐ - Community Recommendations
## 👋 Follow
<p valign="center">
<a href="https://discord.gg/Stz6y6NgNg"><img width="20px" src="./assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://github.com/fmhy"><img width="20px" src="./assets/github.svg" alt="GitHub"></a>&nbsp;&nbsp;<a href="https://social.fmhy.net/@fmhy"><img width="20px" src="./assets/firefish.svg" alt="Firefish"></a>
</p>

1
.github/assets/discord.svg vendored Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#A1A1AA" d="M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.09.09 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.09 16.09 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02zM8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12zm6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12z"/></svg>

After

Width:  |  Height:  |  Size: 1 KiB

1
.github/assets/firefish.svg vendored Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path fill="#A1A1AA" d="M16.771 0c-.68-.016-1.342.507-1.342 1.304V7.27a1.3 1.3 0 0 0 1.3 1.301h5.967c1.16 0 1.74-1.401.92-2.22L17.65.383A1.275 1.275 0 0 0 16.771 0M6.573.106c-.672-.017-1.326.5-1.326 1.287v5.892c0 .71.575 1.285 1.285 1.285h5.892c1.145 0 1.718-1.384.908-2.194L7.44.484a1.259 1.259 0 0 0-.867-.379ZM1.286 10.287c-.71 0-1.286.576-1.286 1.286v11.142C0 23.425.576 24 1.286 24h11.143c.71 0 1.285-.575 1.285-1.285V11.573c0-.71-.575-1.286-1.285-1.286zm15.485 0c-.68-.017-1.342.507-1.342 1.304v5.966a1.3 1.3 0 0 0 1.3 1.3h5.967c1.16 0 1.74-1.4.92-2.22L17.65 10.67a1.275 1.275 0 0 0-.879-.384zM3.43 17.144a1.714 1.714 0 1 1 0 3.428a1.714 1.714 0 0 1 0-3.428m4.285 0a1.714 1.714 0 1 1 0 3.428a1.714 1.714 0 0 1 0-3.428"/></svg>

After

Width:  |  Height:  |  Size: 816 B

1
.github/assets/github.svg vendored Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#A1A1AA" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"/></svg>

After

Width:  |  Height:  |  Size: 682 B

7
.github/labeler.yml vendored Normal file
View file

@ -0,0 +1,7 @@
# See https://github.com/actions/labeler
docs:
- '**/*.md'
core:
- '.vitepress/**'

45
.github/workflows/deploy-api.yml vendored Normal file
View file

@ -0,0 +1,45 @@
name: Deploy API
on:
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
ci:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 6
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm api:build
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
NITRO_PRESET: cloudflare
- name: Publish to Cloudflare
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
vars: WEBHOOK_URL
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}

54
.github/workflows/deploy-gh-pages.yml vendored Normal file
View file

@ -0,0 +1,54 @@
name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: pnpm/action-setup@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: pnpm install
- name: Build with VitePress
run: |
pnpm docs:build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: docs/.vitepress/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

49
.github/workflows/labeler.yml vendored Normal file
View file

@ -0,0 +1,49 @@
name: 'Pull Request Housekeeping'
on: [pull_request_target]
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Label PRs
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
auto-assign:
runs-on: ubuntu-latest
needs: triage
steps:
- name: Check if PR has 'core' label
id: check_label
uses: actions/github-script@v6
with:
script: |
const prNumber = context.payload.pull_request.number;
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
});
const hasCoreLabel = labels.some(label => label.name === 'core');
return hasCoreLabel;
- name: Auto-assign to PR
if: steps.check_label.outputs.result == 'true'
uses: actions/github-script@v6
with:
script: |
const prNumber = context.payload.pull_request.number;
await github.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
assignees: ['taskylizard'],
});