Skip to content

Commit

Permalink
add downloads page updater into github profile structure (#1)
Browse files Browse the repository at this point in the history
* add downloads page updater into github profile structure

* Automated update

* add resources

* add gitignore

* add gitignore

* update resource path

* Automated update

* add tests to build and update cover page path

* Automated update

* Update release notes to current

* Automated update

---------

Co-authored-by: jay-418 <[email protected]>
  • Loading branch information
jay-418 and jay-418 authored Jun 10, 2024
1 parent 797f5c1 commit 745322f
Show file tree
Hide file tree
Showing 38 changed files with 1,540 additions and 2 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Update pages

on:
workflow_dispatch:
push:
paths:
- 'updater/**'
branches: [ main, jay/migrate-dl-page ]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: false

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'updater/go.mod'
cache-dependency-path: 'updater/go.sum'

- name: Test Go
run: go test ./...
working-directory: updater

- name: Build Go
run: go build
working-directory: updater

- name: Update files
run: ./updater
working-directory: updater

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automated update"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/updater/updater
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
# .github
Displays a public GitHub organization profile page based on [./profile/README.md](https://github.com/getlantern/.github/profile/README.md).

Private profile is set by [.github-private](https://github.com/getlantern/.github-private) repo.
## structure
```
.
├── README.md // this document
├── profile // public profile pages are listed here
├── resources // static assets (images, icons, etc.)
└── updater // app and source info for updating public links and pages
├── README.md // instructions and maintenance info for the updater
├── links.yml // social media links
├── releases.yml // release notes
├── outputs // outputs for external use, like helpdesk footers
├── templates // go templates for building outputs and profile pages
├── translations // internationalization and common text
├── main.go // application that updates READMEs and footers
├── main_test.go // tests for the application
├── go.mod // application support files
└── go.sum // application support files
```

## Making Updates
Read the [instructions](./updater/README.md) for the updater. Any changes to source information should automatically trigger an update using a GitHub action.
116 changes: 116 additions & 0 deletions profile/README.ar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# أداةلانترن
[![en](../resources/English.svg)](README.md)
[![zh](../resources/Chinese.svg)](README.zh.md)
[![ru](../resources/Russian.svg)](README.ru.md)
[![ar](../resources/Arabic.svg)](README.ar.md)
[![fa](../resources/Farsi.svg)](README.fa.md)
---
أداة التحايل على الرقابة متاحة للتنزيل على أي نظام تشغيل

![cover page](../resources/cover_page.png)

## تنزيلات
<table>
<tr>
<th></th>
<th>مستقر</th>
<th>متجر التطبيقات</th>
<th>إصدار تجريبي &#34;بيتا&#34;</th>
</tr>
<tr>
<th>نظام التشغيل Windows </th>
<td>
<a href="https://gitlab.com/getlantern/lantern-binaries-mirror/-/raw/master/lantern-installer.exe">Windows 10&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer.exe">Windows 10&#43;</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer.exe">Windows 10&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-win7.exe">Windows 7</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview.exe">Windows 10&#43;</a>
</td>
</tr>
<tr>
<th>نظام Android</th>
<td>
<a href="https://gitlab.com/getlantern/lantern-binaries-mirror/-/raw/master/lantern-installer.apk">Android 6&#43;</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer.apk">Android 6&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer.apk">Android 6&#43;</a>
</td>
<td>
<a href="https://play.google.com/store/apps/details?id=org.getlantern.lantern">Android 6&#43;</a>
</td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview.apk">Android 6&#43;</a>
</td>
</tr>
<tr>
<th>نظام التشغيل macOS</th>
<td>
<a href="https://gitlab.com/getlantern/lantern-binaries-mirror/-/raw/master/lantern-installer.dmg">macOS 10.13&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer.dmg">macOS 10.13&#43;</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer.dmg">macOS 10.13&#43;</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview.dmg">macOS 10.13&#43;</a>
</td>
</tr>
<tr>
<th>نظام iOS</th>
<td></td>
<td>
<a href="https://apps.apple.com/app/id1457872372?l">iOS 11&#43;</a>
</td>
<td></td>
</tr>
<tr>
<th>Linux (32-بت)</th>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-32-bit.deb">Ubuntu 14.04&#43; (32-بت)</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer-32-bit.deb">Ubuntu 14.04&#43; (32-بت)</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview-32-bit.deb">Ubuntu 14.04&#43; (32-بت)</a>
</td>
</tr>
<tr>
<th>Linux (64-بت)</th>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-64-bit.deb">Ubuntu 14.04&#43; (64-بت)</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer-64-bit.deb">Ubuntu 14.04&#43; (64-بت)</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview-64-bit.deb">Ubuntu 14.04&#43; (64-بت)</a>
</td>
</tr>
</table>

- 📱 إن كان متجر التطبيقات غير متاح في منطقتك، بإمكانك اتباع [هذه الخطوات](https://lantern.io/faq#use-2) لتنزيل أداة لانترن.
- 🔗 بالنسبة للإصدارات المستقرة، توجد روابط متعددة لاستضافة عمليات التكرار والاختيار.
- 🚀 جرب الإصدار الأولي &#34;التجريبي&#34;. في حين أن هذا الإصدار قد يكون غير مستقر، فإن التعليقات تساعد على التحسن. انضم إلى [منتدياتنا](#links) للمساهمة.

## روابط
- [موقع إلكتروني](https://lantern.io)
- [الأسئلة الأكثر شيوعًا](https://lantern.io/faq)
- منتدى مناقشات GitHub | [اَلْعَرَبِيَّةُ](https://github.com/getlantern/lantern-forum-uae/discussions) | [беларуская](https://github.com/getlantern/lantern-forum-belarus) | [English](https://github.com/getlantern/lantern-forum-en/discussions) | [فارسی](https://github.com/getlantern/lantern-forum-fa/discussions) | [русский](https://github.com/getlantern/lantern-forum-ru/discussions) | [українська](https://github.com/getlantern/lantern-forum-ukraine/discussions) | [中文](https://github.com/getlantern/lantern-forum-cn/discussions)
- إنستغرام | [اَلْعَرَبِيَّةُ](https://www.instagram.com/lanternio_uae/) | [беларуская](https://www.instagram.com/getlantern_belarus/) | [English](https://www.instagram.com/getlantern/) | [فارسی](https://www.instagram.com/getlantern_fa/) | [française](https://www.instagram.com/lanternio_guinea/) | [русский](https://www.instagram.com/lantern.io_ru) | [українська](https://www.instagram.com/getlantern_ua/) | [中文](https://www.instagram.com/lanternio_ch/)
- تليجرام | [اَلْعَرَبِيَّةُ](https://t.me/lantern_uae) | [беларуская](https://t.me/lantern_belarus) | [@lantern_official_bot](https://t.me/lantern_official_bot) | [فارسی](https://t.me/LanternFarsi) | [française](https://t.me/LanternGuinea) | [русский](https://t.me/lantern_russia) | [українська](https://t.me/lanternukraine) | [中文](https://t.me/lantern_china)
- تليجرام (مختبرو الإصدار التجريبي) | [اَلْعَرَبِيَّةُ](https://t.me/&#43;cUgbK1eqrrE0MDQx) | [беларуская](https://t.me/&#43;bRTww4oDsrsxY2Mx) | [فارسی](https://t.me/lanternbetaIR) | [française](https://t.me/&#43;_G9WGtSTXvs3ZDQx) | [русский](https://t.me/&#43;pLVA7H6MU_Y2N2Vi) | [українська](https://t.me/&#43;c_K4oFhv7NMzZjlh) | [中文](https://t.me/&#43;n3SfwL0Ho7w1ODgz)
- تويتر | [اَلْعَرَبِيَّةُ](https://twitter.com/getlantern_UAE) | [беларуская](https://twitter.com/LanternBelarus) | [English](https://twitter.com/getlantern) | [فارسی](https://twitter.com/getlantern_fa) | [française](https://twitter.com/getlantern_gu) | [русский](https://twitter.com/Lantern_Russia) | [українська](https://twitter.com/LanternUA) | [中文](https://twitter.com/getlantern_CN)

## Release Notes
### 7.8.7
- update UI elements
- fixed bug with translations in UI
- update circumvention library
### 7.8.6
- updated circumvention library
- update translations support
### 7.8.5
- fixed bug for pro plans selection
### 7.8.4
- minor optimizations and bug fixes

116 changes: 116 additions & 0 deletions profile/README.fa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# لنترن
[![en](../resources/English.svg)](README.md)
[![zh](../resources/Chinese.svg)](README.zh.md)
[![ru](../resources/Russian.svg)](README.ru.md)
[![ar](../resources/Arabic.svg)](README.ar.md)
[![fa](../resources/Farsi.svg)](README.fa.md)
---
ابزار دور زدن سانسور برای دانلود رایگان در هر سیستم عاملی در دسترس است

![cover page](../resources/cover_page.png)

## دانلودها
<table>
<tr>
<th></th>
<th>پایدار</th>
<th>اپ استور</th>
<th>بتا</th>
</tr>
<tr>
<th>ویندوز</th>
<td>
<a href="https://gitlab.com/getlantern/lantern-binaries-mirror/-/raw/master/lantern-installer.exe">Windows 10&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer.exe">Windows 10&#43;</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer.exe">Windows 10&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-win7.exe">Windows 7</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview.exe">Windows 10&#43;</a>
</td>
</tr>
<tr>
<th>اندروید</th>
<td>
<a href="https://gitlab.com/getlantern/lantern-binaries-mirror/-/raw/master/lantern-installer.apk">Android 6&#43;</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer.apk">Android 6&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer.apk">Android 6&#43;</a>
</td>
<td>
<a href="https://play.google.com/store/apps/details?id=org.getlantern.lantern">Android 6&#43;</a>
</td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview.apk">Android 6&#43;</a>
</td>
</tr>
<tr>
<th>macOS</th>
<td>
<a href="https://gitlab.com/getlantern/lantern-binaries-mirror/-/raw/master/lantern-installer.dmg">macOS 10.13&#43;</a> <br>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer.dmg">macOS 10.13&#43;</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer.dmg">macOS 10.13&#43;</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview.dmg">macOS 10.13&#43;</a>
</td>
</tr>
<tr>
<th>iOS</th>
<td></td>
<td>
<a href="https://apps.apple.com/app/id1457872372?l">iOS 11&#43;</a>
</td>
<td></td>
</tr>
<tr>
<th>Linux (32-bit)</th>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-32-bit.deb">Ubuntu 14.04&#43; (32-bit)</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer-32-bit.deb">Ubuntu 14.04&#43; (32-bit)</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview-32-bit.deb">Ubuntu 14.04&#43; (32-bit)</a>
</td>
</tr>
<tr>
<th>Linux (64-bit)</th>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-64-bit.deb">Ubuntu 14.04&#43; (64-bit)</a> <br>
<a href="https://s3.amazonaws.com/lantern/lantern-installer-64-bit.deb">Ubuntu 14.04&#43; (64-bit)</a>
</td>
<td></td>
<td>
<a href="https://github.com/getlantern/lantern-binaries/raw/main/lantern-installer-preview-64-bit.deb">Ubuntu 14.04&#43; (64-bit)</a>
</td>
</tr>
</table>

- 📱 اگر فروشگاه اپ در منطقه شما در دسترس نیست، شاید بتوانید با دنبال کردن [این مراحل](https://lantern.io/faq#use-2)، لنترن را دانلود کنید.
- 🔗 برای نسخه‌های پایدار، لینک‌های متعددی برای اطمینان از دسترسی و انتخاب وجود دارد.
- 🚀 نسخه آزمایشی &#34;بتا&#34; را امتحان کنید. اگرچه این نسخه ممکن است ناپایدار باشد، بازخوردها به بهبود آن کمک می‌کنند. برای مشارکت، به [forums](#links) ما بپیوندید.

## لینک‌ها
- [وب‌سایت](https://lantern.io)
- [سوالات متداول](https://lantern.io/faq)
- گفتگوهای گیت‌هاب | [اَلْعَرَبِيَّةُ](https://github.com/getlantern/lantern-forum-uae/discussions) | [беларуская](https://github.com/getlantern/lantern-forum-belarus) | [English](https://github.com/getlantern/lantern-forum-en/discussions) | [فارسی](https://github.com/getlantern/lantern-forum-fa/discussions) | [русский](https://github.com/getlantern/lantern-forum-ru/discussions) | [українська](https://github.com/getlantern/lantern-forum-ukraine/discussions) | [中文](https://github.com/getlantern/lantern-forum-cn/discussions)
- اینستاگرام | [اَلْعَرَبِيَّةُ](https://www.instagram.com/lanternio_uae/) | [беларуская](https://www.instagram.com/getlantern_belarus/) | [English](https://www.instagram.com/getlantern/) | [فارسی](https://www.instagram.com/getlantern_fa/) | [française](https://www.instagram.com/lanternio_guinea/) | [русский](https://www.instagram.com/lantern.io_ru) | [українська](https://www.instagram.com/getlantern_ua/) | [中文](https://www.instagram.com/lanternio_ch/)
- تلگرام | [اَلْعَرَبِيَّةُ](https://t.me/lantern_uae) | [беларуская](https://t.me/lantern_belarus) | [@lantern_official_bot](https://t.me/lantern_official_bot) | [فارسی](https://t.me/LanternFarsi) | [française](https://t.me/LanternGuinea) | [русский](https://t.me/lantern_russia) | [українська](https://t.me/lanternukraine) | [中文](https://t.me/lantern_china)
- تلگرام (بتا تسترها) | [اَلْعَرَبِيَّةُ](https://t.me/&#43;cUgbK1eqrrE0MDQx) | [беларуская](https://t.me/&#43;bRTww4oDsrsxY2Mx) | [فارسی](https://t.me/lanternbetaIR) | [française](https://t.me/&#43;_G9WGtSTXvs3ZDQx) | [русский](https://t.me/&#43;pLVA7H6MU_Y2N2Vi) | [українська](https://t.me/&#43;c_K4oFhv7NMzZjlh) | [中文](https://t.me/&#43;n3SfwL0Ho7w1ODgz)
- توییتر | [اَلْعَرَبِيَّةُ](https://twitter.com/getlantern_UAE) | [беларуская](https://twitter.com/LanternBelarus) | [English](https://twitter.com/getlantern) | [فارسی](https://twitter.com/getlantern_fa) | [française](https://twitter.com/getlantern_gu) | [русский](https://twitter.com/Lantern_Russia) | [українська](https://twitter.com/LanternUA) | [中文](https://twitter.com/getlantern_CN)

## Release Notes
### 7.8.7
- update UI elements
- fixed bug with translations in UI
- update circumvention library
### 7.8.6
- updated circumvention library
- update translations support
### 7.8.5
- fixed bug for pro plans selection
### 7.8.4
- minor optimizations and bug fixes

Loading

0 comments on commit 745322f

Please sign in to comment.