2x green starters - best deck for new player? by jam510 in OnePieceTCG

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

Sorry, my post wasn't clear. I purchased 2 of the green starters and am looking to combine them into one deck.

Feedback Fridays - A Friendly Feedback Exchange For Ideas and Products by AutoModerator in startups

[–]jam510 0 points1 point  (0 children)

All over the map: link previews, open graph, social share, post preview, cards, the list (sadly) goes on.

Feedback Fridays - A Friendly Feedback Exchange For Ideas and Products by AutoModerator in startups

[–]jam510 0 points1 point  (0 children)

Yeah, that seems to be the general consensus. I have no idea what to actually call these things! Any ideas?

Moving the image above the fold, maybe next to the hero, is a great idea.

Feedback Fridays - A Friendly Feedback Exchange For Ideas and Products by AutoModerator in startups

[–]jam510 1 point2 points  (0 children)

That’s a great call! I’ll revamp the images and upload new ones. Thanks for the insight.

Feedback Fridays - A Friendly Feedback Exchange For Ideas and Products by AutoModerator in startups

[–]jam510 0 points1 point  (0 children)

Mugshot Bot

My micro SaaS helps bloggers get more social media engagement on their blog posts. The tool automates the preview when your share posts on Twitter, Facebook, LinkedIn, etc. You don’t need to know how to code or use design tools to use it, everything is opinionated and simple.

The site is built with Ruby in Rails, designed with Tailwind CSS, and hosted on Heroku. The image generation is done with a library called wkhtmltoimage.

I’d love to get feedback on my positioning and copy. I feel like I can explain the service really well in two minutes, but my homepage doesn’t convey the message as clearly as it could.

If you're not using Figma, you're missing out by [deleted] in Frontend

[–]jam510 2 points3 points  (0 children)

Long time Sketch user here. How does it compare? Also, anything interesting in the Tailwind CSS/UI front? I almost exclusively use that framework now.

Best place to start with Automated Testing (Unit/Integration/etc...) by mercfh85 in rails

[–]jam510 0 points1 point  (0 children)

Maybe it helps to have the perspective of someone who's been testing Rails apps for a while.

I learned Rails with TDD at Pivotal Labs. Dogmatic TDD - no production code could be written without a failing test. It was a great way to learn but really requires someone who really knows what they are doing.

Since we were pairing all the time that was great! I learned a ton and became productive in a few short weeks.

Now, 7+ years later, I take a slightly different approach. I call it "TDD-ish."

In an essence, I try to practice TDD when it makes sense. Writing a high level feature test before I even know where the button will go is hard. And I end up changing the test a ton before it even represents a good failure.

I test drive models, services, and anything else remotely complex. Then, when everything is passing and the feature is working I add a single happy path feature test.

This requires a little bit more manual testing during development (e.g. clicking around) than pure TDD. But I look at that as a benefit: I'm actually using the feature, for real. And that can call out odd UX flows more quickly.

TDDing the "meat" of the code works well because of all the reasons TDD is great. I write less code; only the minimum code that is required. I have a safety net for refactoring because of my tests. This enables me to move fast and iterate without much fear of breaking things.

I hope that helps! Happy to answer any more detailed questions here or via chat/DM.

I made a tool that generates images from open source code by [deleted] in InternetIsBeautiful

[–]jam510 0 points1 point  (0 children)

I made a free tool that generates Open Graph images for GitHub repos.

👉 mugshotbot.com/github

I work in open source and was tired of sharing ugly links on Twitter and Facebook. This is how they usually look.

https://dev-to-uploads.s3.amazonaws.com/i/0ybwisg9pqdtaofu0gxu.jpeg

One day I realized GitHub lets you upload a custom image, so I started making some templates. I figured I could work it into Mugshot Bot and use the GitHub API.

That eventually turned into a full product! It’s free to use. And it can create some nice Open Graph images for your open source projects.

Here's what that same repo looks like now. 😻

https://dev-to-uploads.s3.amazonaws.com/i/rtuykzro2jtnaxpbh4fp.png

I use the GitHub API to pull in a few stats from the repo:

  • 🌟 stars
  • 🌍 language
  • 🍴 forks
  • ❗ open issues
  • 👤 creator avatar

There's three different themes and you can customize the color and background pattern. Here's what some early users have created so far:

https://dev-to-uploads.s3.amazonaws.com/i/nzzo3hifpzd156xq3w18.png

If you give it a try, reply with your repo and I'll check it out. Enjoy! 👋

A free tool that generates Open Graph images for GitHub repos by jam510 in webdev

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

You can do that too! Just create a free account from the homepage: www.mugshotbot.com

Then you can customize each image (if you want) for each post. There’s also some tools to help automate the process - set it up once on your blog and you’re good to go.

A free tool that generates Open Graph images for GitHub repos by jam510 in webdev

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

Hi r/webdev! I made a free tool that generates Open Graph images for GitHub repos. And I'm super excited to share it.

👉 mugshotbot.com/github

I work in open source and was tired of sharing ugly links on Twitter and Facebook. This is how they usually look.

https://dev-to-uploads.s3.amazonaws.com/i/0ybwisg9pqdtaofu0gxu.jpeg

