Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.idea
node_modules
cli/.staticrypt.json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was redundant. .staticrypt.json matches subdirectories as well.

.staticrypt.json
/cli/README.md
/cli/LICENSE
/cli/password_template.html
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,22 @@ If you don't want StatiCrypt to create or use the config file, you can set `--co

The salt isn't secret, so you don't need to worry about hiding the config file.

## Contributing

### Build
Built assets are committed to main. Run build before submitting a PR or publishing to npm.

```
# From staticrypt/
$ cd cli
$ npm install
$ npm run build
```

### Test
Testing is currently manual to keep dependencies low.
[Build](#build), then open `example_encypted.html`.

## 🙏 Contribution

Thank you: [@AaronCoplan](https://github.com/AaronCoplan) for bringing the CLI to life, [@epicfaace](https://github.com/epicfaace) & [@thomasmarr](https://github.com/thomasmarr) for sparking the caching of the passphrase in localStorage (allowing the "Remember me" checkbox)
Expand Down
21 changes: 0 additions & 21 deletions cli/LICENSE

This file was deleted.

146 changes: 0 additions & 146 deletions cli/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "2.1.1",
"description": "Based on the [crypto-js](https://github.com/brix/crypto-js) library, StatiCrypt uses AES-256 to encrypt your input with your passphrase and put it in a HTML file with a password prompt that can decrypted in-browser (client side).",
"main": "index.js",
"files": [
"index.js",
"password_template.html",
"crypto-js.min.js"
],
"bin": {
"staticrypt": "./index.js"
},
Expand All @@ -17,6 +22,7 @@
"license": "MIT",
"devDependencies": {},
"scripts": {
"build": "bash ./scripts/build.sh",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down
Loading