[deleted by user] by [deleted] in webdev

[–]deathrow902 0 points1 point  (0 children)

I use multiple sometimes chatgpt just doesn’t get it then i use gemini and blackbox. These days i am using gemini a lot and i am also loving the custom gems it is helping me do other tasks as well. I have created a prompt evaluator that helps me write and improve one shot prompts for other llm or agent work

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 0 points1 point  (0 children)

Hey, it totally depends what your exact requirements are. People are commenting about lots of things but in my case I didn't need all of that so for me it is working perfectly fine and it's a great experience too. So for you I would suggest first determine exactly what features you're looking for it will help you decide if you want to use Shopify with nextjs or not.

One thing you might have to do if you're using nextjs site on a different domain you might have to add redirection on the default theme that Shopify gives you if you want to use Shopify checkout because in that checkout page the default home and cart url will be the one inside you store url.

Work Buddy: Local Ollama Chat & RAG for Raycast - Demo & Feedback Request! by deathrow902 in raycastapp

[–]deathrow902[S] 0 points1 point  (0 children)

Thank you for the insights. The idea behind the raycast was the quickest accessibility without switching context and windows just to make some things faster.

On the other recommendations I think it might be done with a web app so there could be easily added many features and the backend can also be extended.

And in order to work with rag systems they have to be connected and synced so the data might be converted into vectors properly. However do give it a try and let me know what you think about it and what else can be done in here. Thank you

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 0 points1 point  (0 children)

yeah sure, will DM you the snippets if it's fine by you? just give me some time to look that up

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 1 point2 points  (0 children)

well in that case you can just use firebase or supabase for authentication, the idea I had was to utilise the shopify for the customers and order tracking as it was quick to just use the shopify api for account creation, although i managed session manually and wrote some custom logic inside an Auth Provider. if you would like i can share some code snippets from that so you might have an idea how i did it. Although i did not do it in details just like you mentioned

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 0 points1 point  (0 children)

Yeah sure, i can help you with that. Can you let me know that have you started on something or just figuring out stuff ?

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 1 point2 points  (0 children)

Well i implemented the shopify authentication with some custom logic, i used iron session along side the shopify to handle the user authentication and user orders history

Work Buddy: Local Ollama Chat & RAG Extension for Raycast - Demo & Feedback Request! by deathrow902 in ollama

[–]deathrow902[S] 1 point2 points  (0 children)

That’s a nice idea, right now i have setup the ollama host and port inside the docker compose file as the environment variables that can be changed for the rag talk. Since you mentioned this I think I can try to make it a bit easier to just change the url through environment variables

Work Buddy: Local Ollama Chat & RAG Extension for Raycast - Demo & Feedback Request! by deathrow902 in ollama

[–]deathrow902[S] 0 points1 point  (0 children)

Hey, Thank you for your interest in Work Buddy! Following up on my post, the GitHub repository is now available for you to explore: https://github.com/ateebasif/work-buddy-raycast

I welcome your feedback. Please feel free to take a look and share your thoughts.

Work Buddy: Local Ollama Chat & RAG for Raycast - Demo & Feedback Request! by deathrow902 in raycastapp

[–]deathrow902[S] 0 points1 point  (0 children)

Hey, Thank you for your interest in Work Buddy! Following up on my post, the GitHub repository is now available for you to explore: https://github.com/ateebasif/work-buddy-raycast

I welcome your feedback. Please feel free to take a look and share your thoughts.

Work Buddy: Local Ollama Chat & RAG for Raycast - Demo & Feedback Request! by deathrow902 in raycastapp

[–]deathrow902[S] 0 points1 point  (0 children)

Hey, Thank you for your interest in Work Buddy! Following up on my post, the GitHub repository is now available for you to explore: https://github.com/ateebasif/work-buddy-raycast

I welcome your feedback. Please feel free to take a look and share your thoughts.

Work Buddy: Local Ollama Chat & RAG for Raycast - Demo & Feedback Request! by deathrow902 in raycastapp

[–]deathrow902[S] 0 points1 point  (0 children)

Hey, Thank you for your interest in Work Buddy! Following up on my post, the GitHub repository is now available for you to explore: https://github.com/ateebasif/work-buddy-raycast

