Giter Club home page Giter Club logo

greatness's Introduction

Notice!

I don't really have the time to maintain Greatness (with school), so I'll be merging these features into another dotfiles manager in the coming months. Until then, I will continue to maintain this project, but after that, it will become defunct. I'll add a link to the dotfile manager I decide to commit these changes to (probably Dotter).

Greatness!

Greatness Logo

Achieve it! How you ask? Well, it's pretty simple; just use greatness!

Disclaimer

I do not believe that greatness is the best. It fits a medium sized niche, and thus cannot be best. Hence, we use the name greatness, not best.

Install greatness

Long way:

# Only run this if you don't have rust installed.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install from crates.io
cargo install great

# Or build the latest!
git clone https://github.com/IsaccBarker/greatness.git
cd greatness
cargo install --path .

Short way

bash -c "$(curl -fsLS https://git.io/JcDJe)"
great pull add -m Wowee/GreatnessIsAmazing # Defaults to github. Put in a full URL if you don't use GitHub!

What is greatness?

Greatness is you being great and better than everyone else. You have to uphold that superiority complex don't you?

How do I achieve greatness?

Simple! Use this tool. This tool is designed to bring your system up to a working state that you like in a small amount of time. It is flexible, 100% modular, and fast.

You can view the documentation (wiki) here!

Why is Greatness great?

Well, just remember the name. Greatness has to be the best. But if you are dim (but still great), here is a comparison chart.

Disclaimer

You may recognise this chart from Chezmoi, but with some rows stripped out. This is because I do not know what they mean, and thus cannot implement them. A clock simply means that it will be supported, but isn't yet. If you want them, please file a great issue/pr.

greatness chezmoi dotbot rcm homesick yadm bare git
Distribution Source/Binary Single binary Python package Multiple files Ruby gem Single script n/a
Install method Many Many git submodule Many Ruby gem Many Manual
Non-root install on bare system Difficult Difficult Difficult
Windows support
Bootstrap requirements Rust, automatic Go, automatic Python, git Perl, git Ruby, git git git
Source repos Single Single Single Multiple Single Single Single
dotfiles are... Files Files Symlinks Files Symlinks Files Files
Config file Required, Managed Optional Required Optional None Optional Optional
Password manager integration
Machine-to-machine file differences Scripting Templates Alternative files Alternative files Alternative files Alternative files, templates Manual
Custom variables in templates
Dotfile Merging
Scriptable
Modular
Executable files
Run scripts
Run once scripts 🕒
Software Auto-Install
Machine-to-machine symlink differences
File Tagging
Shell completion 🕒
Archive import 🕒
Archive export 🕒
Implementation language Rust, Lua Go Python Perl Ruby Bash C

As you can see, greatness is best. However, a sort of close second [chezmoi], has a weird name, is not scriptable, doesn't support dotfile merging, and isn't modular. This makes it not ideal for situations where you might want to pick parts of different peoples rices, merge them, script program installation (or have greatness do it for you), and then put it out into the world as a repository, which other people can then use as modules.

But don't use Windows. There is one reasons for this

  1. I don't have a Windows machine. Windows support may or may not be added in the future. The underlying code for supporting Windows is added to the best of my ability, but overall it should not work. Please note that not providing Windows support is mainly for your safety; I would hate for anything bad to happen to your files.

What is greatness isn't to my taste, but I want to stick with rust?

No worries! Check out dotter or toml bombadil.

greatness's People

Contributors

dependabot[bot] avatar isaccbarker avatar loadedsith avatar roland-5 avatar shchvova avatar thelocehiliosan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

greatness's Issues

Short Install No Work

the short install method does not work cause the first statement is exit

$ curl -fsLS https://git.io/JcDJe
echo "$@"
exit

if [[ $OSTYPE == 'darwin'* ]]; then

`greatness init` in docs should be `great init`.

# Let's check out great!
mba :: ~  » great status
🙀 It looks you haven't initialized yet! Use `greatness init` to initialize. P.S, we found this out by looking through some pretty great binoculars.
# Great! Gotta use the init command it suggests `greatness init`
mba :: ~  » greatness init 
zsh: command not found: greatness
# huh, it must mean `great init`
mba :: ~  » great init     
# Great! No errors
mba :: ~  » great status
🦔 Greatness directory: /Users/brad/.greatness
🦔 Greatness pulling  : /Users/brad/.greatness/pulled
🦔 Greatness state : /Users/brad/.greatness/greatness.yaml
🦔 Greatness git pack : /Users/brad/.greatness/packed/git
🦔 Greatness scripts  : /Users/brad/.greatness/scripts

🦔 No files added!
🦔 No external repositories installed!

Bingo!

Looking forward to checking this project out! Thank you for taking on such a cool project.

Thanks

I am super Greatness now

How to add directory?

I have a ~/.zsh/ directory with a bunch of other files and directories. I can't seem to add the directory into great. How can i do this? I tried doing great add .zsh and great add .zsh/* the former didn't work, and the latter only worked for files (not directories) and only the first level of files.

mba :: ~  » great add .zsh .zshrc
🦔 The file .zsh doesn't exist, and thus cannot become great (be added). Skipping....

great prompt issue with fish shell

My default shell is fish and when I run great prompt I am getting the error below.

🦔 You are now in a great child shell. Type `exit` to return to your great previous shell!
/bin/fish: option requires an argument -- 'f'

Apparently fish doesn't like the -f flag, and it's not actually opening a new shell due to the error.

Thought I'd let you know.

How is the merge with dotter going?

First, thank you for putting this project into existence.
I'm sad to see you have to leave it out. I'm using chezmoi, and this looks like the best alternative.
But I understand you may not have time to invest into something that ungrateful like an open source project.

I wonder, how is the process of porting this to dotter? dotter doesn't seem to have as many features as greatness.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.