Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a5224c6
chore: Delete stuff
StikyPiston Jan 29, 2026
01eef87
chore: go.mod
StikyPiston Jan 29, 2026
6e452d4
chore: cobra-cli init
StikyPiston Jan 29, 2026
d4266a3
chore: Update command description
StikyPiston Jan 29, 2026
a9dea07
chore: gitignore file
StikyPiston Jan 29, 2026
8beb3bf
feat: Initial structure for list command
StikyPiston Jan 29, 2026
7ebd497
chore: Add warning to README, add preview image
StikyPiston Jan 29, 2026
6ee54dd
feat: Start work on list command
StikyPiston Jan 29, 2026
3b67ba4
feat: Implement keep dir searching
StikyPiston Jan 29, 2026
f2e95fa
chore: go mod tidy
StikyPiston Jan 29, 2026
47a828c
feat: Descriptions for list command
StikyPiston Jan 29, 2026
8e3397a
feat: List command functional
StikyPiston Jan 29, 2026
859fe72
chore: remove finished TODO
StikyPiston Jan 29, 2026
82b4295
docs: Add build instructions
StikyPiston Jan 29, 2026
87e6080
chore: Nix flake devshell
StikyPiston Jan 29, 2026
9ad01c8
chore: Remove copyright comment from top of main.go
StikyPiston Jan 29, 2026
47847c5
feat: refine list command output
StikyPiston Jan 29, 2026
2f6d006
feat: Start work on status command
StikyPiston Jan 29, 2026
411cbb5
ci: Build workflow
StikyPiston Jan 29, 2026
29ddef7
chore: Language format
StikyPiston Jan 29, 2026
a597f92
feat: Throw error if one occurs when reading keep directory in list c…
StikyPiston Jan 29, 2026
8f90d2b
feat: Status command
StikyPiston Jan 29, 2026
f67b2c8
feat: Polish status command
StikyPiston Jan 29, 2026
5f2dd87
feat: More final touches to status and list commands
StikyPiston Jan 29, 2026
04c84a5
feat: Make list command return after error
StikyPiston Jan 29, 2026
8262c9b
chore: Remove unneeded long command descriptions
StikyPiston Jan 29, 2026
a666f63
chore: Make flake not lock the shell up
StikyPiston Jan 29, 2026
7c9ffd8
feat: Start on deactivate command, consolidate types into single file
StikyPiston Jan 29, 2026
1d1d057
feat: Deactivate command
StikyPiston Jan 29, 2026
806c727
chore: Move deactivate logic into function
StikyPiston Jan 29, 2026
2727d2e
feat: Finish the project
StikyPiston Jan 29, 2026
65d8d57
chore: Add color package
StikyPiston Jan 29, 2026
6e973a6
feat: Colour output
StikyPiston Jan 29, 2026
ad29460
Merge branch 'main' into go
StikyPiston Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build Go project

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.25.6'

- name: Build
run: go build -v ./...
10 changes: 2 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
.DS_Store
/.build
/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
.build
dotkeeper
10 changes: 0 additions & 10 deletions LICENSE

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright © 2026 StikyPiston

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
15 changes: 0 additions & 15 deletions Package.swift

This file was deleted.

34 changes: 13 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# dotkeeper

> [!WARNING]
> This is the experimental **go** rewrite of dotkeeper.
> Some functionality may not be implemented

![A preview of Dotkeeper applying a keep](assets/preview.png)

A *keeper* for your *dotfiles*. See what I did there? *(booooooo)*
Expand All @@ -22,33 +26,21 @@ brew install stikypiston/formulae/dotkeeper

### Method 2: Manual Install

#### Dependencies

#### Dependencies:

- Swift (can be installed with `brew install swift`, or with `swiftly`)
To build *dotkeeper*, you will need a working installation of **go**.

#### Instructions
You can either:

To install manually, first clone the repository.
1. Install go with your package manager of choice (e.g. `brew`)
2. Use the **Nix Devshell** to build the project. (just run `nix develop`)

```bash
git clone https://github.com/StikyPiston/dotkeeper
```
#### Building

Then, `cd` into the directory.
To build, simply run:

```bash
cd dotkeeper
go build
```

Use `swift` to build the project.

```bash
swift build --configuration release
```

And finally, move the executable into a location like `/usr/local/bin/`

```bash
sudo mv .build/release/dotkeeper /usr/local/bin/
```
Move the resulting `dotkeeper` binary to some place like `/usr/local/bin` or `~/.local/bin`
235 changes: 0 additions & 235 deletions Sources/dotkeeper/main.swift

This file was deleted.

Loading