mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 23:09:47 +08:00
24 lines
3.3 KiB
XML
24 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configuration Guide on Save Any Bot</title><link>https://sabot.unv.app/en/deployment/configuration/</link><description>Recent content in Configuration Guide on Save Any Bot</description><generator>Hugo</generator><language>en</language><atom:link href="https://sabot.unv.app/en/deployment/configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>Storage Configuration</title><link>https://sabot.unv.app/en/deployment/configuration/storages/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sabot.unv.app/en/deployment/configuration/storages/</guid><description><h1 id="storage-configuration">
|
|
Storage Configuration
|
|
<a class="anchor" href="#storage-configuration">#</a>
|
|
</h1>
|
|
<p>Please first read the <a href="../">Configuration Guide</a> to understand the basic format of the configuration file.</p>
|
|
<h2 id="alist">
|
|
Alist
|
|
<a class="anchor" href="#alist">#</a>
|
|
</h2>
|
|
<p><code>type=alist</code></p>
|
|
<p>Stream mode is not supported.</p>
|
|
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-toml" data-lang="toml"><span style="display:flex;"><span><span style="color:#a6e22e">url</span> = <span style="color:#e6db74">&#34;https://alist.example.com&#34;</span> <span style="color:#75715e"># URL of Alist</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">username</span> = <span style="color:#e6db74">&#34;your_username&#34;</span> <span style="color:#75715e"># Username for Alist</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">password</span> = <span style="color:#e6db74">&#34;your_password&#34;</span> <span style="color:#75715e"># Password for Alist</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">base_path</span> = <span style="color:#e6db74">&#34;/path/saveanybot&#34;</span> <span style="color:#75715e"># Base path in Alist, all files will be stored under this path</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">token_exp</span> = <span style="color:#ae81ff">3600</span> <span style="color:#75715e"># Auto-refresh time for Alist access token, in seconds</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#a6e22e">token</span> = <span style="color:#e6db74">&#34;your_token&#34;</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#75715e"># Access token for Alist, optional, if not set, username and password will be used for authentication.</span>
|
|
</span></span><span style="display:flex;"><span><span style="color:#75715e"># When using token authentication, the token cannot be automatically refreshed</span>
|
|
</span></span></code></pre></div><h2 id="local-disk">
|
|
Local Disk
|
|
<a class="anchor" href="#local-disk">#</a>
|
|
</h2>
|
|
<p><code>type=local</code></p></description></item></channel></rss> |