|
1 | 1 | --- |
2 | | -title: Custom Anisette Server |
3 | | -description: A guide on anisette servers. |
| 2 | +title: 自定义Anisette服务器 |
| 3 | +description: 关于anisette服务器的指南 |
4 | 4 | --- |
5 | 5 |
|
6 | 6 | :::note |
7 | | -Using any SideStore version after 0.4.0 is unlikely to lock your account as this is when support for v3 anisette servers was added. |
| 7 | +使用任何在0.4.0以后版本的SideStore不太可能导致您的帐户被锁定,因为此时我们添加了对v3 anisette服务器的支持。 |
8 | 8 |
|
9 | | -With this, it is **highly recommended** to use a v3 server for normal use of SideStore, if your version supports it. |
| 9 | +因此,如果您的版本支持,**强烈建议**使用v3服务器以正常使用SideStore。 |
10 | 10 | ::: |
11 | 11 |
|
12 | | -Anisette data is information used in the app signing process that needs to be generated each time you install or refresh apps. SideStore gets this information from a server that spoofs a Mac and sends you back the anisette data. No account info is sent to the server ever in this process. |
| 12 | +Anisette数据是在每次安装或刷新应用程序时,进行应用程序签名过程中所使用到的信息。SideStore从一个模拟的Mac的服务器中获取此信息,并将Anisette数据发回给您。在此过程中,任何的帐户信息都不会发送到服务器。 |
13 | 13 |
|
14 | | -When many people use the same Anisette server (specifically a v1 server), it trips Apple's security, and locks the accounts that were using that machine. This is why we recommend using a separate burner Apple ID instead of your main one. |
| 14 | +当很多人使用同一台Anisette服务器(尤其是v1服务器)的时候,它会触发苹果的安全机制,并锁定使用该机器的帐户。这就是为什么我们建议使用单独的临时Apple ID而不是您的主ID。 |
15 | 15 |
|
16 | | -Our team has worked on better approaches to avoid locked accounts (in the form of _anisette-v3_). However, if you are using an older version of SideStore, hosting your own anisette server is a great way to avoid locked accounts. This is made incredibly easy thanks to our current server being open source and made for docker environments. This means we can deploy a server with nothing more than the GitHub link. |
| 16 | +我们的团队一直在研究更好的方法来避免帐户的锁定(以_anisette-v3_的形式)。但如果您使用的是旧版本的SideStore,那么部署您自己的Anisette服务器是避免锁定帐户的好方法。得益于我们当前的服务器是开源的,且专为 Docker 环境设计,这使得操作变得异常简单。这意味着我们可以仅通过一个GitHub链接来部署服务器。 |
17 | 17 |
|
18 | | -## Deploy on Render |
| 18 | +## 在Render上部署 |
19 | 19 |
|
20 | | -[Render](https://render.com/) is a service for easily creating servers. It supports loading server sources from GitHub. The free tier is quite limited in terms of resources, but the server can run comfortably on it without issue. |
| 20 | +[Render](https://render.com/) 是一个提供轻松创建服务器的服务。它支持从GitHub加载服务器源代码。虽然免费版提供的资源非常有限,但服务器可以在上面舒适地运行,且不会出现问题。(仅供参考————它确实需要信用卡/借记卡以进行身份验证,但它完全免费) |
21 | 21 |
|
22 | | -Due to too many people using the same GitHub URL, you will have to fork the Git repository yourself. |
| 22 | +由于太多人使用同一个GitHub链接,您需要亲自fork Git库。 |
23 | 23 |
|
24 | | -1. [Register](https://github.com/signup) for a GitHub account, if you do not already have one. |
25 | | -2. [Open](https://github.com/Dadoum/anisette-v3-server) the Git repository. |
26 | | -3. Click "Fork" in the top right, and fork the repository to your account. |
27 | | -4. Once the forked repository is created, click the green "Code" dropdown in the top right, and copy the .git URL. |
| 24 | +1. 如果您没有Github账户,请[注册](https://github.com/signup)一个GitHub账户。 |
| 25 | +2. [打开](https://github.com/Dadoum/anisette-v3-server)Git库。 |
| 26 | +3. 点击右上角的“fork”,将库fork到您的帐户。 |
| 27 | +4. 一旦fork的库建立完毕,点击右上角绿色的“code”下拉菜单,复制.git链接。 |
28 | 28 |
|
29 | | -* Save this for later. |
| 29 | +* 稍后会用到这个链接,请好好保留。 |
30 | 30 |
|
31 | | -Once this is done, the Render server can be made. |
| 31 | +完成以上操作后,您就可以创建Render服务器了。 |
32 | 32 |
|
33 | | -1. [Register](https://dashboard.render.com/register/) for an account. |
34 | | -2. Create a [New Web Service](https://dashboard.render.com/select-repo?type=web). |
35 | | -3. Scroll down to **Public Git repository** and enter the URL you copied earlier. |
36 | | -4. Click "Continue" and fill in the form: |
37 | | - * **Name** - Does not matter |
38 | | - * **Region** - Closest to you |
39 | | - * **Branch** - main (default) |
40 | | - * **Root Directory** - blank (default) |
41 | | - * **Environment** - Docker (default) |
| 33 | +1. [注册](https://dashboard.render.com/register/)一个账户。 |
| 34 | +2. 创建一个[新的Web服务](https://dashboard.render.com/select-repo?type=web). |
| 35 | +3. 下滑到**Public Git repository**,并输入您前面复制的链接。 |
| 36 | +4. 点击"Continue"并填写表格: |
| 37 | + * **Name** - 名字,"不会造成任何影响" |
| 38 | + * **Region** - 选择距离您最近的地区 |
| 39 | + * **Branch** - main (默认) |
| 40 | + * **Root Directory** - blank (默认) |
| 41 | + * **Environment** - Docker (默认) |
42 | 42 | * **Instance Type** - Free |
43 | 43 |
|
44 | | -5. Wait for the server to build. You will see the following when it's done: |
| 44 | +5. 等待服务器构建。完成后,您将看到以下内容: |
45 | 45 |
|
46 | 46 | ``` |
47 | 47 | Machine requires provisioning... done ! |
48 | 48 | Your service is live 🎉 |
49 | 49 | ``` |
50 | 50 |
|
51 | | -*If the build fails for any reason, click **Manual Deploy**, then **Deploy latest commit**.* |
| 51 | +*如果构建因任何原因失败,请单击**Manual Deploy**,然后**Deploy latest commit**。* |
52 | 52 |
|
53 | | -6. Find the link for your new server at the top of the page: |
| 53 | +6. 在页面顶部找到新服务器的链接: |
54 | 54 |
|
55 | 55 | ``` |
56 | 56 | https://[your-server-name].onrender.com |
57 | 57 | ``` |
58 | 58 |
|
59 | | -## Creating a custom anisette server list |
60 | | - |
61 | | -Since the release of version 0.5.8, SideStore uses an anisette server list system so officially endorsed anisette servers can be added more easily. This means that there is a little bit of extra work to be done in order to use your own server without requesting to have yours added to the official list. |
62 | | - |
63 | | -If you want to keep the option of using included servers, follow the steps below: |
64 | | -1. Go [here](https://servers.sidestore.io/servers.json) to obtain the current server list. |
65 | | -2. Head to a file hosting service of your choice to host the file on the internet. We recommend using GitHub Pages to do so as it's easier to edit in future, and will be the service used as example for this guide. If you have your own way of hosting, adapt the following to your setup. |
66 | | -3. If you have a Github Pages site set up already, skip to the sixth sub-step. Otherwise, do the following: |
67 | | -* Create a new GitHub repository via either the plus (+) button on the top right on desktop, profile icon > Create new on mobile, or [this page](https://github.com/new). |
68 | | -* Set the name to be [your GitHub username].github.io, check 'Initialize this repository with a README', and set the remaining settings to how you wish. |
69 | | -* Once created, go to the Settings tab and navigate to the Pages section under Code and automation. |
70 | | -* Set Build and deployment under Source to 'Deploy from branch' |
71 | | -* If not auto-selected, set Branch to 'main' |
72 | | -* Return to the code tab and hit 'Add files', then 'Upload files', then select the 'servers.json' file you downloaded earlier. |
73 | | -* Once uploaded, click on the file and hit the Edit button. |
74 | | -* Scroll down to the last server on the list and add a comma after the last server's closing curly bracket ('}'), then add your own server afterwards in the following format: |
| 59 | +## 创建自定义anisette服务器列表 |
| 60 | + |
| 61 | +自0.5.8版本发布以来,SideStore使用了anisette服务器列表系统,因此您可以更容易地添加官方认可的anisette服务器。这意味着,要使用自己的服务器,同时不要求将您的服务器添加到官方列表中,还需要做一些额外的工作。 |
| 62 | + |
| 63 | +如果您想保留使用列表提供的服务器的选项,请按照以下步骤操作: |
| 64 | +1. 点击[这里](https://servers.sidestore.io/servers.json)以获取当前的服务器列表。 |
| 65 | +2. 请前往您选择的文件托管服务,将文件托管到互联网上。我们建议使用GitHub Pages,因为它更容易在未来进行编辑,并且本指南也将按照Github Pages的操作作为参考。如果您有自己的托管方式,请根据您的设置调整以下内容。 |
| 66 | +3. 如果您已经设置了Github Pages网站,请跳到第六个子步骤。否则,请执行以下操作: |
| 67 | +* 通过桌面端右上角的加号(+)按钮,或者移动端的个人资料图标 > Create new,或者[这个页面](https://github.com/new)以添加新的GitHub存储库。 |
| 68 | +* 将名称设置为[您的GitHub用户名].GitHub.io,选中'Initialize this repository with a README',并将其余设置设置为您所希望的方式。 |
| 69 | +* 创建后,转到“Settings”选项卡,导航到“Code and automation”下的“Pages”部分。 |
| 70 | +* 将Build and deployment下的Source切换成'Deploy from branch' |
| 71 | +* 如果没有自动选择的话,将Branch切换到'main' |
| 72 | +* 返回代码选项卡,点击'Add files',然后点击'Upload files',再选择您之前下载的'servers.json'文件。 |
| 73 | +* 上传后,单击文件并点击编辑(Edit)按钮。 |
| 74 | +* 向下滚动到列表中的最后一个服务器,并在最后一个服务器的结束花括号('}')后添加逗号,然后按照以下格式添加您自己的服务器: |
75 | 75 | ``` |
76 | 76 | { |
77 | | - "name": "[something identifiable like a username]", //doesn't really matter unless you're sharing this server list with someone else |
78 | | - "address": "[your server's url]" |
| 77 | + "name": "[一些可识别的东西,比如说用户名]", //除非你与其他人共享此服务器列表,否则这并不重要 |
| 78 | + "address": "[您的服务器链接]" |
79 | 79 | } |
80 | 80 | ``` |
81 | | -* Commit the changes, then head to https://[your GitHub username].github.io/[where you placed the file]/servers.json. If the file loads, you are ready to move on to the next section. Otherwise, you may need to wait up to 10 mins for your site to be properly set up for use before you try again. |
| 81 | +*提交更改,然后前往https://[您的GitHub用户名].GitHub.io/[您放置文件的位置]/servers.json。如果文件成功加载了,那么您就可以继续下一节了。否则,您可能需要等待10分钟才能正确设置您的网站,然后再试一次。 |
82 | 82 |
|
83 | | -If you want to only use your own server, follow the steps above, but instead of getting the official server.json, create your own using this formatting; |
| 83 | +如果您只想使用自己的服务器,请按照上述步骤操作,但不要复制官方servers.json,而是使用此格式创建自己的服务器; |
84 | 84 | ``` |
85 | 85 | { |
86 | 86 | "servers": [ |
87 | 87 | { |
88 | | - "name": "[as above]", |
89 | | - "address": "[also as above]" |
| 88 | + "name": "[同上]", |
| 89 | + "address": "[同上]" |
90 | 90 | } |
91 | 91 | ] |
92 | 92 | } |
93 | 93 | ``` |
94 | | -and continue as normal. |
| 94 | +并继续进行。 |
95 | 95 |
|
96 | | -## Use your server with SideStore |
| 96 | +## 通过SideStore使用您的服务器 |
97 | 97 |
|
98 | | -To use your newly created server list in the SideStore app, do the following: |
| 98 | +要在SideStore应用程序中使用新创建的服务器列表,请执行以下操作: |
99 | 99 |
|
100 | | -1. Open the Settings tab in SideStore. |
101 | | -2. Scroll down to the bottom and tap on 'Anisette Servers'. |
102 | | -3. Tap on the list URL and replace it with the URL of your server list. |
103 | | -4. Hit 'Refresh Servers', and select your own server from the updated list. |
| 100 | +1. 打开SideStore中的“设置”选项卡。 |
| 101 | +2. 向下滚动到底部,然后点击“Anisette服务器”。 |
| 102 | +3. 点击输入框中的链接,并将其替换为您的服务器列表的链接。 |
| 103 | +4. 点击“刷新服务器”,然后从更新的列表中选择您自己的服务器。 |
104 | 104 |
|
105 | | -## Done! |
| 105 | +## 完毕! |
106 | 106 |
|
107 | | -SideStore will now use your new custom anisette server. |
108 | | - |
109 | | - |
110 | | -## Links: |
111 | | -[<img src="https://uptime.sidestore.io/api/badge/4/uptime/48" />](https://uptime.sidestore.io/status/all) |
112 | | -[All Official Anisette Servers Uptime](https://uptime.sidestore.io/status/all) |
113 | | - |
114 | | -[<img src="https://uptime.sidestore.io/api/badge/1/uptime/48" />](https://uptime.sidestore.io/status/ss) |
115 | | -[Our Official Anisette Server's Uptime](https://uptime.sidestore.io/status/ss) |
| 107 | +SideStore将会使用您的新自定义anisette服务器。 |
0 commit comments