Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Chuncordのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Chuncord
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ファイル共有]] [[en:Chuncord]] {{Related articles start}} {{Related|Discord}} {{Related articles end}} Chuncord is a free and open source command line tool, licensed under [https://git.lemonsh.moe/lemon/chuncord/src/branch/master/LICENSE EUPLv1.2] (European Union Public License) which allows uploading files larger than the 25MB upload limit to [[Discord]]'s content delivery network (CDN) by splitting them into parts. These files can be downloaded using Chuncord as well. {{Warning|Chuncord indirectly bypasses the upload limit and thus likely violates the Discord Terms of Service. Use at your own risk.}} == Installation == [[Install]] the {{AUR|chuncord}} package. A prebuilt version of Chuncord is also available in [[Unofficial repositories#PolarRepo|PolarRepo]] unofficial repositories. == Configuration == Configuration for Chuncord is stored under {{ic|$HOME/.config/chuncord/config.toml}}, in [https://toml.io/en/ TOML] format. {{Note|All configuration options can be modified via the command line interface, upstream has not documented the format of the configuration file, therefore implying this file should not be modified directly.}} == Usage == Chuncord uploads file parts using [https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks webhooks]. Then, it uploads an index file that contains the filename, file size, and a list of all the file parts. Chuncord can then download the file using that index. === Adding a Discord webhook === Chuncord allows you to add and manage Discord webhooks to upload files to different channels. Before you are able to upload, you must add a webhook: $ chuncord webhook add <webhook name> <webhook url> ==== Default webhook ==== You can also select a default webhook to use when no webhook is specified. $ chuncord webhook default <webhook name> The default webhook can be changed at any time. === Uploading files to Discord === Simply run this command: $ chuncord upload -w <webhook name> <file path> Or, if you have set a default webhook, you can omit the {{ic|-w}} flag: $ chuncord upload <file path> Once the file is uploaded, Chuncord will print index file URL and the MID (message ID). The MID is used to delete an uploaded file. If you want to share the file with someone, you only need to provide the index URL. === Downloading uploaded files === $ chuncord download -o <file path> <index URL> You can omit the file path in order to use the original filename. Note that to download, you do '''not''' need to specify any webhook. === Deleting uploaded files === $ chuncord delete -w <webhook name> <message ID> As with uploading, you can omit the webhook in order to use the default one. You need to use the same webhook that the file was uploaded with. == See also == * [https://git.lemonsh.moe/lemon/chuncord Upstream repository]
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
テンプレート:Warning
(
ソースを閲覧
)
Chuncord
に戻る。
検索
検索
Chuncordのソースを表示
話題を追加