Sam's Archive
651 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
Nostalgia.
❤‍🔥4
It makes me feel nostalgic to a time i never knew.80's was a vibe.
🤝1
😁7👏2
This is not about ice.
Everything about rust is weird.
Forwarded from DoughNut 🍩
For all Exit exam takers here are a bunch of exams for CS students. Good luck everyone.
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