Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ken-matsui/psync
A tool to sync software across devices
https://github.com/ken-matsui/psync
Last synced: about 2 months ago
JSON representation
A tool to sync software across devices
- Host: GitHub
- URL: https://github.com/ken-matsui/psync
- Owner: ken-matsui
- License: mit
- Created: 2022-01-25T12:46:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T12:51:14.000Z (about 1 year ago)
- Last Synced: 2024-05-02T04:41:18.625Z (9 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/psync
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# psync [![crates.io version](https://img.shields.io/crates/v/psync.svg)](https://crates.io/crates/psync) [![crates.io downloads](https://img.shields.io/crates/d/psync.svg)](https://crates.io/crates/psync)
A tool to sync software across devices
## Installation
```sh
cargo install psync
```## Usage
### `~/.config/psync/config.toml`
```toml
[homebrew]
taps = [
"hashicorp/tap",
{ name = "messense/macos-cross-toolchains", on = "macos" },
]
forumale = [
"neovim",
{ name = "trash", on = "macos" },
]
# You do not need to specify `on` for `casks` since casks are only for macOS
casks = [
"alacritty",
"discord",
][cargo]
crates = [
"cargo-update",
"suggest-command-not-found",
][snap]
snaps = [
{ name = "alacritty", classic = true },
"discord",
]
```When you run `psync`, it automatically installs only specified, not-installed packages.
A full example is placed [here](https://github.com/ken-matsui/dotfiles/blob/main/.config/psync/config.toml).
## Contribution
Contributions, including issues and pull requests, are very welcome.
### Build
```bash
$ cargo build
```### Test
```bash
$ cargo test
```### Publish
#### [GitHub Releases](https://github.com/ken-matsui/keep-installed/tags)
```bash
$ git tag v0.1.0
$ git push origin v0.1.0
```#### [crates.io](https://crates.io/)
```bash
$ cargo publish
```