{"id":28135569,"url":"https://github.com/lakhindarpal/lovescore","last_synced_at":"2025-05-14T15:19:20.639Z","repository":{"id":287854195,"uuid":"966008225","full_name":"LakhindarPal/LoveScore","owner":"LakhindarPal","description":"LoveScore is a cute and quirky web app that calculates love compatibility between two people based on their names","archived":false,"fork":false,"pushed_at":"2025-04-14T09:04:40.000Z","size":294,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T06:42:47.339Z","etag":null,"topics":["compatibility-testing","love","love-calculator","love-message","love-meter","lovemeter","lovescore","romantic-message"],"latest_commit_sha":null,"homepage":"https://lovescore.glitch.me/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LakhindarPal.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-14T09:01:50.000Z","updated_at":"2025-04-14T09:10:32.000Z","dependencies_parsed_at":"2025-04-15T23:31:19.875Z","dependency_job_id":null,"html_url":"https://github.com/LakhindarPal/LoveScore","commit_stats":null,"previous_names":["lakhindarpal/lovescore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2FLoveScore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2FLoveScore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2FLoveScore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LakhindarPal%2FLoveScore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LakhindarPal","download_url":"https://codeload.github.com/LakhindarPal/LoveScore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170137,"owners_count":22026223,"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":["compatibility-testing","love","love-calculator","love-message","love-meter","lovemeter","lovescore","romantic-message"],"created_at":"2025-05-14T15:19:06.709Z","updated_at":"2025-05-14T15:19:20.632Z","avatar_url":"https://github.com/LakhindarPal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LoveScore\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)\n![HTML5](https://img.shields.io/badge/HTML5-%23E34F26?logo=html5\u0026logoColor=white)\n![CSS3](https://img.shields.io/badge/CSS3-%231572B6?logo=css3\u0026logoColor=white)\n![JavaScript](https://img.shields.io/badge/JavaScript-%23F7DF1E?logo=javascript\u0026logoColor=black)\n\n**LoveScore** is a cute and quirky web app that calculates love compatibility between two people based on their names. Just type, click, and find out your love fate — with hearts, animations, and a message to match!\n\n![LoveScore Screenshot](preview.png)\n\n---\n\n## Features\n\n- Romantic UI with floating hearts and soft gradients\n- Instant love compatibility score from 0% to 100%\n- Personalized love messages based on the score\n- **Same input always returns the same score**\n- Mobile-friendly and responsive\n- 100% frontend — no backend, no data collection\n\n---\n\n## Demo\n\n**Try it live:** [https://lovescore.glitch.me](https://lovescore.glitch.me)\n\n---\n\n## How It Works\n\nLoveScore uses a **simple hashing algorithm** to generate consistent scores from any pair of names:\n\n1. Names are trimmed, lowercased, and sorted alphabetically.\n2. A basic hash function processes the combined string.\n3. The result is mapped to a score between 0–100 using modulo.\n4. Each score corresponds to a hand-crafted love message.\n\n```js\nconst combined = [name1, name2].sort().join('');\nconst score = simpleHash(combined) % 101;\n```\n\nSo the same names always return the same result — magical and consistent!\n\n---\n\n## Tech Stack\n\n- HTML5\n- CSS3 (with animations)\n- Vanilla JavaScript\n\n---\n\n## Getting Started\n\nClone and open locally:\n\n```bash\ngit clone https://github.com/LakhindarPal/lovescore.git\ncd lovescore\n```\n\nThen open `index.html` in your browser. That’s it!\n\n---\n\n## Contributing\n\nGot ideas to spice things up? Contributions are welcome!\n\n1. Fork the repo\n2. Create a new branch\n3. Commit your changes\n4. Submit a pull request\n\n---\n\n\u003e Made with ❤️ for the curious, the romantic, and everyone in between.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakhindarpal%2Flovescore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flakhindarpal%2Flovescore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakhindarpal%2Flovescore/lists"}