{"id":40896154,"url":"https://github.com/stoogoff/sw-adversaries","last_synced_at":"2026-01-22T02:23:23.917Z","repository":{"id":12765704,"uuid":"72580786","full_name":"stoogoff/sw-adversaries","owner":"stoogoff","description":"A simple web app for looking up adversaries for the FFG's Star Wars RPG.","archived":false,"fork":false,"pushed_at":"2025-05-13T21:23:13.000Z","size":2274,"stargazers_count":68,"open_issues_count":6,"forks_count":30,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-05-13T21:27:39.013Z","etag":null,"topics":["babel","react"],"latest_commit_sha":null,"homepage":"http://swa.stoogoff.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stoogoff.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-11-01T22:06:05.000Z","updated_at":"2025-05-13T21:23:16.000Z","dependencies_parsed_at":"2023-11-28T23:24:07.068Z","dependency_job_id":"0e1afac1-81e8-49a3-b741-93203d6d51d9","html_url":"https://github.com/stoogoff/sw-adversaries","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/stoogoff/sw-adversaries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoogoff%2Fsw-adversaries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoogoff%2Fsw-adversaries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoogoff%2Fsw-adversaries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoogoff%2Fsw-adversaries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stoogoff","download_url":"https://codeload.github.com/stoogoff/sw-adversaries/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoogoff%2Fsw-adversaries/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","react"],"created_at":"2026-01-22T02:23:23.861Z","updated_at":"2026-01-22T02:23:23.908Z","avatar_url":"https://github.com/stoogoff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Star Wars: Adversaries\n\nA simple web app for looking up adversaries for the FFG's Star Wars RPG. See it in action here: http://swa.stoogoff.com/.\n\nBuilt using:\n\n- [Babel](https://babeljs.io)\n- [React](https://facebook.github.io/react/)\n- [Gulp](http://gulpjs.com/)\n- Icons by [IcoMoon](https://icomoon.io/app/)\n- Dice font from [FantasyFlightIcons](https://github.com/aflegel/FantasyFlightIcons)\n\n## Structure\n\n- build - build using gulp and babel\n- dev - development version, created by gulp\n- live - live version, created by gulp, everything is minified\n- src - source code\n\t- src/media - all assets\n\t\t- src/media/data - JSON files containing adversary data\n\t\t- src/media/fonts - Star Wars dice font\n\t\t- src/media/js - all javascript\n\t\t\t- src/media/js/components - React components\n\t\t\t- src/media/js/lib - config and utilities\n\t\t- src/media/sass - sass stylesheet\n\n## Install and Build\n\nIn the build directory run `npm install`. Once everything has installed run any of the following:\n\n- `gulp dev clean` Delete the dev directory and start afresh.\n- `gulp dev build` Completely build the project into the dev directory.\n- `gulp watch` Watch files for changes and rebuild as necessary.\n\nFor Windows:\n\n- Download npm from https://nodejs.org/en/download/.\n- Add C:\\Program Files\\nodejs\\ to your path.\n- Switch to your build directory and run `npm install`.\n- Then run `npm install react@16.12.0`, and then `npm install react-dom@16.12.0`.\n- To build from the build directory, run node_modules\\.bin\\gulp dev build, or node_modules\\.bin\\gulp live build.\n\n## Host Locally\n\nFor Windows:\n\n- In the build directory, run `npm install http-server -g`\n- Run `http-server ../dev -c-1 -p 8010` to start a local server on port 8010 with no caching. In your browser, navigate to http://localhost:8010\n- If you want to see changes reflected immediately, open a new Powershell/CMD window and run `gulp dev watch` in the build directory\n- Change any of the watched files (including the JSON data files) and refresh the browser to see the changes\n\nAlternatively, if you have python installed run `npm run server` from the build directory. This will start a web server using `python -m SimpleHTTPServer` with the ../dev directory as the root.\n\n## Gulp\n\nMain tasks:\n\n`live` Output to the live directory and minify Javascript and CSS.\n\n`dev` Output to the dev directory as is. This is the default action.\n\n`clean` Delete the output directory.\n\n`build` Build everything and save to the output directory.\n\n`watch` After the `dev` task has completed watch all HTML, JS, SASS and JSON files for changes.\n\n`deploy` After the `live` task has completed deploy to an AWS bucket. Target and authentication details need to be placed in a file called aws.json in the build directory. The format for this is:\n\n``` JSON\n{\n\t\"key\": \"AUTH_KEY\",\n\t\"secret\": \"AUTH_SECRET\",\n\t\"bucket\": \"BUCKET_NAME\",\n\t\"region\": \"REGION\"\n}\n\n```\n\nThis is only useful if you have your own AWS setup and are planning on hosting a copy yourself.\n\n## Completed Adversaries\n\n- core books\n\t- Age of Rebellion\n\t- Edge of the Empire\n\t- Force and Destiny\n- gm kits\n\t- EotE (Debts to Pay)\n\t- AoR (Dead in the water)\n\t- Fad (Hidden Depths)\n- source books\n\t- Lords of Nal Hutta\n\t- Strongholds of Resistance\n\t- Suns of Fortune\n\t- Nexus of Power\n\t- Dawn of Rebellion\n\t- Rise of the Separatists\n\t- Collapse of the Republic\n- collected source books\n\t- Allies and Adversaries\n\t- Gadgets and Gear\n- career books\n\t- *Dangerous Covenants (no stats)*\n\t- Enter the Unknown (5 droids)\n\t- Desparate Allies\n\t- Endless Vigil\n\t- Far Horizons\n\t- *Fly Casual (no stats)*\n\t- *Forged in Battle (no stats)*\n\t- Keeping the Peace\n\t- Knights of Fate\n\t- Lead by Example\n\t- *No Disintegrations (no stats)*\n\t- Savage Spirits\n\t- Special Modifications\n\t- Stay on Target\n\t- *Unlimited Power (no stats)*\n\t- Fully Operational\n\t- Cyphers and Masks\n\t- Disciples of Harmony\n- beginner's games\n\t- Age of Rebellion (Takeover at Whisper Base)\n\t- Edge of the Empire (Escape from Mos Shuuta)\n\t- Force and Destiny (Mountaintop Rescue)\n\t- The Force Awakens (Discovery on Jakku)\n- adventure books\n\t- Beyond the Rim\n\t- Chronicles of the Gatekeeper\n\t- Jewel of Yavin\n\t- Friends Like These\n\t- Ghosts of Dathomir\n\t- Mask of the Pirate Queen\n\t- Onslaught at Arda I\n\t- Rescue at Glare Peak\n\t- Under a Black Sun\n- adventures\n\t- A Call for Heroes (TFA follow on adventure)\n\t- A Deal Gone Wrong\n\t- A Quick Stopover\n\t- Beyond the Boiling Sea\n\t- Beyond the Rim\n\t- Crates of Krayts (EotE Beta adventure)\n\t- Chronicles of the Gatekeeper\n\t- Claustrophobia\n\t- Conical Six Summit\n\t- Dead in the Water (AoR GM Kit)\n\t- Debts to Pay (EotE GM Kit)\n\t- Escape from Mos Shuuta\n\t- Exploring the Acablas Ruins\n\t- Friends Like These\n\t- Ghosts of Dathomir\n\t- Hard Bargain\n\t- Hidden Depths (FaD GM Kit)\n\t- If It Sounds too Good to be True...\n\t- In Too Deep\n\t- Jewel of Yavin\n\t- Lessons from the Past\n\t- Long Arm of the Law\n\t- Lost Knowledge (FaD Beta adventure)\n\t- Mask of the Pirate Queen\n\t- Onslaught at Arda I\n\t- Operation Shadowpoint (AoR follow on adventure)\n\t- Operation: Shell Game (AoR Beta game)\n\t- Perlemian Haul\n\t- Phantoms in the Dark\n\t- Rescue at Glare Peak\n\t- Rubbing Slimy Elbows\n\t- Sabacc Game on the Row\n\t- Taming the Dragon\n\t- Takeover at Whisper Base\n\t- The Corellian Shuffle\n\t- The Dead Road\n\t- The Geharr Incident\n\t- The Long Arm of the Hutt (EotE follow on adventure)\n\t- The Light Within\n\t- The Menagerie\n\t- The Trial of Skill\n\t- Toydarian Grocery Shopping\n\t- Trouble Brewing\n\t- Tunnel Delving\n\t- Under a Black Sun\n\t- Vault of Justice\n\t- Welcome Aboard\n\t- Witch’s Wrath\n\t- Lure of the Lost (FaD follow on adventure)\n\n## TODO\n\n- Print multiple tabs\n- Collapse of the Republic\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoogoff%2Fsw-adversaries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoogoff%2Fsw-adversaries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoogoff%2Fsw-adversaries/lists"}