|
| 1 | +--- |
| 2 | +home: hello |
| 3 | +--- |
| 4 | + |
| 5 | +<script setup lang="ts"> |
| 6 | +import { ref } from 'vue' |
| 7 | +import { data } from '../../metadata.data.js' |
| 8 | + |
| 9 | +interface Package { |
| 10 | + os: string |
| 11 | + arch: string |
| 12 | + gui_pkg_tmpl: record<string, string> |
| 13 | + cli_pkg_tmpl: record<string, string> // key: format, value: url |
| 14 | + comment?: string |
| 15 | +} |
| 16 | + |
| 17 | +function gen_pkg_without_gui(os: string, archs: string[]): Package[] { |
| 18 | + return archs.map(arch => { |
| 19 | + return { |
| 20 | + os, |
| 21 | + arch, |
| 22 | + gui_pkg_tmpl: {}, |
| 23 | + cli_pkg_tmpl: { |
| 24 | + "zip": `https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-linux-${arch}-v{}.zip`, |
| 25 | + }, |
| 26 | + } |
| 27 | + }) |
| 28 | +} |
| 29 | + |
| 30 | +const packages = ref<Package[]>([ |
| 31 | + { |
| 32 | + os: 'Windows', |
| 33 | + arch: 'x86_64', |
| 34 | + gui_pkg_tmpl: { |
| 35 | + "exe": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_x64-setup.exe' |
| 36 | + }, |
| 37 | + cli_pkg_tmpl: { |
| 38 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-windows-x86_64-v{}.zip' |
| 39 | + }, |
| 40 | + comment: "Windows 7 needs to be SP1 and above, and you need to install the two patches KB3063858 and KB4474419, and disable QUIC input." |
| 41 | + }, |
| 42 | + { |
| 43 | + os: "Windows", |
| 44 | + arch: "arm64", |
| 45 | + gui_pkg_tmpl: { |
| 46 | + "exe": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_arm64-setup.exe' |
| 47 | + }, |
| 48 | + cli_pkg_tmpl: { |
| 49 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-windows-arm64-v{}.zip' |
| 50 | + }, |
| 51 | + }, |
| 52 | + { |
| 53 | + os: "Linux", |
| 54 | + arch: "x86_64", |
| 55 | + gui_pkg_tmpl: { |
| 56 | + "deb": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_amd64.deb', |
| 57 | + "AppImage": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_amd64.AppImage', |
| 58 | + }, |
| 59 | + cli_pkg_tmpl: { |
| 60 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-linux-x86_64-v{}.zip', |
| 61 | + }, |
| 62 | + }, |
| 63 | + { |
| 64 | + os: "Linux", |
| 65 | + arch: "aarch64", |
| 66 | + gui_pkg_tmpl: { |
| 67 | + "deb": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_arm64.deb', |
| 68 | + }, |
| 69 | + cli_pkg_tmpl: { |
| 70 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-linux-aarch64-v{}.zip', |
| 71 | + }, |
| 72 | + }, |
| 73 | + ...gen_pkg_without_gui("Linux", ["arm", "armhf", "armv7", "armv7hf", "mips", "mipsel"]), |
| 74 | + { |
| 75 | + os: "MacOS", |
| 76 | + arch: "x86_64", |
| 77 | + gui_pkg_tmpl: { |
| 78 | + "dmg": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_x64.dmg', |
| 79 | + }, |
| 80 | + cli_pkg_tmpl: { |
| 81 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-macos-x86_64-v{}.zip', |
| 82 | + }, |
| 83 | + comment: "After installing the GUI, you need to manually execute xattr -c /Applications/easytier-gui.app, otherwise it will prompt that the file is damaged" |
| 84 | + }, |
| 85 | + { |
| 86 | + os: "MacOS", |
| 87 | + arch: "aarch64", |
| 88 | + gui_pkg_tmpl: { |
| 89 | + "dmg": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-gui_{}_aarch64.dmg', |
| 90 | + }, |
| 91 | + cli_pkg_tmpl: { |
| 92 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-macos-aarch64-v{}.zip', |
| 93 | + }, |
| 94 | + comment: "After installing the GUI, you need to manually execute xattr -c /Applications/easytier-gui.app, otherwise it will prompt that the file is damaged" |
| 95 | + }, |
| 96 | + { |
| 97 | + os: "Android", |
| 98 | + arch: "universal", |
| 99 | + gui_pkg_tmpl: { |
| 100 | + "apk": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/app-universal-release.apk', |
| 101 | + }, |
| 102 | + cli_pkg_tmpl: {}, |
| 103 | + comment: "If you encounter abnormal display issues, please try upgrading WebView" |
| 104 | + }, |
| 105 | + { |
| 106 | + os: "Android Magisk Module", |
| 107 | + arch: "aarch64", |
| 108 | + gui_pkg_tmpl: {}, |
| 109 | + cli_pkg_tmpl: { |
| 110 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/Easytier-Magisk-v{}.zip' |
| 111 | + }, |
| 112 | + comment: "Supports Magisk/KernelSU/Apatch. Will start an easytier-core instance on boot. Config located at /data/adb/modules/easytier_magisk/config/" |
| 113 | + }, |
| 114 | + { |
| 115 | + os: "FreeBSD 13.2", |
| 116 | + arch: "x86_64", |
| 117 | + gui_pkg_tmpl: {}, |
| 118 | + cli_pkg_tmpl: { |
| 119 | + "zip": 'https://github.com/EasyTier/EasyTier/releases/download/v{}/easytier-freebsd-13.2-x86_64-v{}.zip', |
| 120 | + }, |
| 121 | + } |
| 122 | +]) |
| 123 | + |
| 124 | +const all_archs = new Set(packages.value.map(pkg => pkg.arch)) |
| 125 | +const all_os = new Set(packages.value.map(pkg => pkg.os)) |
| 126 | +const all_proxy = new Set(data.github_accels) |
| 127 | + |
| 128 | +const channel = ref('easytier_latest_version') |
| 129 | + |
| 130 | +const url = 'https://github.com/EasyTier/EasyTier/releases/tag/v' |
| 131 | +const filter_os = ref('') |
| 132 | +const filter_arch = ref('') |
| 133 | +const accel_proxy = ref('') |
| 134 | + |
| 135 | +function renderUrlTmpl(url_tmpl: string): string { |
| 136 | + return accel_proxy.value + url_tmpl.replace(/\{\}/g, data[channel.value]) |
| 137 | +} |
| 138 | + |
| 139 | +</script> |
| 140 | + |
| 141 | +# Download { #download } |
| 142 | + |
| 143 | +You can directly go to the [GitHub Release page](https://github.com/EasyTier/EasyTier/releases) to view the download links for all versions, or use the table below to find the version that suits you. |
| 144 | + |
| 145 | +The command line program package includes four executables: |
| 146 | + |
| 147 | +- `easytier-core`: The core program of EasyTier |
| 148 | +- `easytier-cli`: EasyTier management program, after starting easytier-core, you can use easytier-cli to view virtual network information |
| 149 | +- `easytier-web`: Used for self-hosting the EasyTier Web console backend, generally no need to self-host, you can use the official Web console |
| 150 | +- `easytier-web-embed`: Same functionality as `easytier-web`, but includes the Web frontend. |
| 151 | + |
| 152 | +## Switch Download Channel { #channel } |
| 153 | + |
| 154 | +<div> |
| 155 | + <select name="channel-select" id="channel-select" v-model="channel" class="filter-select"> |
| 156 | + <option value="easytier_latest_version"> Stable Version(v{{ data.easytier_latest_version }}) </option> |
| 157 | + <option value="easytier_pre_release_version"> Pre-release Version(v{{ data.easytier_pre_release_version }}) </option> |
| 158 | + </select> |
| 159 | +</div> |
| 160 | + |
| 161 | +## <a :href="url + data[channel]">EasyTier v{{ data[channel] }}</a> { #latest } |
| 162 | + |
| 163 | +- GitHub Acceleration |
| 164 | + <div> |
| 165 | + <select name="gh-accel-select" id="gh-accel-select" v-model="accel_proxy" class="filter-select"> |
| 166 | + <option value=""> Direct </option> |
| 167 | + <option v-for="p in all_proxy" :value="p"> {{ p }} </option> |
| 168 | + </select> |
| 169 | + </div> |
| 170 | + |
| 171 | +- Filter by Operating System |
| 172 | + <div> |
| 173 | + <select name="os-select" id="os-select" v-model="filter_os" class="filter-select"> |
| 174 | + <option value=""> All </option> |
| 175 | + <option v-for="os in all_os" :value="os"> {{ os }} </option> |
| 176 | + </select> |
| 177 | + </div> |
| 178 | + |
| 179 | +- Filter by Hardware Architecture |
| 180 | + <div> |
| 181 | + <select name="arch-select" id="arch-select" v-model="filter_arch" class="filter-select"> |
| 182 | + <option value=""> All </option> |
| 183 | + <option v-for="arch in all_archs" :value="arch"> {{ arch }} </option> |
| 184 | + </select> |
| 185 | + </div> |
| 186 | + |
| 187 | +<table> |
| 188 | + |
| 189 | +<thead> |
| 190 | +<tr> |
| 191 | +<th> Operating System </th> |
| 192 | +<th> Hardware Architecture </th> |
| 193 | +<th> GUI Program </th> |
| 194 | +<th> CLI Program </th> |
| 195 | +<th> Notes </th> |
| 196 | +</tr> |
| 197 | +</thead> |
| 198 | + |
| 199 | +<tr v-for="pkg in packages" v-show="(!filter_os || pkg.os === filter_os) && (!filter_arch || pkg.arch === filter_arch)"> |
| 200 | + |
| 201 | +<td> {{ pkg.os }} </td> |
| 202 | +<td> {{ pkg.arch }} </td> |
| 203 | + |
| 204 | +<td> |
| 205 | +<a v-for="(url_tmpl, format) in pkg.gui_pkg_tmpl" class="download-link-span" :href="renderUrlTmpl(url_tmpl)"> |
| 206 | +{{format}} |
| 207 | +</a> |
| 208 | +</td> |
| 209 | + |
| 210 | +<td> |
| 211 | +<a v-for="(url_tmpl, format) in pkg.cli_pkg_tmpl" class="download-link-span" :href="renderUrlTmpl(url_tmpl)"> |
| 212 | +{{format}} |
| 213 | +</a> |
| 214 | +</td> |
| 215 | + |
| 216 | +<td> |
| 217 | +{{ pkg.comment }} |
| 218 | +</td> |
| 219 | + |
| 220 | +</tr> |
| 221 | + |
| 222 | +</table> |
0 commit comments