https://github.com/blurgyy/dt

🏘 $HOME, $HOME everywhere

https://github.com/blurgyy/dt

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary

Keywords

aur cli command-line config configuration dotfile-manager dotfiles dt-cli handlebars rust syncing template templating

Keywords from Contributors

sequences observability productivity archival generic transformers optim annotation projection interactive
Last synced: 5 months ago · JSON representation

Repository

🏘 $HOME, $HOME everywhere

Basic Info
  • Host: GitHub
  • Owner: blurgyy
  • License: other
  • Language: Rust
  • Default Branch: main
  • Homepage: https://dt.cli.rs
  • Size: 2.82 MB
Statistics
  • Stars: 31
  • Watchers: 2
  • Forks: 0
  • Open Issues: 2
  • Releases: 23
Topics
aur cli command-line config configuration dotfile-manager dotfiles dt-cli handlebars rust syncing template templating
Created over 4 years ago · Last pushed about 2 years ago
Metadata Files
Readme Contributing License Code of conduct Roadmap

README.md

DT

release tests docs crates.io

DT allows you to sync/populate configuration files at will. It currently provides a CLI tool dt-cli.

Usage

The command line interface dt-cli accepts a path to the configuration file as an argument and performs the syncing process specified in the file.

Configuration guides and detailed usages can be found in the documentations.

Example

A simple working configuration file to sync all files from ~/dt/nvim to ~/.config/nvim that matches *init.vim can be written as:

toml [[local]] name = "Neovim Configs" base = "~/dt/nvim" sources = ["*init.vim"] target = "~/.config/nvim"

:warning: STOP HERE if you don't know what you are doing, or have not backed up existing files under ~/.config/nvim.

Save above config to ~/.config/dt/cli.toml and run

shell $ dt-cli -c ~/.config/dt/cli.toml

to start syncing. Note the path in this example (~/.config/dt/cli.toml) is also the default path, so the below command (calling dt-cli with no argument) does the same thing as above:

shell $ dt-cli

Other command line flags & options

| Flags | Description | |---:|:---| | -d\|--dry-run | Shows changes to be made without actually syncing files. | | -h\|--help | Prints help information. | | -q\|--quiet | Decreases logging verbosity. | | -v\|--verbose | Increases logging verbosity. | | -V\|--version | Prints version information. |

| Options | Description | |---:|:---| | -c\|--config-path <path> | Specifies path to config file. |

| Args | Description | |---:|:---| | <group-name>... | Specifies name(s) of the group(s) to be processed |

Install

AUR

dt-cli is in the AUR, you can install it with your favorite package manager:

shell $ paru -S dt-cli

Alternative ways

Alternatively, you can:

shell $ cargo install dt-cli

  • Build from source:

shell $ git clone git@github.com:blurgyy/dt.git $ cd dt $ cargo test --release $ cargo install --path=dt-cli

Contributing

There are numerous ways to help with this project. Let's get started!

License

Licensed under the the MIT license http://opensource.org/licenses/MIT or Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0, at your option. This file may not be copied, modified, or distributed except according to those terms.

Owner

  • Name: Gaoyang Zhang
  • Login: blurgyy
  • Kind: user
  • Company: Zhejiang University

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 471
  • Total Committers: 4
  • Avg Commits per committer: 117.75
  • Development Distribution Score (DDS): 0.163
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Gaoyang Zhang gy@b****z 394
github-actions[bot] g****] 61
dependabot[bot] 4****] 14
blurgyy b****y 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 32
  • Average time to close issues: 4 days
  • Average time to close pull requests: 12 days
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 3.0
  • Average comments per pull request: 1.03
  • Merged pull requests: 23
  • Bot issues: 0
  • Bot pull requests: 32
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • CharlesChiuGit (1)
  • etdr (1)
Pull Request Authors
  • dependabot[bot] (19)
Top Labels
Issue Labels
enhancement (1) good first issue (1)
Pull Request Labels
dependencies (19)

Packages

  • Total packages: 2
  • Total downloads:
    • cargo 55,668 total
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 47
  • Total maintainers: 1
crates.io: dt-core

Core utilities used by dt-cli

  • Versions: 24
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 28,890 Total
Rankings
Dependent packages count: 16.9%
Stargazers count: 22.1%
Downloads: 23.5%
Average: 25.9%
Dependent repos count: 29.3%
Forks count: 37.5%
Maintainers (1)
Last synced: 6 months ago
crates.io: dt-cli

$HOME, $HOME everywhere

  • Documentation: https://docs.rs/dt-cli/
  • License: MIT OR Apache-2.0
  • Latest release: 0.7.9
    published over 3 years ago
  • Versions: 23
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 26,778 Total
Rankings
Stargazers count: 22.1%
Downloads: 25.4%
Dependent repos count: 29.3%
Average: 29.6%
Dependent packages count: 33.8%
Forks count: 37.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

Cargo.lock cargo
  • 193 dependencies
dt-core/Cargo.toml cargo
  • color-eyre 0.6.0 development
  • pretty_assertions 1.0.0 development
  • content_inspector 0.2.4
  • dirs 4.0.0
  • gethostname 0.2.2
  • glob 0.3.0
  • handlebars 4.2.1
  • log 0.4.14
  • path-clean 0.1.0
  • regex 1.5.4
  • serde 1.0.133
  • serde_regex 1.1.0
  • serde_tuple 0.5.0
  • shellexpand 2.1.0
  • sys-info 0.9.1
  • toml 0.5.8
  • url 2.2.2
  • users 0.11.0
.github/workflows/release.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v2 composite
  • orhun/git-cliff-action v1 composite
  • svenstaro/upload-release-action v2 composite
.github/workflows/tests.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v2 composite
.github/workflows/typo-check.yaml actions
  • actions/checkout v2 composite
  • crate-ci/typos master composite