https://github.com/nathanborror/swift-wit
https://github.com/nathanborror/swift-wit
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nathanborror/swift-wit
- Owner: nathanborror
- Created: 2025-07-05T17:24:14.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-31T05:57:44.000Z (10 months ago)
- Last Synced: 2025-07-31T07:44:21.896Z (10 months ago)
- Language: Swift
- Size: 227 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
██ ██ ██ ████████
██ ██ ██ ██
██ █ ██ ██ ██
██ ███ ██ ██ ██
███ ███ ██ ██
The Wild Information Tracker (WIT) is a content addressable storage tool for managing files within a Wild instance. It's inspired by Linus Torvalds' Git.
Requirements:
- Swift 6.1+
- iOS 18+
- macOS 15+
Config file maintains stable information about a user and their remotes:
[core]
version = 1.0
publicKey = PUBLIC_KEY_STRING
[user]
id = USER_ID
name = Nathan Borror
email = nathan@example.com
username = nathan
[remote "origin"]
url = http://localhost:8080/USER_ID
Common directory structure is similar to Git. The objects folder is designed to work in a custom location to take advantage of a larger pool of storage:
~/
└ /
└ .wild/
├ config
├ HEAD
├ logs
├ objects/
└ remotes/
└ origin/
├ HEAD
└ logs
The command-line tool will operate similar to IRC's line delimited interface:
> PULL
> WRITE foo.txt :This is my foo file
> WRITE bar.txt :This is my bar file
> RM baz.txt
> COMMIT :Updates for the day
> PUSH origin/main
> CONFIG SET user.name :Vint Cerf
> CONFIG SET user.email :vint@example.com
> CONFIG LS
> CONFIG CAT user.email
> LS