ridvan / send-to-telegram

A browser extension to send selected text, link, and images on web pages to Telegram via Telegram Bot API.
MIT License
7 stars 0 forks source link

[feature request]Hashtag Selection #2

Open commiyou opened 2 weeks ago

commiyou commented 2 weeks ago

thanks for creating the Send-to-Telegram Chrome extension!

ridvan commented 2 weeks ago

Hi @commiyou,

Can you provide more details on how adding hashtags should work? The first thing that comes to mind is that we can assign hashtags to domains via the dashboard. For example, when I send messages from "example.com," the hashtag #LinksFromExample can be added to the beginning or the end of the message. Also, if there's no specific match, we can use the domain name as the hashtag.

Thank you for the suggestion! ☺️

commiyou commented 2 weeks ago

I’m really glad to hear back from you! Here’s how I plan to use it: I’ll tag some content with #work for work tips and #fun for just-for-fun stuff. That way, I can easily search for them on Telegram using hashtags.

By the way, is it possible to preset a list of hashtags so that when I’m sharing content, a bubble pops up allowing me to choose? If I don’t make a choice within a certain time, the bubble disappears and it either adds a default hashtag or none at all, depending on the settings.

ridvan commented 1 week ago

Thanks for making it clear. I think this would be a great feature 👍🏻. Currently, the extension doesn't require any special permissions from the user. However, to implement the bubble feature, I would need to request additional permissions, such as scripting, which I have avoided so far. After deciding on an appropriate solution, I will work on this feature.

A workaround without asking more permissions can be handling the tags directly from the context menu like this:

image