| TODO.md - linuxgaming - Linux gaming aggregate tool, built to test out NodeJS. | |
| git clone git://jay.scot/linuxgaming | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| TODO.md (2444B) | |
| --- | |
| 1 # TODO | |
| 2 | |
| 3 Stuff I never got around to completing. | |
| 4 | |
| 5 ## Move updates | |
| 6 | |
| 7 Updates are currently run via cronjobs added to instances via AWS | |
| 8 ebextensions. This is shit for a few reasons: | |
| 9 | |
| 10 - if auto scaling kicks in then the cronjobs will run on 1*X servers. | |
| 11 - any tom dick or harry can just to a get to the current URLs. | |
| 12 | |
| 13 A better idea would be to move them to a lambda function or offload them | |
| 14 on to a docker worker instance of some kind - maybe using ECS. | |
| 15 | |
| 16 | |
| 17 ## Fix feed config | |
| 18 | |
| 19 I botched this by duplicating the website field so it would work with | |
| 20 the all sources page. I done this as I didnt know how to get the sub | |
| 21 fields within jinja2. This can be fixed with some investigating. | |
| 22 | |
| 23 ## Games schema | |
| 24 | |
| 25 Need to thing of a good way to handle games, dont want to duplicate data | |
| 26 if not needed. This needs done before any other game source is added. | |
| 27 | |
| 28 Not intested in the price side of things, loads of sites can already | |
| 29 provide you with this. I am thinking of something like this, some | |
| 30 sources dont have all the data needed so can just mix and match. HB for | |
| 31 example is shite. | |
| 32 | |
| 33 Steam might be the best one to do first to populate the data. | |
| 34 | |
| 35 "name": "gog", | |
| 36 "icon": "gog.png", | |
| 37 "type": "game", | |
| 38 "title": search_result['title'], | |
| 39 "publisher": search_result['publisher'], | |
| 40 "category": search_result['category'], | |
| 41 | |
| 42 title: "title": search_result['title'], | |
| 43 type: "game" | |
| 44 release_date: | |
| 45 publisher: | |
| 46 catagory: | |
| 47 gog: | |
| 48 avaliable_date: dateutil.parser.parse(release_date) | |
| 49 url: "https://www.gog.com" + search_result['url'] | |
| 50 steam: | |
| 51 avaliable_date: | |
| 52 url: | |
| 53 | |
| 54 ## Steam API logic | |
| 55 | |
| 56 Get all games | |
| 57 For each game | |
| 58 get game information | |
| 59 if linux platform | |
| 60 save | |
| 61 next | |
| 62 | |
| 63 get all linux games in DB for steam | |
| 64 Get all games | |
| 65 For each game | |
| 66 already in the DB list | |
| 67 continue | |
| 68 get game information | |
| 69 if linux platform | |
| 70 save | |
| 71 next | |
| 72 | |
| 73 | |
| 74 ## Add API | |
| 75 | |
| 76 Would be nice to have api endpoints for different searches etc. This | |
| 77 would also allow better search on the site by using REST requests on | |
| 78 the main input search. | |
| 79 | |
| 80 ## Itch.io games | |
| 81 | |
| 82 They do have a API but its really poor at this point. You can only | |
| 83 search by a query and cant limit by platform. | |
| 84 | |
| 85 ## Steam games | |
| 86 | |
| 87 This should be easy to do. | |
| 88 | |
| 89 ## Humble Bundle games | |
| 90 | |
| 91 Should be easy to do have already investigated. See the hb file in the | |
| 92 root folder for an example, output is poor though. | |
| 93 | |
| 94 ## Better searching | |
| 95 | |
| 96 Current search method is just some js that searches already loaded table | |
| 97 contents, would like to add something better, see Add API. | |
| 98 |