HiveFortune - Raffle Winners through Hive Comments made on Blog-Posts

in HiveDevs2 days ago

A long time ago, my friend @snackaholic built a really useful tool. That was back in August 2020... so more than five years ago already. The idea behind the tool was simple but powerful. It allowed you to run a giveaway or raffle based on a Hive blog post and its comments. The tool would randomly choose one of the users who commented on the post as the winner. At that time, the project was quite popular among the Hive community. You can still see the original GitHub repository here: https://github.com/snackaholic/hivefortune

A few days ago, I suddenly remembered this project and thought to myself... why not rebuild it? This time with a more modern design and maybe a fun winner animation. So I opened up the Google AI Studio and started working on it. It took me a bit of time and several rounds of prompt tweaking, but in the end, I managed to create a new version of the tool. It is now simple, clean, and works just as well — if not better. The design is minimal and focuses on the core function, but I also added a smooth animation for when the winner is selected. I think this makes the experience more exciting and fun for everyone watching.

410shots_so.png

LIVE URL (Github Pages)

Since the website does not require server.js or similar, I host the tool on Github Pages.

https://louis-88.github.io/HiveWheelofLuck/

Winner Animation

20251206-1401-26.1801968-ezgif.com-video-to-gif-converter.gif

Features (so far)

I am still planning to add more functions and improvements, but for now, here is a list of everything that works already:

  • You can add participants either by loading the comments from a Hive blog post or by entering them manually. Each participant should be placed on a new line.

  • There is a smart filter that can include or exclude known bots and spammers. These are the accounts that often comment but are not supposed to be part of the giveaway.

  • You can set a custom fairness seed for each round. This is useful if you want to ensure transparency and fairness for your audience.

  • The current Hive block number is shown on the screen, so it is clear which block the result is based on.

  • The profile pictures of all participants are displayed next to their usernames, making the list more visual and interesting.

  • If needed, you can also remove specific participants manually before running the raffle.

  • There is a separate page where you can view the list of excluded accounts and bots, which helps with transparency.

  • Winners are saved in the local storage of your browser. This is useful if you want to pick several winners one after another without losing track.

  • The website includes a dark mode and a light mode. You can easily switch between them using the toggle button in the header.

  • There is a separate page with more details about the fairness system and how the winner is selected.

Screenshots

image.png

image.png

Planned Updates soon

  • Better sharing to HIVE
  • Enable Raffle Sessions
  • Enter Winnings
  • Maybe Add Splinterlands Assets
  • Choose Participants by Upvoted, Reblog

Ideas?

If you have any further ideas or suggestions for features, please feel free to write them in the comments. I'll see if I can implement them.

Sort:  

Nice one @louis88 - I tried it out and made a quick demo video and posted it here: https://hive.blog/alive/@hirohurl/i-made-a-demo-video-of-the-new-hive-fortune-roller-by-louis88-and-found-a-winner

!BBH
!ALIVE

Loading...

Google AI Studio huh? Now you have my interest! I guess I know what I am going to be doing today while I wait for the Big Ten Championship game to start. Oh, the giveaway thing is cool too :) Thanks for sharing!

Loading...

Wow, great job on the upgrade! Love the minimal design and the smooth animation. Would love to check it out...

I can't recall the name but I used a different cite for @drawmatic giveaways. This was seems cooler! Hopefully it's not just vibe coding and it would disappear after some months....

Choose Participants by Upvoted, Reblog

Don't do that, it will be a new mess.
Just reblog for double entry is enough. Anything with votes back fires time and time again.

Ohh this is great for sure!! More utility on hive would be epic for sure. 👍

Loading...