Forwarded from Dotted (Apple)
FocusMode.plugin
153.4 KB
Focus Mode v1.0.1
By @AGeekApple
Focus Mode: Helps you stay focused in chats by reducing visual noise, highlighting relevant messages, and offering flexible filters and moderation tools.
Focus Mode: Помогает сосредоточиться в чатах, снижая визуальный шум, выделяя важные сообщения и предоставляя гибкие инструменты фильтрации и модерации.
EN
RU
🎥 Update available via KPM
🎥 Обновление доступно через KPM
By @AGeekApple
Focus Mode: Helps you stay focused in chats by reducing visual noise, highlighting relevant messages, and offering flexible filters and moderation tools.
Focus Mode: Помогает сосредоточиться в чатах, снижая визуальный шум, выделяя важные сообщения и предоставляя гибкие инструменты фильтрации и модерации.
EN
This update includes improvements based on feedback from the first experimental release. Behavior was adjusted for different devices, and several edge cases were refined.
Moderation features were expanded with support for keyword and regex based filters to highlight suspicious messages or links, working independently from Focus Mode.
- Release details
RU
В этом обновлении внесены улучшения на основе отзывов о первой экспериментальной версии. Поведение плагина было скорректировано для разных устройств, а также доработаны отдельные сценарии.
Функции модерации были расширены и теперь поддерживают фильтры на основе ключевых слов и regex для выделения подозрительных сообщений или ссылок. Эти функции работают независимо от режима фокуса.
- Подробнее
Please open Telegram to view this post
VIEW IN TELEGRAM
1❤🔥3👏1
A friend of mine is helping me with the dex side of things for Focus Mode. The plugin is still experimental, and there’s a lot of room to explore and improve this concept.
1👏5🌚1
I’ve been thinking about adding something like this for a while, but I always wanted it to be done in a transparent way.
That’s why I’m explaining it upfront and posting the full code here. The entire plugin code is public, and this usage counter code is literally all there is. Nothing more happens behind the scenes.
This is just a very simple counter to know how many people are using the plugin. There’s no tracking logic, no logs and no data collection.
The usage counter will also be optional. You’ll be able to disable it in the plugin settings if you don’t want it enabled. It’s not required to use the plugin.
> Cloudflare handles IPs at the infrastructure level, like any HTTPS request, but this worker itself has no access to that information.
I’m adding this to Translatica and I’d really like to hear your thoughts or feedback before moving forward.
Join: @CommunityByApple
That’s why I’m explaining it upfront and posting the full code here. The entire plugin code is public, and this usage counter code is literally all there is. Nothing more happens behind the scenes.
This is just a very simple counter to know how many people are using the plugin. There’s no tracking logic, no logs and no data collection.
The usage counter will also be optional. You’ll be able to disable it in the plugin settings if you don’t want it enabled. It’s not required to use the plugin.
> Cloudflare handles IPs at the infrastructure level, like any HTTPS request, but this worker itself has no access to that information.
I’m adding this to Translatica and I’d really like to hear your thoughts or feedback before moving forward.
export default {
async fetch(request, env) {
// Only POST is expected here
if (request.method !== "POST") {
return new Response("ok");
}
// Simple shared key check
const pluginKey = request.headers.get("X-Plugin-Key");
if (pluginKey !== env.PLUGIN_KEY) {
return new Response("forbidden", { status: 403 });
}
// Read current value
let total = await env.STATS.get("translatica");
total = Number(total ?? 0);
// Increment and store
await env.STATS.put("translatica", String(total + 1));
return new Response("ok");
}
};
Join: @CommunityByApple
👏10👍1🙏1
Apple Plugins
I’ve been thinking about adding something like this for a while, but I always wanted it to be done in a transparent way. That’s why I’m explaining it upfront and posting the full code here. The entire plugin code is public, and this usage counter code is…
RU
Я уже какое то время думал о том, чтобы добавить что то подобное, но всегда хотел сделать это максимально прозрачно.
Именно поэтому я сразу объясняю, как это работает, и публикую здесь полный код. Весь код плагина открыт, и код этого счётчика использования это буквально всё, что здесь есть. Ничего больше не происходит за кулисами.
Это просто очень простой счётчик, чтобы понимать, сколько людей используют плагин. Здесь нет логики отслеживания, логов и сбора данных.
Счётчик использования также будет опциональным. Вы сможете отключить его в настройках плагина, если не хотите, чтобы он был включён. Для использования плагина это не требуется.
> Cloudflare обрабатывает IP адреса на уровне инфраструктуры, как и при любом HTTPS запросе, но сам этот worker не имеет доступа к этой информации.
Я добавляю это в Translatica и буду рад услышать ваше мнение или получить обратную связь перед тем, как двигаться дальше.
👏5🥰1🍓1
Forwarded from Dotted (Apple)
Nowfy has reached a new visual level in plugin settings.
Here is a preview of what’s coming in the next update.
• Font upload
No more workarounds. You can now upload any font directly from the plugin settings and use it in your favorite cards. You can also mark fonts as favorites.
• Modules and Core
Nowfy has always been one of the heaviest plugins, going beyond 1MB because of the number of features. That number was only going to grow. So I finally implemented something I had been planning for a while: separating everything into a Core that handles the main logic. I also removed the large internal dictionary of keys. Translations still work normally, but they are no longer stored inside the plugin code.
• Automatic updates
Updates will now happen automatically. No more unnecessary clicks. Whenever something new is available, you will receive a notification with guidance on how to use the latest version. This system is still in testing, but so far it seems to be working as expected.
• Renewed visual concept
Plugin settings have reached a new standard. New buttons, new animations, and different ways to enable features. I know some of it will be copied, and that’s fine.
• Accessibility
Quick shortcuts to create cards, preview them, follow song lyrics, and new notification styles.
There is a lot more that I haven’t shared yet. You will see soon.
Nowfy may not be your favorite plugin, but it will definitely be the most different one you have used. The experience starts from the moment you install it.
The changelog will be huge.
Nowfy вышел на новый визуальный уровень в настройках плагинов.
Немного о том, что будет в следующем обновлении.
• Загрузка шрифтов
Больше никаких костылей. Теперь можно загружать любые шрифты прямо из настроек плагина и использовать их в своих карточках. Также появилась возможность добавлять шрифты в избранное.
• Модули и Core
Nowfy всегда был одним из самых тяжёлых плагинов, больше 1MB из-за количества функций. И дальше размер только рос бы. Поэтому я реализовал то, о чём давно думал: вынес основную логику в отдельный Core. Заодно убрал большой внутренний словарь ключей. Переводы по-прежнему работают, но теперь они не хранятся внутри кода плагина.
• Автоматические обновления
Обновления теперь происходят автоматически. Без лишних действий. Когда выходит что-то новое, вы получите уведомление с инструкцией, как перейти на актуальную версию. Система пока находится в тестировании, но на данный момент работает стабильно.
• Обновлённая визуальная концепция
Настройки плагинов вышли на новый уровень. Новые кнопки, анимации и другие способы включения функций. Понимаю, что многое будут копировать, и это нормально.
• Доступность
Быстрые действия для создания карточек, предпросмотра, просмотра текстов песен и новые стили уведомлений.
Это далеко не всё. Скоро увидите сами.
Nowfy может быть не вашим любимым плагином, но он точно будет самым необычным из тех, что вы использовали. Опыт начинается с момента установки.
Список изменений будет большим.
🔥8🤯2❤1
Please open Telegram to view this post
VIEW IN TELEGRAM
🤯24❤3❤🔥3
Some, well, “news”
In Nowfy, there used to be a method to connect your account that required you to go to Spotify for Developers, create an app, copy your Client ID and Secret, and generate a Refresh Token after authorization. Yes, it was a bit complex. Now Spotify has changed the rules and, if you want to create apps and have them actually work, you are required to be a Premium user.
That explains a lot.
In the upcoming update, there will be three ways to connect your Spotify account:
1. If you are a Premium subscriber, the original method will continue to work.
2. Connect Spotify, an app created in Spotify for Developers with a simple backend to generate your access code. This is still experimental.
3. Simply enter your stats.fm username.
For now, that is all I have to share.
🤯7❤1😱1
EN:
RU:
I had developed a feature called Floatify (you can check what it is here, it still exists in the current public version of Nowfy). However, I redesigned the concept, which ended up saving a lot of code. Access is now easier and more intuitive, it works with all services, and the visual design is more polished.
RU:
Ранее я разработал функцию под названием Floatify (здесь можно посмотреть, что это такое, она всё ещё есть в текущей публичной версии Nowfy). Однако я переработал саму концепцию, что позволило избавиться от большого количества кода. Доступ стал проще и удобнее, она работает со всеми сервисами, а визуально всё выглядит гораздо лучше.
🌚4
Nowfy update, done!
I just need to finish the translations and make a few small adjustments. The update will be released when exteraGram publishes its next app update. I do not know anything about AyuGram, so please do not ask. You will have to use the latest version of exteraGram once it is released if you want to use Nowfy. Many other new or updated plugins will likely follow the same requirement in the future.
New plugin!
I am currently testing a new plugin that I will most likely release. One of my flaws is trying to refine things too much, and that naturally takes time.
Обновление Nowfy готово!
Мне осталось лишь закончить переводы и внести несколько небольших правок. Обновление выйдет, когда exteraGram выпустит новую версию приложения. Насчет AyuGram я ничего не знаю, поэтому не спрашивайте. Если вы хотите использовать Nowfy, вам придется установить последнюю версию exteraGram, когда она выйдет. В будущем многие другие новые или обновленные плагины, скорее всего, будут работать так же.
Новый плагин!
Сейчас я тестирую новый плагин, который, скорее всего, выпущу. Мой недостаток в том, что я стараюсь слишком сильно доводить все до идеала, а это неизбежно занимает время.
🌚9❤1🙏1