{"id":22477950,"url":"https://github.com/sh-sabbir/easy-coupons","last_synced_at":"2026-06-23T22:03:04.489Z","repository":{"id":46624437,"uuid":"366148326","full_name":"sh-sabbir/easy-coupons","owner":"sh-sabbir","description":"An WordPress plugin to generate locked video with coupon code.","archived":false,"fork":false,"pushed_at":"2021-10-03T10:53:49.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T20:45:06.479Z","etag":null,"topics":["coupon","hacktoberfest","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sh-sabbir.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-10T19:03:11.000Z","updated_at":"2021-10-03T10:53:51.000Z","dependencies_parsed_at":"2022-09-03T01:52:02.870Z","dependency_job_id":null,"html_url":"https://github.com/sh-sabbir/easy-coupons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sh-sabbir/easy-coupons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh-sabbir%2Feasy-coupons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh-sabbir%2Feasy-coupons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh-sabbir%2Feasy-coupons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh-sabbir%2Feasy-coupons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sh-sabbir","download_url":"https://codeload.github.com/sh-sabbir/easy-coupons/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sh-sabbir%2Feasy-coupons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271173352,"owners_count":24711667,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["coupon","hacktoberfest","wordpress","wordpress-plugin"],"created_at":"2024-12-06T14:12:50.996Z","updated_at":"2026-06-23T22:03:04.457Z","avatar_url":"https://github.com/sh-sabbir.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy Coupons\n\nA WordPress plugin to lock video with coupon code.\n\n## Usage\n\n```\n- Create new locked video from \"Dashboard -\u003e Easy Videos\"\n  - Enter Video title\n  - Enter Video url (only youtube/vimeo or other streaming embeed link will work)\n    - no support for self hosted video\n  - Select featured image. (It will be shown when video is locked.)\n  - Publish.\n\n- Copy the short code and it can be used anywhere to show a locked video.\n```\n\n## Requirements (with estimation)\n\n\n- [x] Create a plugin called \"Easy Coupons\" with the following features:\n  - [x] As an admin, I should be able to bulk generate any quantity of randomly generated, unique 4 character alpha-numeric coupon codes (ex. f5Ba, 891d, etc.) - **3 hours**\n  - [x] As an admin, I should be able to search and delete any individual coupon code - **1 hours**\n  - [x] As an admin, I should be able to specify an expiry date when I generate coupon codes  - **1 hours**\n  - [x] As an admin, I should be able to bulk delete coupons based on expiry date  - **1.5 hours**\n- [x] Create a page with 3 gated educational YouTube videos\n  - [x] As a visitor, to unlock and display a single video I should be able to enter a single valid coupon code (found in the database and future expiry) - **2 hours**\n  - [x] As a visitor, I should receive an error message if I attempt to use the same coupon code more than once - **0.5 hours**\n  - [x] As a visitor, I should continue to have access to a video after I enter a valid coupon code (even if I close the browser and return to the site) - **1 hours**\n  - [x] As an admin, I should be able to see which video a coupon code was applied to - **2 hours**\n  - [x] As an admin, I should see a report of failed coupon code validations with two categories: not found \u0026 already used  - **3 hours**\n  - [x] As an admin, I should be able to use the coupon code ADMN unlimited times to access any video  - **1 hours**\n- [ ] Testing - **4 hours**\n  - [ ] As a developer, I should be able to test any business logic with automated unit tests\n- [x] Styling\n  - [x] Create a custom WP theme with the stylesheet of your choice - **2 hours**\n  - [x] Add animation to the success and failure states of entering a coupon - **1 hours**\n- [x] Documentation - **4 hours**\n  - [x] Add code comments as needed to improve the ability for another developer to finish this project\n  - [x] Update the README with a brief written summary of what's been completed and what still needs to be done\n  - [x] Update the README Any other feedback including which features could be refactored or improved\n\n## Not complete\n- Test cases\n\n## Other feedbacks\n- `WP_LIST_TABLE` can have screen options to improve experience. \n- A `scheduled event` to automatically check and update expired coupon status.\n- Possible to hook the locking machanism to any post or page or custom post type.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsh-sabbir%2Feasy-coupons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsh-sabbir%2Feasy-coupons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsh-sabbir%2Feasy-coupons/lists"}