Skip to main content

Install dot files and packages, including a base mode with sensible defaults to run on most computers running Debian based distros or macOS.

Project description

💻 onboardme

Get your daily driver just the way you like it, from textformatting, and dot files to opensource package installation, onboardme intends to save you time with initializing or upgrading your environment.

Features

  • manage your dot files using a git repo (or use our default dot files 😃)
  • install and upgrade libraries and apps
    • supports different several package managers and a couple of operating systems
    • can group together packages for different kinds of setups, e.g. gaming, devops, gui
  • easy yaml config files in your $HOME/.config/onboardme/ directory

Screenshots

Example of onboardme --help

screenshot of full output of onboardme --help

Example of the terminal after onboardme runs

screenshot of terminal after running onboardme. includes colortest-256, powerline prompt, icons for files in ls output, and syntax highlighting examples with cat command.

Quick Start

Installation

The quickest way to get started on a fresh macOS or distrubtion of Debian (including Ubuntu) is:

# this will download setup.sh to your current directory and run it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/jessebot/onboardme/main/setup.sh)"

# this will display the help text for the onboardme cli
onboardme --help

You can also read more in depth Getting Started Docs 💙!

There's also more documentation on basically every program that onboardme touches.

Upgrades

If you're on python 3.11, you should be able to do:

pip3.11 install --upgrade onboardme

Configuration

onboardme has lots of CLI options, but you can also use config files. You have to create these files for the time being.

Config files are in ~/.config/onboardme/ (will use $XDG_CONFIG_HOME, if defined). Examples below:

config.yaml
log:
  # Full path to a file you'd like to log to. Creates file if it doesn't exist
  file: ""
  # what level of logs to output (DEBUG, INFO, WARN, ERROR)
  level: "INFO"

# steps refer to a specific function in the list of functions we run
steps:
  # these are mac specific steps
  Darwin:
    - dot_files
    - packages
    - font_setup
    - vim_setup
    - neovim_setup
    - sudo_setup
  # these are linux specific steps
  Linux:
    - dot_files
    - packages
    - font_setup
    - vim_setup
    - neovim_setup
    - group_setup

dot_files:
  # personal git repo URL for your dot files, defaults to jessebot/dot_files
  git_url: "https://github.com/jessebot/dot_files.git"
  # the branch to use for the git repo above, defaults to main
  git_branch: "main"
  # !CAREFUL: runs a `git reset --hard`, which will overwite/delete local files in ~ that
  # conflict with the above defined git repo url and branch. You should run 
  # `onboardme -s dot_files` to get the files that would be overwritten
  overwrite: false

# basic package config
package:
  # Remove any of the below pkg managers to only run the remaining pkg managers
  managers:
    # these are macOS specific steps
    Darwin:
      - brew
      - pip3.11
    # these are linux specific steps
    Linux:
      - brew
      - pip3.11
      - apt
      - snap
      - flatpak
  # list of extra existing packages groups to install
  groups:
    - default
    # uncomment these to add them as default installed package groups
    # - gaming
    # - devops

Under the Hood

Made for the following OS (lastest stable):

made-for-macOS made-for-debian made-for-ubuntu

Optimized for:

made-with-for-vim made-with-python made-with-bash

Built using these great projects:

rich python library logo with with yellow snake nerd-fonts: Iconic font aggregator, collection, and patcher

Status

Still not production ready, but reasonably stable :)

Please report 🐛 in the GitHub issues, and we will collect them, and release them into the wild, because we are vegan and nice. (Kidding, we will help! 😌)

We love contributors! Feel free to open a pull request, and we will review it asap! :)

:star: If you like this project, please star it to help us keep motivated :3

Contributors

jessebot
JesseBot
cloudymax
Max!

Shameless plugs for other projects

Get running on a machine using a bootable USB stick with pxeless.

Get started with virtual machines and QEMU with scrap metal.

Get started with testing kubernetes locally, even on metal with smol k8s lab.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onboardme-0.16.1.tar.gz (44.1 kB view hashes)

Uploaded Source

Built Distribution

onboardme-0.16.1-py3-none-any.whl (47.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page