scottrobbins / hoard Goto Github PK
View Code? Open in Web Editor NEWA simple tool to allow backing up files to a git repository and keeping them in sync across computers.
License: MIT License
A simple tool to allow backing up files to a git repository and keeping them in sync across computers.
License: MIT License
I want this to be able to be used as a part of a Swift script just to build bigger personal automation tools for myself
I frequently forget to run hoard collect
and hoard distribute
. Then by the time I finally do I always have a conflict. They're really easy to resolve but there has to be a smoother process. It'd be great if there was some way to keep this up to date more frequently and avoid these conflicts.
This could also help with people (and myself) who develop on linux.
Libraries are not up to date. Need to resolve that.
Self explanatory
You don't want to upload unencrypted secrets. It would be nice if we used some tool (I didn't write) to check for secrets in any of these files and warn users before committing and pushing them.
It should also have an ability to opt in/out to this feature on a global level and a file level.
Idk what the best tool to do this would be or the best way to do it, but it'd be cool if you could store secrets in one of these repos by encrypting the file before collecting, and decrypting when redistributing.
But I would need to seriously consider if I am confident enough in the encryption used and my implementation to have this open source.
Right now i will take something like .zshrc
and then call it something like my-zshrc.zshrc
. a dotfile does not have an extension, it should just be my-zshrc
.
You may want to review your changes before pushing them to avoid uploading sensitive data.
When this is at a point where I think it's a solid tool for more than just me, I would like to move it to my SwiftBuildTools account
It'd make distributing this type of tool so much easier if it could be distributed and used w/o Swift installed
Add ability to recursively search backwards for a config with a specific name, like .hoard.yml
if none is specified
Add comment to README explaining that people should not have unencrypted secrets in the files they are collecting, and this tool does not check for them.
this will make it easier to add new files to make sure you're storing them. Same with removing.
This is the other half of this tool really. It should use that same configuration to grab files from the git repo and re-distribute them onto the user's machine.
This will do overwrites, so it would be good if we could make a copy of the file it's overwriting and save it there under a different name before writing over it. As an improvement, if we could hash the new file and put that in the name of the renmaed one it would be useful to try to avoid overwriting that twice because of running the distribute command twice and needlessly destroying the file that was overwritten.
Showign how to install, use, a gif, maybe a banner, etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.