Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Oct 5, 2024
1 parent b890876 commit 4c64bc5
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/wayback/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 2 additions & 0 deletions docs/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
42 changes: 22 additions & 20 deletions docs/service.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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用作机器人。

Expand All @@ -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)

每个平台都有自己的配置要求,因此请务必仔细按照说明操作,以确保成功发布存档结果。

0 comments on commit 4c64bc5

Please sign in to comment.