Skip to content

Commit a834332

Browse files
author
doong
committed
first commit
0 parents  commit a834332

6 files changed

Lines changed: 98 additions & 0 deletions

File tree

.github/FUNDING.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# These are supported funding model platforms
2+
github: tinyhref
3+
ko_fi: tinyhref
4+
buy_me_a_coffee: tinyhref
5+
custom: ['https://paypal.me/tinyhref']
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Update README from URL
2+
3+
on:
4+
schedule:
5+
# - cron: '0 17 * * *' # 0h (GMT+7)
6+
# - cron: '0 5 * * *' # 12h (GMT+7)
7+
- cron: '0 17,20,23,2,5,8,11,14 * * *' # Runs every 3 hours in GMT+7
8+
9+
jobs:
10+
update-readme:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
fetch-depth: 0
19+
ref: main
20+
21+
- name: Fetch data from URL
22+
run: |
23+
curl -s https://tinyhref.com/launch/alternative/javascript/readme -o README.md
24+
25+
- name: Pull latest changes safely
26+
run: |
27+
if ! git diff --quiet; then
28+
git stash
29+
git pull --rebase origin main
30+
git stash pop || true
31+
else
32+
git pull --rebase origin main
33+
fi
34+
35+
- name: Commit & Push Changes
36+
run: |
37+
git config --global user.name "github-actions[bot]"
38+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
39+
git add README.md
40+
git commit -m "🤖 auto-update" || exit 0
41+
git push --force origin main

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.idea/
2+
node_modules/
3+
yarn.lock
4+
yarn-error.log
5+
package-lock.json
6+
build/
7+
dist/
8+
bin/
9+
log/

README.md

Whitespace-only changes.

license

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 TinyHref
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "javascript-alternatives",
3+
"version": "0.0.0",
4+
"description": "A curated collection of the best alternatives to JavaScript from tinyhref.com",
5+
"keywords": [
6+
"javascript-alternatives",
7+
"alternative",
8+
"awesome",
9+
"lists",
10+
"tinyhref",
11+
"javascript"
12+
],
13+
"license": "MIT",
14+
"author": {
15+
"name": "tinyhref.com",
16+
"website": "https://tinyhref.com"
17+
},
18+
"repository": {
19+
"type": "git",
20+
"url": "https://github.com/tinyhref/javascript-alternatives"
21+
}
22+
}

0 commit comments

Comments
 (0)