Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a-sync/ofcra-presets
OFCRA Arma 3 Launcher presets generated from OFCRA ArmA3Sync events.
https://github.com/a-sync/ofcra-presets
arma3 arma3-launcher arma3-mods arma3sync ofcra
Last synced: about 1 month ago
JSON representation
OFCRA Arma 3 Launcher presets generated from OFCRA ArmA3Sync events.
- Host: GitHub
- URL: https://github.com/a-sync/ofcra-presets
- Owner: a-sync
- License: agpl-3.0
- Created: 2022-02-04T07:25:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T20:38:47.000Z (8 months ago)
- Last Synced: 2024-11-24T16:56:44.490Z (about 2 months ago)
- Topics: arma3, arma3-launcher, arma3-mods, arma3sync, ofcra
- Language: HTML
- Homepage: https://ofcra-presets.fly.dev
- Size: 733 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ofcra-presets
[OFCRA](https://ofcrav2.org) Arma 3 Launcher presets generated from OFCRA ArmA3Sync events.## Screenshots
## Running locally
Install dependencies (`npm i`) first, then build artifacts with `npm run build` and start with `npm start` or just use `npm run dev`.
Web service starts at `http://localhost:8080` by default.
*Some configuration available via [env vars and local variables](server.ts).*## API
#### GET /
Serves [index.html](index.html) which has the client side logic that handles all the events, mods and changelogs data to render the UI and generate the preset files.
#### GET /data
REST API that returns calendar events, ArmA3Sync events and changelogs and related mods data in JSON format.
Mod data *(id, name, workshop id or download url)* is gathered from various data sources and permanently cached in the `MOD_DB_FILE`.
#### GET /flush/`SECRET`
Triggers the deletion of the `MOD_DB_FILE`.## Data sources
#### Events
1. OFCRA web: https://ofcrav2.org
#### Presets, changelogs
1. ArmA3Sync server: https://repo.ofcra.org/.a3s/
#### Mods
1. `MOD_OVERRIDES` variable ([server.ts](server.ts#L11))
2. mods index (https://ofcrav2.org/index.php?page=repository-en)
3. source files in the mods repo (https://repo.ofcra.org/)
1. meta.cpp
2. mod.cpp
4. steam workshop