From 4c64bc5ab78714201b283c05f8466bbc8f2eb7d7 Mon Sep 17 00:00:00 2001 From: Wayback Archiver <66856220+waybackarchiver@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:55:39 +0000 Subject: [PATCH] Update docs --- README.md | 2 +- cmd/wayback/main.go | 2 +- docs/service.md | 2 ++ docs/service.zh.md | 42 ++++++++++++++++++++++-------------------- 4 files changed, 26 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index d28d758e..8fbeeff3 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ Examples: Flags: --chatid string Telegram channel id -c, --config string Configuration file path, defaults: ./wayback.conf, ~/wayback.conf, /etc/wayback.conf - -d, --daemon strings Run as daemon service, supported services are telegram, web, mastodon, twitter, discord, slack, irc + -d, --daemon strings Run as daemon service, supported services are telegram, web, mastodon, twitter, discord, slack, irc, xmpp --debug Enable debug mode (default mode is false) --ga Wayback webpages to Ghostarchive (default true) -h, --help help for wayback diff --git a/cmd/wayback/main.go b/cmd/wayback/main.go index 8040468d..f5c41e69 100644 --- a/cmd/wayback/main.go +++ b/cmd/wayback/main.go @@ -77,7 +77,7 @@ func init() { rootCmd.Flags().BoolVarP(&ip, "ip", "", true, "Wayback webpages to IPFS") rootCmd.Flags().BoolVarP(&ph, "ph", "", true, "Wayback webpages to Telegraph") rootCmd.Flags().BoolVarP(&ga, "ga", "", true, "Wayback webpages to Ghostarchive") - rootCmd.Flags().StringSliceVarP(&daemon, "daemon", "d", []string{}, "Run as daemon service, supported services are telegram, web, mastodon, twitter, discord, slack, irc") + rootCmd.Flags().StringSliceVarP(&daemon, "daemon", "d", []string{}, "Run as daemon service, supported services are telegram, web, mastodon, twitter, discord, slack, irc, xmpp") rootCmd.Flags().StringVarP(&host, "ipfs-host", "", "127.0.0.1", "IPFS daemon host, do not require, unless enable ipfs") rootCmd.Flags().UintVarP(&port, "ipfs-port", "p", 5001, "IPFS daemon port") rootCmd.Flags().StringVarP(&mode, "ipfs-mode", "m", "pinner", "IPFS mode") diff --git a/docs/service.md b/docs/service.md index 810a9d80..75e7c5d0 100644 --- a/docs/service.md +++ b/docs/service.md @@ -40,6 +40,8 @@ For detailed instructions on how to configure the publishing channel, please ref - [Meilisearch](integrations/meilisearch.md) - [Nostr](integrations/nostr.md) - [Notion](integrations/notion.md) +- [Omnivore](integrations/omnivore.md) +- [Postgres](integrations/datastore.md) - [Slack](integrations/slack.md) - [Telegram](integrations/telegram.md) - [Twitter](integrations/twitter.md) diff --git a/docs/service.zh.md b/docs/service.zh.md index 70125be3..402f2da2 100644 --- a/docs/service.zh.md +++ b/docs/service.zh.md @@ -12,15 +12,15 @@ Wayback可以与各种消息平台集成,包括Discord、IRC、Mastodon、Matr 有关如何为每个平台创建机器人的详细说明,请参见以下链接: -- [Discord](integrations/discord.md) -- [IRC](integrations/irc.md) -- [Mastodon](integrations/mastodon.md) -- [Matrix](integrations/matrix.md) -- [Slack](integrations/slack.md) -- [Telegram](integrations/telegram.md) -- [Twitter](integrations/twitter.md) -- [Web](integrations/web.md) -- [XMPP](integrations/xmpp.md) +- [Discord](integrations/discord.zh.md) +- [IRC](integrations/irc.zh.md) +- [Mastodon](integrations/mastodon.zh.md) +- [Matrix](integrations/matrix.zh.md) +- [Slack](integrations/slack.zh.md) +- [Telegram](integrations/telegram.zh.md) +- [Twitter](integrations/twitter.zh.md) +- [Web](integrations/web.zh.md) +- [XMPP](integrations/xmpp.zh.md) 请注意,您需要在各自的平台上设置帐户并获取必要的凭据,例如访问令牌,才能将Wayback用作机器人。 @@ -32,16 +32,18 @@ Wayback的集成服务提供了将存档结果发布到各种消息和协作平 有关如何配置发布通道的详细说明,请参见以下链接: -- [IRC](integrations/irc.md) -- [Discord](integrations/discord.md) -- [GitHub Issues](integrations/github.md) -- [Mastodon](integrations/mastodon.md) -- [Matrix](integrations/matrix.md) -- [Meilisearch](integrations/meilisearch.md) -- [Nostr](integrations/nostr.md) -- [Notion](integrations/notion.md) -- [Slack](integrations/slack.md) -- [Telegram](integrations/telegram.md) -- [Twitter](integrations/twitter.md) +- [IRC](integrations/irc.zh.md) +- [Discord](integrations/discord.zh.md) +- [GitHub Issues](integrations/github.zh.md) +- [Mastodon](integrations/mastodon.zh.md) +- [Matrix](integrations/matrix.zh.md) +- [Meilisearch](integrations/meilisearch.zh.md) +- [Nostr](integrations/nostr.zh.md) +- [Notion](integrations/notion.zh.md) +- [Omnivore](integrations/omnivore.zh.md) +- [Postgres](integrations/datastore.zh.md) +- [Slack](integrations/slack.zh.md) +- [Telegram](integrations/telegram.zh.md) +- [Twitter](integrations/twitter.zh.md) 每个平台都有自己的配置要求,因此请务必仔细按照说明操作,以确保成功发布存档结果。