{"id":23115447,"url":"https://github.com/jcaesar/cature","last_synced_at":"2025-09-15T12:32:58.503Z","repository":{"id":31002298,"uuid":"34560695","full_name":"jcaesar/cature","owner":"jcaesar","description":"steamgifts.com bot","archived":false,"fork":false,"pushed_at":"2017-03-30T22:05:25.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T12:43:08.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jcaesar.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}},"created_at":"2015-04-25T08:10:23.000Z","updated_at":"2016-02-24T00:05:33.000Z","dependencies_parsed_at":"2022-08-26T04:00:19.772Z","dependency_job_id":null,"html_url":"https://github.com/jcaesar/cature","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Fcature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Fcature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Fcature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Fcature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcaesar","download_url":"https://codeload.github.com/jcaesar/cature/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103307,"owners_count":20884023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-17T03:41:25.467Z","updated_at":"2025-04-04T01:12:10.747Z","avatar_url":"https://github.com/jcaesar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Caesar's phantomjs collection\n=============================\n\n\ncature.js -- phantomjs steamgifts.com bot\n-----------------------------------------\n\nScript for http://steamgifts.com - enters giveaways on the front page, a list of search strings, or your steam wishlist.\nI hacked the whole thing together in two days, so it is not exactly a beauty. It has been extended to be able to walk through two factor authorization, but that may not work flawlessly, e.g. you might have to restart after entering the code...\n\nThe script wants a file named settings in the directory it is run in. Following JSON format:\n\n{\n\t\"SNM\": \"steam username\",\n\t\"SPW\": \"steam password, wrapped by quatruple application of btoa (i.e., btoa(btoa(btoa(btoa('pw-string')))))\",\n\t\"Fav\": [\n\t\t\"list of game names\",\n\t\t\"these will be searched for, and entered when found, depending on the run mode.\",\n\t\t\"e.g.\",\n\t\t\"civilization\"\n\t],\n\t\"RegexEntry\": [\n\t\t\"list of regexes\",\n\t\t\"applied to game urls\",\n\t\t\"those games are entered when seen\",\n\t\t\"e.g.\",\n\t\t\"grand.*theft.*auto\",\n\t],\n\t\"SearchStrings\": [\n\t\t\"list of game names\",\n\t\t\"used when searching\",\n\t\t\"e.g.\"\n\t\t\"grand theft\"\n\t],\n\t\"BL\": [\n\t\t\"black list regexes\"\n\t]\n\t\"PointLimit\": 65 # lower limit of points up to which random games are entered in front page mode\n}\n\nThe script can take either of 'frontpagemode' (default), 'wishlistmode', or 'searchmode' as command line parameter and will adjust its behavior.\n\nI run it through cron, e.g.\n\n37 9-23/2 * * *\tcd $HOME/cature; phantomjs wishlistmode --cookies-file=$HOME/cature/steamgift_cookies.txt cature.js\n11 9-23/5 * * *\tcd $HOME/cature; phantomjs searchmode --cookies-file=$HOME/cature/steamgift_cookies.txt cature.js\n\nThe cookies-file is not strictly-speaking necessary, but it will save going through the steam auth every time.\n\n\nsenmanga.js -- senmanga raw manga downloader\n--------------------------------------------\n\nDownloads image files from http://raw.senmanga.com/. \nNavigate to the first page of whatever you want to download, go into single page reading mode, and throw it to senmanga.js as a command line argument.\nExample: http://raw.senmanga.com/Log-Horizon/09/1\n\nUseful hint for sxiv users: for f in */*/*; do echo \"$f; done | sort -V | sxiv -i\n\n\nextractjisho.org.js -- jisho.org vocabulary\n-------------------------------------------\n\nTakes a list of links to jisho.org as input on stdin, extracts the first word and outputs something that Anki can make into flashcards.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcaesar%2Fcature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcaesar%2Fcature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcaesar%2Fcature/lists"}