{"id":17319859,"url":"https://github.com/saransh-cpp/memetastic-backend","last_synced_at":"2026-04-12T15:46:31.930Z","repository":{"id":105022083,"uuid":"370022100","full_name":"Saransh-cpp/MemeTastic-backend","owner":"Saransh-cpp","description":"Created for Elasticsearch X Code for Cause Hackathon. This is the backend for my MemeTastic Application. (Winner for the hackathon)","archived":false,"fork":false,"pushed_at":"2021-06-11T10:47:58.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:15:40.098Z","etag":null,"topics":["axios","backend","backend-api","cicd","elasticsearch","express","github-actions","hackathon","kibana","ngrams","nodejs"],"latest_commit_sha":null,"homepage":"","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/Saransh-cpp.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":"2021-05-23T10:27:27.000Z","updated_at":"2023-07-01T08:53:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8fb0ae4f-51e9-4df2-9ca7-62cc96aa5b40","html_url":"https://github.com/Saransh-cpp/MemeTastic-backend","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/Saransh-cpp%2FMemeTastic-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2FMemeTastic-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2FMemeTastic-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saransh-cpp%2FMemeTastic-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saransh-cpp","download_url":"https://codeload.github.com/Saransh-cpp/MemeTastic-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245772701,"owners_count":20669718,"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":["axios","backend","backend-api","cicd","elasticsearch","express","github-actions","hackathon","kibana","ngrams","nodejs"],"created_at":"2024-10-15T13:27:46.868Z","updated_at":"2026-04-12T15:46:31.881Z","avatar_url":"https://github.com/Saransh-cpp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MemeTastic-backend\n\n\u003c!-- ![MemeTastic](https://github.com/Saransh-cpp/MemeTastic-backend/actions/workflows/node.js.yml/badge.svg?branch=master) --\u003e\n\nCreated for Elasticsearch X Code for Cause Hackathon. (Winner for the hackthon - [devpost project](https://devpost.com/software/memetastic))\n\nThis is the backend for my MemeTastic Application.\n\n## How it works\n\n- Scrapes top 100 memes from subreddit `memes` using reddit's public API.\n\n- Adds the `link` and the `title` of those 100 memes in `elasticsearch` which can then be visualised using `kibana`.\n\n- `Elasticsearch` has been hosted on `Google Cloud`.\n\n- The first two steps are repeated after every 30 minutes using a CI/CD pipeline created using `GitHub Actions` to make sure that the Application stays up-to-date.\n\n## Ngrams\n\n- This also uses ngrams, implemetation is given below (implemeted using `kibana`)\n\n```JSON\nPUT dankmemes\n{\n  \"settings\": {\n    \"analysis\": {\n      \"analyzer\": {\n        \"autocomplete\": {\n          \"tokenizer\": \"autocomplete\",\n          \"filter\": [\n            \"lowercase\"\n          ]\n        },\n        \"autocomplete_search\": {\n          \"tokenizer\": \"lowercase\"\n        }\n      },\n      \"tokenizer\": {\n        \"autocomplete\": {\n          \"type\": \"edge_ngram\",\n          \"min_gram\": 1,\n          \"max_gram\": 10,\n          \"token_chars\": [\n            \"letter\"\n          ]\n        }\n      }\n    }\n  },\n  \"mappings\": {\n    \"properties\": {\n      \"title\": {\n        \"type\": \"text\",\n        \"analyzer\": \"autocomplete\",\n        \"search_analyzer\": \"autocomplete_search\"\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaransh-cpp%2Fmemetastic-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaransh-cpp%2Fmemetastic-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaransh-cpp%2Fmemetastic-backend/lists"}