Upload README.md with huggingface_hub
Browse files12334556778910119 unmodified lines130131132133134135136137138139140141142143144145137146147148149150151152153154155156157158159160161162163164141165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211145212213214215216217218219220221222223151152153154224225226227228229230231232157233234235236237238239240241242243244245246247248249250251252253254255256257258259161260261262263264265266267268269270271272273274165275276277278279280281282283284285286169287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323173174175176324325326327328329330331332333334335# OPEN
   
   
> Governed Anticloud packaging of the upstream project `OPEN` in category **POS_SYSTEMS**. check results: see ISOLATED_LAB_RESULTS. Every number below traces to a named file + run stamp; nothing is borrowed from other projects.
> Anticloud-hardened packaging of the upstream project `OPEN` in category **SOLAR**. Upstream source is vendored in `UPSTREAM_CLONE/` at the pinned commit below; the 12-improvement overlay lives in `anticloud/`. Every fact in this file traces to a file on disk in this project directory.
**Upstream:** https://github.com/kimdj/OpenPOS · **Upstream pin:** `f1f4d12452e5cefa7b3a96c2e3edb114edd31cf2` · **Category:** POS_SYSTEMS · **Vendor:** Anticloud FZ LLE · **Licence:** MIT
**Category:** SOLAR · **Upstream:** https://github.com/kimdj/OpenPOS · **Upstream pin:** `f1f4d12452e5cefa7b3a96c2e3edb114edd31cf2` · **Vendor:** Anticloud FZ LLE
---
119 unmodified lines
[The MIT License](LICENSE.md)
*Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
Project-specific facts detected in this directory:
- Ecosystem: **Node.js / npm** (manifests: package.json, package-lock.json; scanned in UPSTREAM_CLONE)
- Top-level source layout: `app/`, `models/`, `public/`, `routes/`, `views/`
- Snapshot size: **27 files**, **3342 lines of code** (measured; see Benchmarks)
- Primary languages: `.js` (8), `.handlebars` (4), `.css` (3), `(none)` (2), `.json` (2), `.md` (2)
- Upstream commit pinned for this packaging: `f1f4d12452e5cefa7b3a96c2e3edb114edd31cf2`
---
## Installation
See the upstream documentation quoted in What This Project Does above.
No installation section was found in the upstream readme, so the commands below are generated from the manifests detected in this project directory.
```sh
# from this project directory
npm install # or: npm ci
npm run build # if a build script is declared
```
Overlay install (this project):
```sh
python -m pip install -e anticloud/ # overlay package with the 12 improvements
python anticloud/cli.py --help # 13 subcommands, JSON stdout
```
---
## Usage
See the upstream documentation quoted in What This Project Does above.
source the project
```
$ git source https://github.com/kimdj/OpenPOS.git
```
Change directory to the project
```
$ cd ./OpenPOS
```
Install dependencies
```
$ npm install
```
If you're using a local MongoDB instance, start the service:
```
$ mongod --dbpath /data/db
```
Or, if you're using MongoDB Atlas, connect to the database:
```
$ mongo "mongodb://openposcluster-shard-00-00-zb2uf.mongodb.net:27017, openposcluster-shard-00-01-zb2uf.mongodb.net:27017, openposcluster-shard-00-02-zb2uf.mongodb.net:27017/test?replicaSet=OpenPOSCluster-shard-0" --authenticationDatabase admin --ssl --username <USERNAME> --password
```
Start the server
```
$ gulp
```
Or, start the web app
```
$ node server.js
```
*Section quoted from the upstream readme.*
Anticloud overlay CLI (available in every project):
```sh
python anticloud/cli.py --help # 13 subcommands, JSON stdout
python anticloud/cli.py checks # run the 16-check suite
```
---
## API
See upstream source in UPSTREAM_CLONE/ and the quoted documentation above.
The upstream API surface is defined by the `OPEN` source tree vendored in `UPSTREAM_CLONE/` (Node.js / npm ecosystem). Public entry points:
- Source modules: `app/`, `models/`, `public/`, `routes/`, `views/`
- The snapshot declares 26 dependency references across 1 ecosystem(s); see Dependencies below.
- Overlay API: `anticloud/cli.py` exposes 13 subcommands with JSON stdout; `anticloud/bench/runner.py` runs the 16-check suite; `anticloud/provenance/chain.py` exposes the SHA3-256 + Ed25519 provenance chain.
---
## Dependencies
| Metric | Value |
|--------|-------|
| Files | unknown |
| Lines of Code | unknown |
| Dependencies | unknown |
| Upstream license (harvested) | MIT |
| Ecosystem | Node.js / npm |
| Manifests detected | package.json, package-lock.json |
| Files in snapshot | 27 |
| Lines of code | 3342 |
| Dependency references | 26 |
| Dependencies by ecosystem | npm: 26 |
| Upstream license | MIT |
| Overlay license | Anticommons 0.1.0 |
Dependency manifests live in `UPSTREAM_CLONE/`; pinned lockfile in `anticloud/` where applicable.
Top dependency references recorded in the benchmark snapshot:
| Ecosystem | Name | Version | Source file |
|-----------|------|---------|-------------|
| npm | bcryptjs | ^2.4.3 | package.json |
| npm | body-parser | ^1.17.2 | package.json |
| npm | connect-flash | ^0.1.1 | package.json |
| npm | cookie-parser | ^1.4.3 | package.json |
| npm | express | ^4.15.4 | package.json |
| npm | express-handlebars | ^3.0.0 | package.json |
| npm | express-messages | ^1.0.1 | package.json |
| npm | express-session | ^1.15.5 | package.json |
| npm | express-validator | ^3.2.1 | package.json |
| npm | gulp | ^3.9.1 | package.json |
| npm | gulp-autoprefixer | ^4.0.0 | package.json |
| npm | gulp-cli | ^1.4.0 | package.json |
| npm | gulp-concat | ^2.6.1 | package.json |
| npm | gulp-minify-css | ^1.2.4 | package.json |
| npm | gulp-nodemon | ^2.2.1 | package.json |
| ... | (11 more) | | |
Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
---
## Configuration
See upstream source in UPSTREAM_CLONE/ and the quoted documentation above.
No configuration section was found in the upstream readme. Configuration-relevant files detected in this project directory:
- `package.json`
Overlay configuration (Anticloud):
- `anticloud/` - improvement overlay; environment-driven, no cloud dependency
- `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
- `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
- `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
---
## Contributing
Fork the project, create a feature branch, run the test suite, and open a pull request against upstream.
Upstream contributions: fork the `OPEN` project, create a feature branch, and open a pull request against upstream. Keep `UPSTREAM_CLONE/` untouched in this packaging; put improvements in the `anticloud/` overlay.
Overlay contributions: run the 16-check suite before opening a pull request:
```sh
python anticloud/bench/runner.py --cwd anticloud
```
---
## License
Upstream © its respective contributors under MIT (harvested MIT/Apache-2.0/BSD source; see `UPSTREAM_CLONE/LICENSE`). This packaging overlay is licensed under Anticommons 0.1.0.
**Upstream license: MIT** (evidence: `LICENSE.md` in the upstream snapshot).
License file excerpt:
```text
Copyright (c) 2017 David Kim
MIT License
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
```
### Anticommons 0.1.0 overlay
The Anticloud integration overlay in `anticloud/` - improvements 1 through 12 listed under Benchmarks - is licensed under **Anticommons 0.1.0**. Upstream code remains under its original MIT terms. See `ANTICOMMONS_LICENSE.md` in this directory for the overlay terms and contact.
SPDX: `MIT` (upstream) + Anticommons 0.1.0 (overlay, dual).
---
## Upstream
- **project:** https://github.com/kimdj/OpenPOS
- **Pinned SHA:** `f1f4d12452e5cefa7b3a96c2e3edb114edd31cf2`
- **source:** `UPSTREAM_CLONE/` (pinned at the SHA above)
- **Upstream README source:** `UPSTREAM_CLONE/README.md`
- **Project:** `OPEN` (category: SOLAR)
- **Upstream URL:** https://github.com/kimdj/OpenPOS
- **Pinned commit (SHA):** `f1f4d12452e5cefa7b3a96c2e3edb114edd31cf2`
- **Branch:** master
- **Pin provenance:** GitHub API commits/<branch> (response quoted in report). The parent-project stamp is explicitly rejected for this project.
- **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
- **Benchmark snapshot:** `BENCH.json`
---
## Benchmarks
README.md+174-18