https://github.com/syncom/dmcv-sharks-shang
Information page for DVMC Sharks GU10 Soccer, Fall 2023 (Team Flamin' Hot Cheetos)
https://github.com/syncom/dmcv-sharks-shang
Last synced: 4 months ago
JSON representation
Information page for DVMC Sharks GU10 Soccer, Fall 2023 (Team Flamin' Hot Cheetos)
- Host: GitHub
- URL: https://github.com/syncom/dmcv-sharks-shang
- Owner: syncom
- Created: 2023-08-15T05:45:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T21:27:30.000Z (about 2 years ago)
- Last Synced: 2025-02-25T07:47:28.697Z (over 1 year ago)
- Language: HTML
- Homepage: https://syncom.github.io/dmcv-sharks-shang/
- Size: 12.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DMCV Sharks GU10 Soccer Information, 2023
This repository is for publication of information for my DMCV Sharks GU10 team
in fall 2023.
Private information is password protected using
[StatiCrypt](https://github.com/robinmoisson/staticrypt). Encrypted pages are in
directory [private](./private/).
## How to add a new encrypted page for the first time
1. Create a new plaintext file, say, `sample.html`, and populate its content.
2. Generate password protected, encrypted page `private/sample.html`
```bash
# Use orange color 'ffa500' for Team Cheetos. Enter selected password when
# prompted
npx staticrypt sample.html --template-color-primary "#ffa500" --template-instructions "Enter password to unclock the page" -d private
```
Write down or remember the selected password for accessing page content.
3. Delete the plaintext file `sample.html`. Publish only the encrypted file
`private/sample.html`.
## How to update an encrypted page
1. Decrypt the encrypted page, say, `private/sample.html`, into a plaintext file
`decrypted/sample.html` using the right password
```bash
# Enter selected password when prompted
npx staticrypt private/sample.html --decrypt
```
2. Update the plaintext file `decrypted/sample.html`
3. Re-encrypt the updated plaintext file `decrypted/sample.html` to get
encrypted `private/sample.html`
```bash
# Use orange color 'ffa500' for Team Cheetos. Enter selected password when
# prompted
npx staticrypt decrypted/sample.html --template-color-primary "#ffa500" --template-instructions "Enter password to unclock the page" -d private
```
4. Delete the plaintext file `decrypted/sample.html`. Publish only the encrypted
file `private/sample.html`.