{"id":19251652,"url":"https://github.com/lokranjanp/OnlyMemes","last_synced_at":"2025-04-21T13:30:34.476Z","repository":{"id":247752193,"uuid":"826638893","full_name":"lokranjanp/OnlyMemes","owner":"lokranjanp","description":"Custom flask based random reddit meme fetcher with fast retrieval for multiple sub-reddits providing a seamless meme scroll through multi-route unique caching in Redis.","archived":false,"fork":false,"pushed_at":"2024-08-21T11:41:53.000Z","size":3207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T16:49:50.666Z","etag":null,"topics":["css","flask","html","javascript","praw-api","praw-reddit","python"],"latest_commit_sha":null,"homepage":"https://random-reddit-meme-dcd00e42e641.herokuapp.com/","language":"CSS","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/lokranjanp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-10T05:10:39.000Z","updated_at":"2025-01-06T16:09:40.000Z","dependencies_parsed_at":"2024-07-10T12:06:41.640Z","dependency_job_id":"6dd3a242-aa5d-4c9b-85b9-93bfd659e4db","html_url":"https://github.com/lokranjanp/OnlyMemes","commit_stats":null,"previous_names":["lokranjanp/reddit_memesite","lokranjanp/redditmemesite","lokranjanp/onlymemes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokranjanp%2FOnlyMemes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokranjanp%2FOnlyMemes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokranjanp%2FOnlyMemes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lokranjanp%2FOnlyMemes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lokranjanp","download_url":"https://codeload.github.com/lokranjanp/OnlyMemes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250064489,"owners_count":21368914,"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":["css","flask","html","javascript","praw-api","praw-reddit","python"],"created_at":"2024-11-09T18:23:21.496Z","updated_at":"2025-04-21T13:30:34.471Z","avatar_url":"https://github.com/lokranjanp.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reddit Meme Viewer with Flask\nThis Flask application fetches random memes from Reddit's r/memes subreddit and displays them with a dynamic countdown.\nHosted at : https://random-reddit-meme-dcd00e42e641.herokuapp.com/\n\n## Features\n\n- Fetches random memes from Reddit using the Reddit API.\n- Displays each meme with its title and a link to the original Reddit post.\n- Dynamically updates a countdown for displaying a new meme every 30 seconds.\n\n## Technologies Used\n\n- Python\n- Flask\n- PRAW (Python Reddit API Wrapper)\n- HTML/CSS\n- Redis NoSQL-Cache\n\n## Prerequisites\n\n- Python 3.11 \n- Flask\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/your-username/your-repository.git\n   cd your-repository\n   ```\n\n2. Install dependencies using pip:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Set up environment variables:\n   \n   - Create a `.env` file in the root directory.\n   - Add your Reddit API credentials in the `.env` file:\n     ```\n     CLIENT_ID=your_reddit_client_id\n     CLIENT_SECRET=your_reddit_client_secret\n     USER_AGENT=your_user_agent\n     ```\n\n4. Run the Flask application:\n\n   ```bash\n   python app.py\n   ```\n\n5. Open your web browser and go to `http://localhost:5000` to view the application.\n\n## Usage\n\n- Upon visiting `http://localhost:5000`, the application will fetch and display a random meme from Reddit.\n- The meme will be automatically refreshed every 30 seconds.\n\n\n## Deployment\n\nDeployed in Heroku. \nView website @ https://random-reddit-meme-dcd00e42e641.herokuapp.com/\n\n## Acknowledgements\n\n- Reddit API for providing access to memes from r/memes.\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokranjanp%2FOnlyMemes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flokranjanp%2FOnlyMemes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flokranjanp%2FOnlyMemes/lists"}