- ActionFPS @ GitHub
- ActionFPS/game-log-parser @ GitHub
- ActionFPS/server-pinger @ GitHub
- Scala for data processing and Play framework: solid, stable toolkit for dealing with complex data.
- jsoup for rendering templates: dynamic, works well with HTML5 and XML.
My preference is to have everything in a single Git repository but I did some refactoring to move the stable bits out of the repository into their own libraries/modules/repositories so that the stable stuff does not get in the way any more.
- Portal: https://github.com/ScalaWilliam/ActionFPS
- syslog ingester for AC: https://github.com/ScalaWilliam/syslog-ac Will try to make it generic though.
Install SBT: http://www.scala-sbt.org/download.html
Use IntelliJ Community Edition: https://www.jetbrains.com/idea/download/. Simply import the directory as an 'SBT' project.
This will load all the data and cache the computations in-memory, so you can work on the front-end. If you wish to not cache all the data & would like to recompute it instead, use:
sbt 'web/run -Dfull.provider=normal'
sbt clean test it:test
The API endpoints are intended to be stable.
We provide CSV where possible, and JSON otherwise.
[cors] means that you can call this API endpoint from a browser AJAX client.
Where CORS is not allowed, we expect you to use server-side access instead. The list of these definitions is specified in application.conf
- https://actionfps.com/player/by-email/[email protected] [cors]: map an e-mail to player. Can be used in conjunction with Google+ Sign In.
- https://actionfps.com/players/?format=json [cors]: list all players.
- https://actionfps.com/all/games.ndjson[?since=2017-01...] (we just use string comparison)
We offer access to raw logs from ActionFPS.
- Historical data:
curl -s 'https://actionfps.com/logs.tsv?from=2017-01-01T00:00:00Z&to=2099-04-10T11:02:03Z'- get raw events for these time periods using the tab-separated values (TSV) format.
- Live data from the end:
curl -s 'https://actionfps.com/logs'- get live events using EventSource standard.
- Live data from a specified time:
We filter out some data for privacy reasons:
- IP Addresses are turned to
- Person-to-person messages are not displayed.
To have access to the true stream we use JWT.
- https://actionfps.com/game/?id=2015-04-04T14:09:12Z&format=json [cors]: retrieve a single game
- https://actionfps.com/clan/?id=woop&format=json [cors]: retrieve a single clan
- https://actionfps.com/clanwar/?id=2017-01-06T22:25:14Z&format=json [cors]: retrieve a single clanwar
- https://actionfps.com/servers/?format=json [cors]: retrieve the full server list
As defined in web/app/controllers/Dev.scala#L27.
So you can edit templates without having to have the true data.
Continuous Deployment: master --> https://git.watch/ --> build & restart. Simple monolithic deployment.