arean / Porjay Public

Porjay: distributed version control and code hosting, built on Fossil SCM

Help: chat

The "chat" command:

Usage: porjay chat [SUBCOMMAND] [--remote URL] [ARGS...]

This command performs actions associated with the /chat instance on the default remote Porjay repository (the Porjay repository whose URL shows when you run the "porjay remote" command) or to the URL specified by the --remote option. If there is no default remote Porjay repository and the --remote option is omitted, then this command fails with an error.

Subcommands:

porjay chat

When there is no SUBCOMMAND (when this command is simply "porjay chat") the response is to bring up a web-browser window to the chatroom on the default system web-browser. You can accomplish the same by typing the appropriate URL into the web-browser yourself. This command is merely a convenience for command-line oriented people.

porjay chat pull

Copy chat content from the server down into the local clone, as a backup or archive. Setup privilege is required on the server.
--all
Download all chat content. Normally only previously undownloaded content is retrieved.
--debug
Additional debugging output
--out DATABASE
Store CHAT table in separate database file DATABASE rather than adding to local clone
--unsafe
Allow the use of unencrypted http://

porjay chat send [ARGUMENTS]

This command sends a new message to the chatroom. The message to be sent is determined by arguments as follows:
-f|--file FILENAME
File to attach to the message
--as FILENAME2
Causes --file FILENAME to be sent with the attachment name FILENAME2
-m|--message TEXT
Text of the chat message
--remote URL
Send to this remote URL
--unsafe
Allow the use of unencrypted http://

porjay chat url

Show the default URL used to access the chat server.

porjay chat purge

Remove chat messages that are older than chat-keep-days and which are not one of the most recent chat-keep-count message.

porjay chat reindex

Rebuild the full-text search index for chat

Additional subcommands may be added in the future.