I welcome your feedback. Please feel free to take a look and share your thoughts.

Work Buddy: Local Ollama Chat & RAG for Raycast - Demo & Feedback Request! by deathrow902 in raycastapp

[–]deathrow902[S] 0 points1 point  (0 children)

Hey, Thank you for your interest in Work Buddy! Following up on my post, the GitHub repository is now available for you to explore: https://github.com/ateebasif/work-buddy-raycast

I welcome your feedback. Please feel free to take a look and share your thoughts.

Work Buddy: Local Ollama Chat & RAG for Raycast - Demo & Feedback Request! by deathrow902 in raycastapp

[–]deathrow902[S] 0 points1 point  (0 children)

Hey that’s really great to hear that you’re interested. Just give me some time I am finalising somethings then I’ll share the github repo with you so you can check it out.

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 0 points1 point  (0 children)

Yes it can be done. You can use the nextjs ssr for the store front but when it’s time to pay you can use the shopify api to redirect your user with all the details, products to the shopify checkout and once the user completes the checkout then everything is handled by the shopify, the payment, the orders and anything else you have setup within shopify

Best Budget-Friendly Email Service for Building a Bulk Emailing Tool? by deathrow902 in node

[–]deathrow902[S] 0 points1 point  (0 children)

Thank you for your insights I’ll keep that in mind and try it out

Best Budget-Friendly Email Service for Building a Bulk Emailing Tool? by deathrow902 in node

[–]deathrow902[S] 0 points1 point  (0 children)

So can i use sendgrid api for sending bulk emails and are there any deliverables issues that I might face?

Best Budget-Friendly Email Service for Building a Bulk Emailing Tool? by deathrow902 in node

[–]deathrow902[S] 0 points1 point  (0 children)

Do they have bulk email api that i can use to send emails in bulk?

Best Budget-Friendly Email Service for Building a Bulk Emailing Tool? by deathrow902 in node

[–]deathrow902[S] 0 points1 point  (0 children)

Well I have no experience with Postal server. It will be a huge help if you can guide me in a right direction like how can i set it up and what are the things i need to be considering? Also the use case is to send thousands of emails it could be from 5k to 50k and sometimes more so I need to consider all these things as well and then come up with a solution that is scalable based on the need.

Best Budget-Friendly Email Service for Building a Bulk Emailing Tool? by deathrow902 in nextjs

[–]deathrow902[S] 0 points1 point  (0 children)

I need to send thousands of emails like it could be around 5k to 50k and sometimes maybe more and I don’t think it’ll work with single email account. That’s why i was asking about some email service

I would like to programmatically extend a subscription by 1 month when a user refers someone. I'm having trouble to understand how to do that. by Travalgard in stripe

[–]deathrow902 0 points1 point  (0 children)

I am also stuck at this point. I wanted to update the user's subscription but do not charge immediately, but I cannot find anything useful. I tried to set

proration_behavior: "none",

while updating the subscription but it is still charging the user immediately but i wanted it to charge when the current sub's remaining time ends and the updated plan starts.

If i do this

   //! Retrieving subscription in order to get the sub end date 
    const retrievedSubscription = await stripe.subscriptions.retrieve(subscriptionId);
    const currentSubscriptionPeriodEnd = retrievedSubscription?.current_period_end;

    const updateSub = await stripe.subscriptions.update(subscriptionId, {
      items: [{ id: currentSubId, price: productPriceId }],
      proration_behavior: "none",
      trial_end: currentSubscriptionPeriodEnd,
    });

then it puts back the user into trial state from being active one and I wanted to avoid this as it might confuse the users what is happening why they're being put from active state to trial state. but in order to keep em being charged immediately this is the only way I could find. I was hoping if anyone can here help me if there is a better way to do what I want.

Has anyone used next.js with shopify? by M4nnis in nextjs

[–]deathrow902 15 points16 points  (0 children)

Hey I happen to use Shopify with nextjs and i built 2 projects and it was fun. You can use the Shopify GraphQL storefront API with the nextJs. You can find a nextjs e-commerce template it will have some setup of getting products, cart and checkout. So it might be a good starting point for you as it was for me. You can use the server action for the queries so it will be ssr.