Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing auto-config for maximum number of websites by User through UI #97

Open
Ashwinv007 opened this issue Jan 11, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Ashwinv007
Copy link

Hi, I have been following this repo for about a week and I understood that you guys are trying to implement auto-config for more number of websites. Iam thinking of adding few websites auto setup as per my client requirement(Iam a freelancer and he needs honey alternative and Iam cloning this repo for the same (btw, thank you for this repo ) ) Here are the list of websites Iam thinking of implementing:

Anime & Fandom Stores

  1. Crunchyroll Store - Official anime merchandise and apparel.
  2. RightStufAnime - Anime DVDs, manga, collectibles, and bundles.
  3. Tokyo Otaku Mode - Anime figures, cosplay items, and Japanese goods.
  4. Hot Topic - Pop culture and anime-themed clothing and accessories.
  5. BoxLunch - Anime, gaming, and movie merchandise with frequent discounts.

Gaming & Supplements
6. GamerSupps - Energy drinks and supplements for gamers (great for promo codes).
7. G FUEL - Another popular energy drink brand often using discount codes.
8. GameStop - Video games, consoles, and pre-owned deals.
9. Epic Games Store - Discounts and deals on digital games and content.
10. Humble Bundle - Game bundles with charity contributions.

General E-Commerce
11. Amazon - Universal shopping hub with promo codes for specific products.
12. eBay - Auctions and deals on a variety of items.
13. Walmart - Electronics, groceries, and household goods.
14. Target - Seasonal discounts and weekly promo codes.
15. Best Buy - Electronics and gaming accessories, often with holiday discounts.

Tech & Electronics
16. Newegg - PC parts and gaming components with promo codes for bundles.
17. Micro Center - Great for in-store pickups and tech-related promo codes.
18. B&H Photo Video - Electronics and tech gadgets with occasional coupon codes.

Fashion & Lifestyle
19. UNIQLO - Anime-themed collections with occasional online discounts.
20. Redbubble - Anime and fandom-themed apparel with creator discounts.

I would like to know how long will it take for the User-auto config to get implemented if it takes more than a week, I will try to implement this manually and contribute to this.

@ImGajeed76
Copy link
Collaborator

ImGajeed76 commented Jan 11, 2025

I will get to it, but currently I have other things I have to finish implementing.

@Abstra208
Copy link
Collaborator

Abstra208 commented Jan 11, 2025

Hi @Ashwinv007, love to know that. If you wish to help us add them, here is what you need to know:

"nordvpn.com": {
    inputSelector: "input[name='couponCode']",
    preApplyButtonSelector:
        "p[data-testid='coupon-show-form-button'] > a",
    applyButtonSelector: "button[data-testid='coupon-apply-button']",
    successSelector: "div[data-testid='coupon-applied-message']",
    failureSelector: "div[data-testid='coupon-error-alert']",
    priceSelector: "span[data-testid='CartSummary-total-amount']",
    removeCouponButtonSelector:
        "button[data-testid='coupon-delete-applied-button']",
},

For each website we need inputSelector,preApplyButtonSelector (if necessary),
applyButtonSelector, successSelector, failureSelector, priceSelector,
and removeCouponButtonSelector.

  1. inputSelector is the input where you normally place the coupons.
  2. preApplyButtonSelector is a button that you might need to press before being able to enter the code in inputSelector.
  3. applyButtonSelector is the button to try the coupons.
  4. successSelector is the text block that will appear if the code is valid.
  5. failureSelector is the text block that will appear if the code is not valid.
  6. priceSelector is the element where the price is shown.
  7. removeCouponButtonSelector is the button to remove the current applied coupon.

As @ImGajeed76 said, we are currently implementing it, we also haven't done the background job to use to api for this, so it might not happen for the next week.

We would be more than happy to have you in the team, if you have any other question or problem that might occur, join the discord, we would be more than happy to help you!

@Abstra208 Abstra208 added the enhancement New feature or request label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants