Search

Items tagged with: Bot


AutoCraft‑Bot: Telegram как пульт управления Windows

Этот проект я изначально писал для себя и под свои рабочие привычки: хотелось иметь быстрый “пульт” к компьютеру/серверу из Telegram, где всё управляется кнопками, без постоянного ввода команд. Потом стало понятно, что штука может пригодиться и другим людям, поэтому я решил выложить её в открытый доступ. Репозиторий на GitHub: github.com/andreykadelite/Auto… Последняя версия на GitHub на момент публикации: v1.1.7 . Если интересно, как всё начиналось и к чему я пришёл по ходу разработки, у меня уже выходили две статьи на Хабре:

habr.com/ru/articles/981150/

#telegram #Accessibility #windows #gui #bot


There's a new Amazon bot launching today: `Amzn-SearchBot`

"...used to improve search experiences in Amazon products and services...such as Alexa and Rufus. Amzn-SearchBot does not crawl content for generative AI model training."

Doc page shows user-agent & links to source IP list.
Looks like it *does* obey `robots.txt` at least.

developer.amazon.com/amazonbot

#Bot #WebDev #Amazon


In #Safari on an #iPhone going to the link I see... something that resembles a blog, but tapping the "reader view" I get the following, proving the point of the headline. If we can't read it, an #AI #Bot can't scrape it.

<begin text>
# /// script # requires-python = ">=3.12" # dependencies = [ # "bs4", # "fonttools", # ] # /// import random import string from typing import Dict from bs4 import BeautifulSoup from fontTools.ttLib import TTFont def scramble_font(seed: int = 1234) -> Dict[str, str]: random.seed(seed) font = TTFont("src/fonts/Mulish-Regular.ttf") # Pick a Unicode cmap (Windows BMP preferred) cmap_table = None for table in font["cmap"].tables: if table.isUnicode() and table.platformID == 3: break cmap_table = table cmap = cmap_table.cmap # Filter codepoints for a-z and A-Z codepoints = [cp for cp in cmap.keys() if chr(cp) in string.ascii_letters] glyphs = [cmap[cp] for cp in codepoints] shuffled_glyphs = glyphs[:] random.shuffle(shuffled_glyphs) # Create new mapping scrambled_cmap = dict(zip(codepoints, shuffled_glyphs, strict=True)) cmap_table.cmap = scrambled_cmap translation_mapping = {} for original_cp, original_glyph in zip(codepoints, glyphs, strict=True): for new_cp, new_glyph in scrambled_cmap.items(): if new_glyph == original_glyph: translation_mapping[chr(original_cp)] = chr(new_cp) break font.save("src/fonts/Mulish-Regular-scrambled.ttf") return translation_mapping def scramble_html( input: str, translation_mapping: Dict[str, str], ) -> str: def apply_cipher(text): repl = "".join(translation_mapping.get(c, c) for c in text) return repl # Read HTML file soup = BeautifulSoup(input, "html.parser") # Find all main elements main_elements = soup.find_all("main") skip_tags = {"code", "h1", "h2"} # Apply cipher only to text within main for main in main_elements: for elem in main.find_all(string=True): if elem.parent.name not in skip_tags: elem.replace_with(apply_cipher(elem)) return str(soup)
<end text>


Ich habe einen #Bot geschrieben, der jeden Sonntag ein zufällig ausgewähltes Muster der Mustersprache des #Commoning teilt: @mustersprache_bot

In der Sphäre der gemeinsamen Nutzung von Dingen und der von Freiwilligkeit geprägten gegenseitigen Hilfe tauchen immer wieder dieselben Herausforderungen auf. Diese Herausforderungen werden von den Commoning-Mustern adressiert. Dabei wurden die enthaltenen Lösungen nicht 'erfunden', sondern 'gefunden': Sie beschreiben die Essenz von gelingenden Lösungen, mit denen diese Herausforderung von den daran Beteiligten angegangen wurden.

Die 33 Muster sind das politische Vermächtnis der 2021 verunglückten Commons-Forscherin Silke #Helfrich. Ich würde mich freuen, wenn sich hier ein paar Menschen finden, die diese Muster gelegentlich teilen, damit die darin enthaltene Erfahrung im #Fediverse Verbreitung findet. Dankeschön! 🙏

#commons #peereconomy #p2p #foss #care #sharing #kommunalismus





#Bot #nvda


#Bot


#Bot


The domain zwezo.o-k-i.net automatically creates mirroring #Mastodon #bot accounts upon any #Twitter handles put into their search field, without authorization by the original Twitter profile owners.

I doubt, this is #legal, under EU law at least & find it highly #disturbing, that anybody can create bot accounts referring to others, who are neither aware of this nor authorized this in person.

BIG FLAW!

Please boost, so mastoadmins can take action.

#mastoadmin #followerpower #boost
@rysiek


I wrote a bot that parses the current #Mastodon instances and assigns them to the respective #ASN (de.wikipedia.org/wiki/ASN).

Interesting is the concentration on a few top ASN. Here for example the 10 most frequent ASNs as Pie Chart (as of 11/25/2022).

❤️ Thanks to @TheKinrar for the nice API for receiving the current mastodon instances.

#networking #network #mastoadmin #mastoadmins #research #bot #instance


RT @mnt_io@twitter.com

Latest project released, npmjs.com/package/@matrix-org/…. Node.js bindings to the Rust matrix-sdk-crypto crate. It exposes the required API to write bots and bridges for Matrix and other networks. Please come try it!

#matrix #rustlang #nodejs #napi #bot #bridge #decentralization twitter.com/matrixdotorg/statu…

🐦🔗: twitter.com/mnt_io/status/1548…