You are viewing our Forum Archives. To view or take place in current topics click here.
Shoutbox Services Suite
Posted:

Shoutbox Services SuitePosted:

tortuga
  • Fairy Master
Status: Offline
Joined: Dec 25, 200914Year Member
Posts: 2,314
Reputation Power: 1686
Status: Offline
Joined: Dec 25, 200914Year Member
Posts: 2,314
Reputation Power: 1686
Shoutbox Services Suite

Want to never miss a shout from the shoutbox again? Wish you could just sit back and relax while the shoutbox lulls you to sleep with the soothing sounds of rep me pls or anime anime anime? Curious who the top shouters are for a given time frame?

Well, this is the tool for you then. Available at [ Register or Signin to view external links. ] , the SSS will let you do all of those things and more in the future. Visiting the site, you might notice there is nothing but two tabs, Find and Feed. One will let you query for shouts back in the past, and the other is just the same familiar feed of the shoutbox, but with a speech synthesis service running in the background to speak shouts aloud.

e.g. querying for shouts during July 4th.

[ Register or Signin to view external links. ]

The items on my to-do are...

    - a list of top shouters that will be query-able by date (can't do that yet - even though I teased it above!)
    - perform NLP on our shouts to generate some neat dashboards and graphs about the language used in our shoutbox
    - improve the UI a bit. expose total counts so far and expose the users endpoint
    - potentially keep track of user's total time in the shoutbox. ty @RepBandit
    - integrate speech recognition so we can send shouts via our voice (relies on the following bullet point)
    - some sort of authentication service to prevent exposing our shouts to the outside world (probably not possible without actually using TTG's db to auth against, but this isn't safe). Alternatively, I can ask for the user's user cookie, but this is also an awful solution. No idea how this authentication stuff works, but I think a safe solution is to have @telli expose an OAuth service so I can authorize users against it. I'll ask him!



How does it work?

Feel free to dig around!

Back-end: [ Register or Signin to view external links. ]
Front-end: [ Register or Signin to view external links. ]

The whole stack is in TypeScript. The back-end is a suite of microservices talking to each other via RabbitMQ. It all starts off with the poller service hitting the same request that's hit when we're in the shoutbox to get new shouts. It sends this raw shout off to be processed by the processor service, which is then sent to the persistor service to persist it into a Mongo database. Rinse and repeat. I then expose the shouts via an API to be consumed by the Angular front-end.



Background

This is something I've been working on and off for the past few months (I can't believe it's already July). Development is sporadic!

It started with wanting timestamps in the shoutbox (and we have them now thanks to our suggestions over the years!). Next I wanted to make the shoutbox speak our shouts so we could never miss a conversation again. Here are some posts about that --

Forums/t=7676354/the-tech-game-te...utbox.html
Forums/t=7678387/clientside-textt...utbox.html

The above implementations were very limiting and not very user-friendly, but eventually led to the prototype available here [ Register or Signin to view external links. ] . This service was fine for a bit, but it felt messy. And finally here we are at the Shoutbox Services Suite!

Thanks!

The following 12 users thanked tortuga for this useful post:

Echo (07-31-2017), TOXIC (07-31-2017), larp (07-31-2017), Adam (07-31-2017), StickyDanker (07-31-2017), Chat (07-31-2017), Xbox (07-31-2017), GME (07-31-2017), r00t (07-31-2017), XeReviver (07-30-2017), Streamah (07-30-2017), gec (07-30-2017)
#2. Posted:
Streamah
  • Summer 2020
Status: Offline
Joined: May 24, 201014Year Member
Posts: 10,103
Reputation Power: 3697
Status: Offline
Joined: May 24, 201014Year Member
Posts: 10,103
Reputation Power: 3697
This is legendary deserves a sticky
#3. Posted:
gec
  • TTG Natural
Status: Offline
Joined: May 02, 201113Year Member
Posts: 913
Reputation Power: 2075
Status: Offline
Joined: May 02, 201113Year Member
Posts: 913
Reputation Power: 2075
let the battle for the most shouts begin
#4. Posted:
Status: Offline
Joined: Feb 27, 201113Year Member
Posts: 31,557
Reputation Power: 15112
Status: Offline
Joined: Feb 27, 201113Year Member
Posts: 31,557
Reputation Power: 15112
Here we **** go.

Thanks tortuga this is amazing.

#5. Posted:
Seam
  • Fairy Master
Status: Offline
Joined: Mar 20, 201014Year Member
Posts: 5,137
Reputation Power: 2712
Status: Offline
Joined: Mar 20, 201014Year Member
Posts: 5,137
Reputation Power: 2712
This is great for when you wanna spam everyone with 0's and other annoying asf T2S stuff in chat.

Having fun already
#6. Posted:
9nty
  • Summer 2019
Status: Offline
Joined: Jan 26, 20168Year Member
Posts: 11,791
Reputation Power: 11040
Motto: 9nty.gg
Motto: 9nty.gg
Status: Offline
Joined: Jan 26, 20168Year Member
Posts: 11,791
Reputation Power: 11040
Motto: 9nty.gg
This is so cool and a great find for sure. Very nice. Thanks tortuga!
#7. Posted:
Maj
  • E3 2017
Status: Offline
Joined: Mar 30, 201410Year Member
Posts: 3,589
Reputation Power: 376
Status: Offline
Joined: Mar 30, 201410Year Member
Posts: 3,589
Reputation Power: 376
Some amazing work here! This should 100% be stickied
#8. Posted:
TOXIC
  • TTG Veteran
Status: Offline
Joined: Jan 16, 201212Year Member
Posts: 22,346
Reputation Power: 32748
Motto: TTGS #1 SHIT POSTER!
Motto: TTGS #1 SHIT POSTER!
Status: Offline
Joined: Jan 16, 201212Year Member
Posts: 22,346
Reputation Power: 32748
Motto: TTGS #1 SHIT POSTER!
This is amazing man, put some time into I see thanks so much, bro.
#9. Posted:
Katsumi
  • Supporter
Status: Offline
Joined: Jan 23, 201113Year Member
Posts: 17,175
Reputation Power: 2037
Status: Offline
Joined: Jan 23, 201113Year Member
Posts: 17,175
Reputation Power: 2037
This is very cool. Awesome work.
#10. Posted:
Echo
  • Gold Gifter
Status: Offline
Joined: Jun 21, 201410Year Member
Posts: 3,189
Reputation Power: 340
Status: Offline
Joined: Jun 21, 201410Year Member
Posts: 3,189
Reputation Power: 340
Damn there I am, Am I famous ?
Mom get the camera.

Great work Tortuga! amazing job, bookmarked already and can't wait to see more updates
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.