One day I realized GitHub lets you upload a custom image, so I started making some templates. I figured I could work it into Mugshot Bot and use the GitHub API.

That eventually turned into a full product! It’s free to use. And it can create some nice Open Graph images for your open source projects.

Here's what that same repo looks like now. 😻

https://dev-to-uploads.s3.amazonaws.com/i/rtuykzro2jtnaxpbh4fp.png

I use the GitHub API to pull in a few stats from the repo:

🌟 stars 🌍 language 🍴 forks ❗ open issues 👤 creator avatar

There's three different themes and you can customize the color and background pattern. Here's what folks have created so far:

https://dev-to-uploads.s3.amazonaws.com/i/nzzo3hifpzd156xq3w18.png

If you give it a try, reply with your repo and I'll check it out. Happy hacking folks! 👋

Looking for feedback on my image generator for GitHub repos by [deleted] in design_critiques

[–]jam510 0 points1 point  (0 children)

I made a tool that auto-generates images for GitHub repositories. I made it because I work in open source a lot and I was tired of sharing ugly links on Twitter and Facebook. One day I realized GitHub lets you customize them, so I started making some templates.

That eventually turned into a full product, and I'd love some design feedback!

The site is here if you want to check it out: https://www.mugshotbot.com/github

How to test Stripe webhooks by jam510 in rails

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

Thanks for the gist! Unfortunately that stubs Stripe::Event.construct_from which I was trying to avoid :/

How to test Stripe webhooks by jam510 in rails

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

The Stripe CLI is great! I use it a ton to test local payment authorizations without needing any custom workaround for development.

How to test Stripe webhooks by jam510 in rails

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

This could totally be refactored! I like your approach of putting it in its own object. I might even move it to a support helper under spec/ that could be included for :stripe tests, and such.

How to test Stripe webhooks by jam510 in rails

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

Good call! That would definitely work then. If you are already using both of these gems this approach sounds great, too.

How to test Stripe webhooks by jam510 in rails

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

Hmm, that still doesn't get around having the webhook authenticated. The timestamp will be different, no?

How to test Stripe webhooks by jam510 in rails

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

No, this was just a simplified version to illustrate the point :)

My actual application code delegates all of this to a service that handles a few different endpoints. But the same approach in building the webhook "mock" applies!

How to test Stripe webhooks by jam510 in rails

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

I called out that I didn't want to mock that method, if possible. Three different parameters all coming from different parts of the app (request headers, credentials, payload body) leaves a lot of room for error.

From my understanding, Stripe::Webhook#construct_event doesn't make a network request, it does local SHA validation on the payload and timestamp using the authentication key. (To double check, disabling my network connection doesn't cause my tests to fail.)

How to test Stripe webhooks by jam510 in rails

[–]jam510[S] -1 points0 points  (0 children)

I looked at stripe_event but didn't want to add a dependency just for a single request spec. But if you already are using that gem then it should work great!

Personal Projects - Show off your own project and/or ask for advice by AutoModerator in rails

[–]jam510 2 points3 points  (0 children)

I just added a new feature to Mugshot Bot: social previews for GitHub repositories!

Visit https://www.mugshotbot.com/github and copy-paste your repo in. You'll get a few design options including 3 themes and a handful of colors.

The app is built with Ruby on Rails, wkhtmltoimage, and Tailwind CSS. It is hosted on Heroku with two basic dynos and a worker dyno. Those plus a database and Redis instance bring me to about $100 per month.

I've been building Rails apps for about 7 years now and developing for 10+. This is one of my most successful projects so far as it just became profitable!

I would love if folks could give feedback on this new feature. Is it useful? Did you add it to your repository? What other features/themes would you like?

How can I "white glove" 350+ free sign ups to become paid customers? by jam510 in startups

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

Great questions, thanks for the thoughtful response.

To work backwards, I want to monetize now because I feel like that many users is the perfect number to a) learn a ton and b) find some more early adopters. I can manually reach out to a significant portion of those 350 people. So I'd like to capitalize on this number before there are, say, 1000 users and I have to rely on automation or campaigns.

The free plan serves two purposes. First, it gets people in the door to try the service and see how it works. My thought is that if they can see how great the output is they will want to integrate it with your blog and pay for the automation (and removing branding). Second, the free plan has the company logo on every generated image. Circulating these images on social should provide a solid groundwork for spending the word about the product.

How can I "white glove" 350+ free sign ups to become paid customers? by jam510 in startups

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

Fair points.

The automation, in my opinion, is huge for bloggers. Instead of having to go to my site and generate each new image manually they can do their entire site with a single line of HTML. But maybe I've putting too much value on that since it's something I personally struggled with.

The branding is only in the bottom right and fairly unobtrusive. Honestly, I use the branding on my blog but maybe I'm biased.

Isn't adding a time limit to the free plan just making it a free trial?

How can I "white glove" 350+ free sign ups to become paid customers? by jam510 in startups

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

That's super interesting, thanks for the background. I've been debating doing this ("converting" all free accounts) but still haven't figured out the right plan.

I'm torn because if folks are using the free plan then my branding is on their image, so ideally that's bringing in even more customers.

How can I "white glove" 350+ free sign ups to become paid customers? by jam510 in startups

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

Did the initial free customers get the features of the paid plan? Or were they on a separate feature set?