Sam's Archive
650 subscribers
458 photos
47 videos
20 files
152 links
This channel is where I share my projects, creative ideas, and my thoughts along the way.

dm: @sami_f_k
Download Telegram
Good Morning.🌅
3👍1
Context Search Bot – Find Any Message in Your Telegram Group

Have you ever asked a question in a group and received no response but you’re sure it was discussed before. So, you decide to search, but you don’t know the exact words to use. The issue is that Telegram’s search only works with exact words. Context Search Bot solves this by understanding the meaning of your question, not just the specific terms.

This bot doesn’t generate new answers—it helps you find past discussions where your question was already answered. It’s perfect for active tech groups like CodeNight, where useful conversations can get buried in the chat.

🔍 Smart Search – Finds messages based on meaning, not just exact words.

🤖 AI-Powered – Uses Google Gemini AI to understand your query.

📝 No Setup Needed – Starts working automatically when added to your group.

🔗 Easy Navigation – Click on links to jump straight to the original messages.

🔐 Private & Secure – Works within Telegram’s system, respecting group permissions.

How It Helps

🔎 You Ask: /ask What tool helps with local AWS testing?

Bot Finds: A past message about LocalStack. With a simple click, you’re taken back to the conversation.

How to Use It
1️⃣ Add @RedatSearchBot to your Telegram group.
2️⃣ Make it an admin (so it can read & send messages).
3️⃣ Use simple commands:
/ask <question> – Find discussions on your topic.
/search <query> – Look up specific messages.
/help – See what the bot can do.

Built With
Go – Backend
Meilisearch – Fast, powerful search engine
MongoDB – Stores messages efficiently
Google Gemini AI – Delivers context-aware results

Github Repo:
https://github.com/Samuel-Fikre/SearchBot


#My_Projects
🔥7
So For this week's challenge, I took on a project inspired by @Dagmawi_babi exporting Telegram group messages to a PDF. I’ve always wanted to search in Telegram by context, like how Google works, but Telegram's search only matches exact words. My initial plan was to train an AI with the PDF, but since the PDF lacked user IDs and message IDs, I decided to build the idea differently.

Instead of starting with the PDF, I began by building a system where the bot accepts messages directly from the group and stores them in a database. Now, when the bot is added to the group, it can fetch the messages with all the relevant data, so you can click and go to the original message.

It was a tough challenge at first but by the end it became easier. I learned a lot about integrating AI and giving it the right prompts. I’ve built a bot before once but this project pushed me to dive deeper into bot development.

The Bot is still in the testing phase. It tries to understand what you mean, not just the exact words you type. The search results might not be perfect yet, but if you encounter any bugs, feel free to let me know!
🔥6
"Pain of discipline or pain of regret"?

I love this quote because it’s so true.I am not trying to be motivational guru demo 😅 But Life’s gonna be tough either way right? You can choose the hard work of discipline showing up, putting in the effort, and staying focused. Or you can face the pain of regret later which honestly feels way worse. Discipline might suck in the moment but regret sticks around and hurts more in the long run. This idea helps me push through when things feel tough, so I wanted to share it with you.So choose your hard.Have a lovely night.😴
💯5👍1🙏1
“Let us suffer if we must, but let us suffer on the heights.”

Victor Hugo
👍2💯2
Next Read.
👏4
So for this week challenge I'm thinking to build the mobile app version of Redat. Wish me luck because I don't know anything about Flutter I'm just diving straight in.
🔥7
Sam's Archive
Context Search Bot – Find Any Message in Your Telegram Group Have you ever asked a question in a group and received no response but you’re sure it was discussed before. So, you decide to search, but you don’t know the exact words to use. The issue is that…
The bot is added to gc of this channel you can use it or see how it works i've provided an example of how it works. For now, it only fetches the 100 messages sent before it was added to the group. so maybe if the thing you're searching is beyond that scope it might not recognize your request.but it is for now it will work for all messages soon.
This media is not supported in your browser
VIEW IN TELEGRAM
The modern world doesn't excite me, I want trees, the sense and colors, the shifting shadows of the wood, sunsets, the night sky.

Good Morning ❤️🌅
7
Sam's Archive
https://youtu.be/_SeklR3Ys8U?si=0pOHYyXqWh7HtMcs
This is so right but it is funny that watching movies is considered productive now.
😁1
React native is actually good.
😁1
🗿
😁9
Go is just a great language to write and read. Go is really the only language where I've been able to view random repositories and determine what's going on fairly quickly.
6
Beautiful!🖤
7