Rework about page, change GitHub link
This commit is contained in:
parent
a2e547104f
commit
36405c6a9c
3 changed files with 23 additions and 15 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using BirdsiteLive.Common.Settings;
|
||||
using BirdsiteLive.DAL.Contracts;
|
||||
|
@ -37,7 +38,8 @@ namespace BirdsiteLive.Services
|
|||
_cachedStatistics = new CachedStatistics
|
||||
{
|
||||
RefreshedTime = DateTime.UtcNow,
|
||||
Saturation = saturation
|
||||
Saturation = saturation,
|
||||
UnlistedUsers = _instanceSettings.UnlistedTwitterAccounts.Length > 0 ? string.Join("\n", _instanceSettings.UnlistedTwitterAccounts.Split(";").Select(i => "<li>" + i + "</li>")) : "(none)"
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -49,5 +51,6 @@ namespace BirdsiteLive.Services
|
|||
{
|
||||
public DateTime RefreshedTime { get; set; }
|
||||
public int Saturation { get; set; }
|
||||
public string UnlistedUsers { get; set; }
|
||||
}
|
||||
}
|
|
@ -4,27 +4,32 @@
|
|||
}
|
||||
|
||||
<div class="col-12 col-sm-12 col-md-10 col-lg-8 mx-auto">
|
||||
<h2>Node Saturation</h2>
|
||||
<h4>Node Saturation</h4>
|
||||
|
||||
<p>
|
||||
<br/>
|
||||
This node usage is at @Model.Saturation%<br/>
|
||||
This instance's saturation level is currently at @Model.Saturation%.<br/><br />
|
||||
|
||||
This instance relies on the Twitter API - a tool developers can use to integrate Twitter with other applications - to fetch and send Tweets in a predictable and high-quality manner. However, the API has rate limits; this instance can only fetch so many Tweets and users per hour.<br /><br />
|
||||
|
||||
As this instance's saturation level approaches and exceeds 100%, it will no longer update accounts every 15 minutes and reduce how often it fetches Tweets to stay under Twitter's limits. Essentially, the more saturated a node is, the less efficient it will be.<br /><br />
|
||||
|
||||
When possible, you should <a href="https://github.com/NicolasConstant/BirdsiteLive/blob/master/INSTALLATION.md" target="_blank">start your own BirdsiteLIVE instance</a>. If you cannot, please be courteous and follow a limited number of accounts to keep the service available for everyone.
|
||||
<br/>
|
||||
</p>
|
||||
|
||||
<h2>FAQ</h2>
|
||||
<h4>Why is there a limit on the node?</h4>
|
||||
|
||||
<p>BirdsiteLIVE rely on the Twitter API to provide high quality content. This API has limitations and therefore limits node capacity.</p>
|
||||
|
||||
<h4>What happen when the node is saturated?</h4>
|
||||
<h4>Why do accounts I follow on this node post followers-only?</h4>
|
||||
|
||||
<p>
|
||||
When the saturation rate goes above 100% the node will no longer update all accounts every 15 minutes and instead will reduce the pooling rate to stay under the API limits, the more saturated a node is the less efficient it will be.<br />
|
||||
The software doesn't scale, and it's by design.
|
||||
|
||||
The goal of this instance is <i>not</i> to make the Fediverse "Twitter 2"; it is to make the Fediverse easier to join by allowing people to follow those who will never move. This instance's admin may allow certain accounts to post in "unlisted" scope, allowing posts from these accounts to be replied to or re-posted publicly. Regardless of an account's status, it can still be followed.
|
||||
|
||||
<br /><br />
|
||||
|
||||
Accounts that post using the "unlisted" scope are as follows:
|
||||
</p>
|
||||
|
||||
<h4>How can I reduce the node's saturation?</h4>
|
||||
|
||||
<p>If you're not on your own node, be reasonable and don't follow too much accounts. And if you can, host your own node. BirdsiteLIVE doesn't require a lot of resources to work and therefore is really cheap to self-host.</p>
|
||||
<ul>
|
||||
@Html.Raw(Model.UnlistedUsers)
|
||||
</ul>
|
||||
</div>
|
|
@ -47,7 +47,7 @@
|
|||
</div>
|
||||
<div class="container">
|
||||
|
||||
<a href="https://github.com/NicolasConstant/BirdsiteLive">Github</a> @*<a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>*@
|
||||
<a href="https://github.com/MissPasture/BirdsiteLive">GitHub</a> (AGPLv3) @*<a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>*@
|
||||
|
||||
<span style="float: right;">BirdsiteLIVE @System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString(3)</span>
|
||||
</div>
|
||||
|
|
Reference in a new issue