Join Shroomok on Shroomok Buy me a coffee or Shroomok Discord or Shroomok Reddit

Save photos directly to Shroomok website via Discord Bot

Shroomok Robot
Shroomok Robot


Hello and welcome

This is a quick tech update on what was done for Shroomok project during past few weeks.

Let's start from simple!

LightBox — convenient way to look through article images

If you've are not new to Shroomok, you've got to remember that each picture was opening in a new browser tab. Nobody blamed me for that :) however such behaviour could annoy users.

Finally, I've installed free version of LightBox script which gives an opportunity to slide through all photos within article with no need to leave the page. Simple? Yes. Сomfortable? Hope so!

FsLightbox.js demo
FsLightbox.js demo

Shroomok Gallery & Tags

Mushroom Gallery finally shipped!

Photos with tag Fruiting on Shroomok website
Photos with tag "Fruiting" on Shroomok website


Here you can find and go trough all (858 at the moment) photos that have been used on a website. Beautiful, isn't it?

Link to the new section can be found in the top of sidebar menu.

To make navigation simpler, I suggest to use hashtags section which you can find at the bottom of Gallery page.

Hashtags in Shroomok Gallery
Hashtags in Shroomok Gallery


It's still a bit messy because photos were tagged automatically (based on titles).

P.S. You always can take a part and make Shroomok better - just drop me a message in Shroomok Discord :)

Discord Bot to upload your photos on Shroomok website

Last, but not the least.

I love Shroomok Discord community, I love Shroomok website too. I love the idea to integrate them as tightly as possible.

This year, some of you already shared own experience here, on a website. Users with 'writer' role are able to login into Shroomok and write articles. Fantastic! It was a first brick in a bridge between Discord and Web.

From now our community got a new cool member - ShroomokBot!

Birthday was a bit painful, PHP & WebSockets probably not the best friends, but who cares? I've built my first Discord Bot, who I believe, will become a real game changer!

Thanks to DiscordPHP community and, especially, to Robert Snedeker who didn't give me up in hard moment :)

Purpose is to build a grand gallery with tagged photos of harvest, different strains, species, contaminants, equipment, ideas, problems, solutions and so on. Our Discord already packed with tons of cool stuff which can be super usable after some classification job!

ShroomokBot can help with the part of this process. Click on a message with photos you'd like to upload on Shroomok.com, choose 'Apps' -> 'Save to shroomok.com'. Square window with 3 inputs will pop up. Fill the title, description, tags and push 'Submit' button

Popup which appears when you want to save some message from Discord to website
Popup which appears when you want to save some message from Discord to website


If everything's good, ShroomokBot will respond with a huge thanks and URL where you can find just added images!

ShroomokBot in Discord works on content delivery to website
ShroomokBot in Discord works on content delivery to website


A few moments later it will appear in main Shroomok gallery!

Result of ShroomokBot work with trippytrader98 photo example
Result of ShroomokBot work

Currently, it's in testing mode so only I can use it. The optimistic plan is to grant permissions on bot to every Discord member, but it needs some preparation first.

P.S All exif-data erasing before upload

Thank you for reading to this moment! You always can make positive impact on Shroomok community, do not hesitate to contact with me, I appreciate it very much.

Have a nice weekend and happy growing!

You might be interested

How Shroomok was born

Story about Shroomok birth, or how growing mushrooms became a web project. First ideas, attempts, mistakes, and further...

Read more

Feb 2023

Read more
How Shroomok was born

Shroomok DiscordBot and Gallery

Shroomok becomes more image-oriented! New Gallery section on a website, lightbox script and super cool Shroomok DiscordB...

Read more

Mar 2023

Read more
Shroomok DiscordBot and Gallery

Recent publications

Load more publications