Retrieve a random record from the Fallout 76 game files. https://fwdekker.com/tools/random-fo76/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
F.W. Dekker 76f20188d9
Add site title to page title
3 weeks ago
src/main Add site title to page title 3 weeks ago
.editorconfig Add version number and best practices 2 years ago
.gitattributes Migrate to npm, use template package 2 years ago
.gitignore Migrate to npm, use template package 2 years ago
Gruntfile.js Remove inline styles and scripts 7 months ago
LICENSE Update dependencies 3 months ago
README.md Add version information 1 year ago
package-lock.json Add site title to page title 3 weeks ago
package.json Add site title to page title 3 weeks ago

README.md

Random Fallout 76 records

Allows a user to retrieve a random record from the Fallout 76 game files. The user can filter records by data type to avoid receiving uninteresting data types.

The back end, api.php, communicates with an SQLite database, .fo76-dumps-ids.db, containing the IDS.csv dump from the Fallout 76 data dumps repository, with an additional index sk_signature on the signature column. The database also has a table meta with text columns key and value that contain version information. Additionally, the database has an index sk_signature on the signature column. The database is not included in this repository.

The front end, index.html, sends asynchronous queries to the back end based on the user's settings. Selected data types are stored in a cookie so the user doesn't have to redo their settings each time the page is refreshed.

Development

Requirements

  • npm
  • a local PHP 7 server
  • a local copy of .fo76-dumps-ids.db

Setting up

# Install dependencies (only needed once)
$> npm ci

Building

# Build the tool in `dist/` for development
$> npm run dev
# Same as above, but automatically rerun it whenever files are changed
$> npm run dev:server
# Build the tool in `dist/` for deployment
$> npm run deploy