{"id":13339189,"url":"https://github.com/JHutter/Aww_for_Reddit","last_synced_at":"2025-03-11T12:31:41.848Z","repository":{"id":47596292,"uuid":"107714348","full_name":"JHutter/Aww_for_Reddit","owner":"JHutter","description":"Android app (6.0+) that uses a reddit scraper to deliver cute animal images and gifs in a kid-friendly UI","archived":false,"fork":false,"pushed_at":"2017-10-25T03:50:28.000Z","size":144,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-24T00:23:23.314Z","etag":null,"topics":["android-application","android-development","reddit","reddit-scraper","ui-design","web-scraper"],"latest_commit_sha":null,"homepage":"https://play.google.com/store/apps/details?id=jhutter.awwforreddit","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JHutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-20T18:45:03.000Z","updated_at":"2023-11-06T02:53:50.000Z","dependencies_parsed_at":"2022-09-13T19:31:06.049Z","dependency_job_id":null,"html_url":"https://github.com/JHutter/Aww_for_Reddit","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/JHutter%2FAww_for_Reddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JHutter%2FAww_for_Reddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JHutter%2FAww_for_Reddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JHutter%2FAww_for_Reddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JHutter","download_url":"https://codeload.github.com/JHutter/Aww_for_Reddit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243034978,"owners_count":20225438,"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":["android-application","android-development","reddit","reddit-scraper","ui-design","web-scraper"],"created_at":"2024-07-29T19:19:19.543Z","updated_at":"2025-03-11T12:31:38.470Z","avatar_url":"https://github.com/JHutter.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Synopsis\n\nThis app for Android 6.0 and above delivers images and gifs from cute animal subreddits in a simple UI. In its current iteration, there are four subreddits to choose from: r/aww, r/puppysmiles, r/cats, and r/rarepuppers, and these can be selected individually via a basic menu. Back and forward buttons allow navigation, and images that users don't like can be added to a ban list for the session by long click.\n\n## Motivation\n\nThis app came about because my 6 year old wanted to look at cute pictures of cats and dogs, but I didn't trust reddit enough to just hand my phone over, as it was too easy to click from reddit.com/r/aww to something less child appropriate. So I planned out a reddit scraper that would pull a large number of image links from certain safe subreddits, with an upvote threshold to further filter out questionable content.\n\n## Future features\n\nUpcoming features include more flexibility of subreddit selection via user-added subreddits and a SQLite db to remember banned image links across user sessions. \n\nMoving to a project structure where lists of image links are collected and vetted more centrally on a server-side is under consideration, to allow for calls to content moderation APIs. However, a combination of using upvote thresholds and selecting subreddits that don't allow NSFW content per their rules/moderation and that focus on all-ages-friendly content such as cat pictures has so far been sufficient for client-side content moderation.\n\n## Installation\n\nThere are two methods for installation: using Google Play or by cloning and building the project yourself.\n\n#### Google Play\n\nThe app can be found on Google Play at https://play.google.com/store/apps/details?id=jhutter.awwforreddit. Click Install to install on your Android phone or tablet (requires Android 6.0 or above).\n\n#### Building the APK yourself\n\nIf you want to build the APK yourself, follow these steps:\n\n1. Clone or download the project.\n\n2. Either fill out or remove banner ad.\n- To complete the information for the banner ad, make an admob.xml file in main/res/values. For example:\n```\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cresources\u003e\n    \u003cstring name=\"adunitid\"\u003eca-app-pub-3940256099942544/6300978111\u003c/string\u003e\n    \u003cstring name=\"adappid\"\u003eca-app-pub-3940256099942544~3347511713\u003c/string\u003e\n\u003c/resources\u003e\n```\n- To remove the banner ad, remove the adView in res/layouts/content_main.xml and remove this chunk from MainActivity.java:\n```\nAdRequest adRequest = new AdRequest.Builder().build();\nString adAppId = this.getResources().getString(R.string.adappid);\nMobileAds.initialize(this, adAppId);\nmAdView = (AdView) findViewById(R.id.adView);\nmAdView.loadAd(adRequest);\n```\nOptionally, you can also remove the import statements `android.gms.ads` and `private AdView mAdView;` in MainActivity.java to clean up the code smells relating to getting rid of the ads.\n\n3. Build the APK (debug APK is fine for non-publishing purposes). You can do this by importing your cloned version of the project into Android Studio and selecting Build\u003eBuild APK. If successful, Android Studio will pop up a message telling you the APK was built and where to find the APK itself.\n\n\u003e APK(s) generated successfully. Show in Explorer\n\n4. On your Android phone or tablet, go to Settings to allow installation of apps from sources other than Google Play Store.\n\n5. Put the APK on your phone. You can email it, share it by Google Drive, or transfer it by USB.\n\n6. A system dialog will come up asking if you want to install this APK. Select Install to install it.\n\n\n\n## Contributors\n\nJon Hutter, 2017\n\n## Attribution\n\nBumptech/glide was used for image processing. jhy/jsoup was used to implement the reddit scraper.\n\n## License\n\nMIT License.\n\nCopyright (c) 2017 Jon Hutter\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nSee https://github.com/JHutter/Aww_for_Reddit/blob/master/LICENSE for detailed license, \nincluding attribution and license for libraries used (notably bumptech/glide and jhy/jsoup).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJHutter%2FAww_for_Reddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJHutter%2FAww_for_Reddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJHutter%2FAww_for_Reddit/lists"}