{"id":16492663,"url":"https://github.com/sandoche/invitecode-website","last_synced_at":"2025-03-23T12:34:48.517Z","repository":{"id":40022184,"uuid":"139056577","full_name":"sandoche/Invitecode-website","owner":"sandoche","description":"🤑 Discounts on your favorite services through invite codes","archived":false,"fork":false,"pushed_at":"2023-06-08T22:37:35.000Z","size":42219,"stargazers_count":11,"open_issues_count":7,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T20:40:40.970Z","etag":null,"topics":["code","deals","discounts","invite","invite-code","invitecode","jekyll","progressive-web-app","promo","promocode","pwa"],"latest_commit_sha":null,"homepage":"https://invite-code.com/","language":"HTML","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/sandoche.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}},"created_at":"2018-06-28T18:49:04.000Z","updated_at":"2025-01-27T10:07:56.000Z","dependencies_parsed_at":"2024-10-28T16:25:49.108Z","dependency_job_id":null,"html_url":"https://github.com/sandoche/Invitecode-website","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/sandoche%2FInvitecode-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FInvitecode-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FInvitecode-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandoche%2FInvitecode-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandoche","download_url":"https://codeload.github.com/sandoche/Invitecode-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104460,"owners_count":20561377,"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":["code","deals","discounts","invite","invite-code","invitecode","jekyll","progressive-web-app","promo","promocode","pwa"],"created_at":"2024-10-11T14:06:49.016Z","updated_at":"2025-03-23T12:34:43.504Z","avatar_url":"https://github.com/sandoche.png","language":"HTML","funding_links":["https://www.buymeacoffee.com/detoxify"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"/icon.png\" width=\"150\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eInvite-code.com\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg src=\"https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003ca href=\"/LICENSE\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/mashape/apistatus.svg\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://medium.com/@sandoche\" target=\"_blank\"\u003e\u003cimg src=\"https://badgen.net/badge/icon/medium?icon=medium\u0026label\" alt=\"medium: sandoche\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/farbodsaraf\"\u003e\n    \u003cimg alt=\"Twitter: farbodsaraf\" src=\"https://img.shields.io/twitter/follow/farbodsaraf.svg?style=social\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nAll the invite codes at the right place 🏷️🤑\n\n### 👉 [Get invite codes](https://invite-code.com)\n\u003cbr\u003e\n\n## ⚙️ How to run\n\n### Install\n\n```sh\nnpm install\nbundler install\n```\n\n### Development\n\n```sh\nnpm run dev\n```\n## 🏷️ How to add codes\n\n### Add a company\n1. Choose an unique id for the company (`acme` for example)\n2. Open `_data/companies.yml`\n3. Add the unique id to `all`\n4. At the end of the file add the companies metadata following this example\n```yaml\nacme: #replace acme by the unique id\n  name: ACME\n  title: Get a 20 € in your ACME account\n  color: '#f4f4f4' # should match the theme color of the company\n  guide: Create an account using this invite code and do a first purchase\n  link: /acme/\n  icon: acme.png\n```\n5. Add the icon of the company in `_images/icons/` using the same name that in the previous metadata\n\n### Create a user\n1. Choose an unique id as a username (`johndoe` for example)\n2. Open `_data/users.yml`\n3. Add the unique id to `all`\n4. At the end of the file add the username followed by these 3 attributes `url`, `codes` and `companies` following this example:\n```yaml\njohndoe:\n  url:\n    uber: https://www.uber.com/invite/f416b\n    airbnb: https://abnb.me/e/JEIN6Vvx9N\n    acme: https://www.acme.com/code123\n  codes:\n    uber: f416b\n    airbnb: JEIN6Vvx9N\n    acme: code123\n  companies:\n    - uber\n    - airbnb\n    - acme\n```\n\n### Create a page for a company\n1. At the root of the project create a `md` file with the same unique id as the company (`acme.md` for example)\n2. Copy paste the following content and make sure to change the values of `title`, `permalink` and `company`, also `company`'s value should be the same as the unique id:\n```yaml\n---\nlayout: code\ntype: code\ntitle: ACME promocodes\npermalink: /acme/\ncompany: acme # it should match the unique id defined previously\n---\n```\n\n### Create a page for a user\n1. At the root of the project create a `md` file with the same unique id as the username (`johndoe.md` for example)\n2. Copy paste the following content and make sure to change the values of `title`, `permalink` and `username`, also `username`'s value should be the same as the username unique id:\n```yaml\n---\nlayout: list\ntype: list\ntitle: John Doe's Promo codes\npermalink: /johndoe/\nusername: johndoe # it should match the unique id defined previously\n---\n```\n\n### Create a page for a promocode of a specific user\n1. Each promocode added to a specific user should have its own page, so create a `md` file with the name of username and the unique id of the company (`johndoe_acme.md`)\n2. Copy paste the following content and make sure to change the values of `title`, `permalink`, `username`, `company`, once again `username` should match the username unique id, and `company` the company's unique id:\n```yaml\n---\nlayout: code\ntype: code\ntitle: John Doe's ACME promocode\npermalink: /johndoe/acme/\nusername: johndoe # it should match the unique id defined previously\ncompany: acme # it should match the unique id defined previously\n---\n```\n\n## Authors\n\n👤 **Sandoche ADITTANE \u0026 Farbod SARAF**\n\n* Twitter: [@farbodsaraf](https://twitter.com/farbodsaraf)\n* Github: [@sandoche](https://github.com/sandoche)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\n## ⭐️ Show your support\n\nGive a ⭐️ if this project helped you!\n\n## ☕️ Buy me a coffee \n\nIf you like this project, feel free to donate: https://www.buymeacoffee.com/detoxify\n\n## 📝 License\n\nCopyright © 2020 [Sandoche ADITTANE](https://www.sandoche.com) \u0026 [Farbod SARAF](https://farbodsaraf.com/)\u003cbr /\u003e\nThis project is [MIT](/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandoche%2Finvitecode-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandoche%2Finvitecode-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandoche%2Finvitecode-website/lists"}