
VecchioPoster is a CLI for posting on vecchiochan.com.
Get Started »
Releases
·
Report Bug
·
Request Feature
VecchioPoster allows posting on vecchiochan via command-line.
The tool abstracts away the details of form submission and request handling through the use of vecchioclient.
With the provided commands and options you can:
- Create new threads on specific boards
- Reply to existing threads
Custom User-Agent
header to be used by the internal client and verbose logging are supported (see Usage).
VecchioPoster is available for Windows, GNU/Linux, and MacOS.
Binaries for the latest release can be downloaded here.
Below are examples demonstrating how to use the CLI.
For simplicity, we assume vecchioposter
to be the name of the executable.
See the --help
(-h
) option for more details.
vecchioposter -h
-
To create a new thread use the
new-thread
command:vecchioposter new-thread -b b -B "This is a new thread on board /b/" -f path/to/file.jpg
--board
(-b
) is the only mandatory flag but keep in mind that, as the settings vary across boards, more flags are probably required for posting (e.g. you can't post a new thread with no embed nor files on /b/).
For the list of flags, as well as their short form and command aliases just runvecchioposter new-thread -h
-
To post a reply use the
post-reply
command:vecchioposter post-reply -b b -t 1 -B "This is a reply to thread #1 on board /b/" -f path/to/file1.mp4 -f path/to/file2.webm
--board
(-b
) and--thread
(-t
) are the only mandatory flags but keep in mind that, as the settings vary across boards, more flags are probably required for posting (e.g. you can't post a new thread with no embed nor files on /b/).
For the list of flags, as well as their short form and command aliases just runvecchioposter post-reply -h
Additional information:
-
For ease of use, a
--msg-file
(-m
) flag is provided for setting the message body out of a file.vecchioposter post-reply -b b -t 1 -m path/to/msg.txt
This reads the content of
msg.txt
and sets it as message body.
The flag is is to be used in place of--body
(-B
), so you can only use one or the other. -
For setting a custom User-Agent to be used by the internal client, a
--user-agent
(-u
) flag is provided:vecchioposter new-thread -u "CustomUserAgent" -b b -B "This is a new thread on board /b/" -f path/to/file.jpg
-
You can enable verbose logging with the
--verbose
(-v
) flag:vecchioposter new-thread -v -b b -B "This is a new thread on board /b/" -f path/to/file.jpg
To build VecchioPoster from source:
-
Make sure you have Go installed.
-
Clone the repository with git:
git clone https://github.com/anond0rf/vecchioposter.git
-
Change directory to the project folder:
cd vecchioposter
-
Build the project:
go build
An executable file will be produced in the root of the project.
VecchioPoster is licensed under the LGPL-3.0 License.
This means you can use, modify, and distribute the software, provided that any modified versions are also licensed under the LGPL-3.0.
For more details, please see the full text of the license in the LICENSE file.
Copyright © 2024 anond0rf