targeted OSes: *nix (but tested only Linux)
- Rust
- Clone this repository
- Set the environment variable
BINCHOTAN_TWITTER_CLIENT_ID
andBINCHOTAN_TWITTER_CLIENT_SECRET
to your OAuth2 (not 1.0a) credentials, or use.env
. cargo run
- Use the mock frontend to see it works.
- Clone repository:
git clone https://github.com/sei0o/binchotan-backend.git && cd binchotan-backend
- Build:
cargo build --locked --release
- Install a binary: recomend
~/.local/bin
or/usr/local/bin
- Install a
.service
file:cp resources/binchotan.service ~/.local/share/systemd/user/binchotan.service
- Modify
~/.local/share/systemd/user/binchotan.service
- Open
~/.local/share/systemd/user/binchotan.service
in an editor. - Modify
ExecStart
option - Paste
BINCHOTAN_TWITTER_CLIENT_ID
andBINCHOTAN_TWITTER_CLIENT_SECRET
from Twitter Developer Portal toEnvironment
option - Modify
Environment
's other variable properly.
systemctl daemon-reload
systemctl --user start binchotan
You can install from the AUR.
describe below options in .env
file or envitonment variables.
BINCHOTAN_CONFIG_FILE
: specify a config file's path.BINCHOTAN_TWITTER_CLIENT_ID
: OAuth 2.0 Client ID got from Twitter Developer PortalBINCHOTAN_TWITTER_CLIENT_SECRET
: OAuth 2.0 Client Secret got from Twitter Developer PortalBINCHOTAN_SOCKET_PATH
: specify socket's path using RPC connections.BINCHOTAN_CACHE_PATH
: specify cache file's pathBINCHOTAN_FILTER_DIR
: specify a directory's path where contains a filter
Please use binchotan-frontend-sample.
- binchotan-frontend-sample: frontend for manage accounts. CLI app.
- minichotan: minimal ui, handles multiple accounts. desktop client.
- Fork it (https://gitlab.com/sei0o/binchotan-backend/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request