Markinim News Channel
1.37K subscribers
63 photos
5 videos
9 files
36 links
Official news channel for @MarkinimBot / @mgmsbot, and also my personal blog
Contact me: join the comments chat

Markinim is open source and uses Markov chains, and it's made in Nim.
Send /help to the bot for the commands.
Download Telegram
Happy Halloween everyone ๐ŸŽƒ๐Ÿงก
Marki will be spooky for the following day >:)
Please open Telegram to view this post
VIEW IN TELEGRAM
โค46๐Ÿคฏ5๐Ÿ˜ˆ5๐Ÿคฎ3๐Ÿ’ฉ3๐Ÿ‘1๐Ÿ–•1
A really cute Markinim fanart, made by @shlimakbob โค๏ธโค๏ธโค๏ธ
โค46๐Ÿคฏ8๐Ÿ˜5๐Ÿ’ฉ3๐Ÿ”ฅ2๐Ÿคฉ1๐Ÿณ1๐Ÿ–•1
Mini fan art of @MarkinimBot
โค๏ธ๐Ÿค by @wettisgod
โค31โคโ€๐Ÿ”ฅ6๐Ÿฅฑ4๐Ÿฅฐ2๐Ÿ–•1๐Ÿ’˜1
๐Ÿ’œ Markinim has been updated (commit)
โ€” Topics support in forum chats (โœˆ๏ธ Telegram update)
โ€” Recognize anonymous admins in chats (for commands)
โ€” Fixed Dockerfile issues: now dependencies are cached
โ€” Improved README deploy instructions
โ€” Updated source code
โ€” Support for environment variables (for Docker, .env.sample)
โ€” Added human-readable memory usage in /count and /stats (bot admins only, ๐ŸŒ PR)
โ€” Echo errors to stderr (commit)
โ€” Ignore db on data on docker build (commit)

โš ๏ธ Important: breaking changes for selfhosted instances:
Starting from now on, the markov.db file has to be placed in {path}/data/markov.db. This allows the db to be used seamlessly with Docker. Also, the bot is now using a fork of the telebot.nim library, so uninstall the previous telebot (nimble uninstall telebot) before continuing.

๐Ÿค Multiplayer Games have been updated
โ€” Reconnecting from a new browser tab kills the old connection

๐ŸŒ Last but not least... I need help to optimize a SQL query. If you know how to optimize this script, please let me know: it is very slow. The purpose of the script is to delete everything except the latest 1500 messages for each session, to clean the database while keeping the bot answers unchanged.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿฅฐ15๐Ÿ‘€8๐Ÿ‘7๐Ÿคฏ3โค1๐Ÿ–•1
Alright guys, it's time to make Markinim portable on a 8โ‚ฌ 64MB ram chip ๐Ÿ˜„
(well, it is in fact possible, but I am missing the hardware)
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿฅด32๐Ÿ˜6๐Ÿ‘Ž3๐Ÿคฏ3๐Ÿ‘2๐Ÿ–•2
๐ŸŽน Small Markinim updates (๐ŸŒ commit)
โ€” It is now possible to hint Markinim the initial part of a sentence to generate with /markov (e.g., /markov I am). Note: this is experimental, and it is just an hint for the bot. If it cannot generate a sentence starting with that, it will just fallback to a normal generation. Also, it is case sensitive only for groups that enabled case sensitive mode. It also works with /quote
โ€” I finally fixed the cleaner script, and it is 30x faster now
โ€” Added a keeplast parameter in config.ini, KEEP_LAST env variable, to process only latest X messages from a chat. Default: 1500
โฌ…๏ธโ†”๏ธโ†”๏ธโ†”๏ธโžก๏ธ
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ŸŒญ17๐Ÿ‘3๐Ÿ–•3โœ1๐Ÿฅฐ1๐ŸŽ‰1๐Ÿ‘ป1
โ“ The usernames and links block in /settings were not working for you?
You were not alone... I just realized that the issue was not in the filter, but that it was inverted: it was enabled when off, and disabled when on ๐Ÿ˜ฆ
๐Ÿธ๐Ÿธ๐Ÿธ Anyway, I fixed it and improved its performance too.

๐Ÿ‘ And by the way, I increased the limit of messages the bot will remember per-chat from 1500 to 2500, this should lead to better generations hopefully (and will be increased again in the future). For developers: this is now an environment variable (KEEP_LAST) that you can tweak. (๐ŸŒ commits)
โค๏ธ The bot reached 65k users and 4500 chats! I am glad you're enjoying it!
Also, if you want to share a cool idea for the bot, fan arts, or anything similar, contact me :D
Please open Telegram to view this post
VIEW IN TELEGRAM
โค16๐Ÿคฏ2๐Ÿณ2๐Ÿ–•2๐Ÿ”ฅ1๐Ÿคฌ1
โค๏ธ Credits: @zopporillo
๐Ÿฅฐ50โค12๐Ÿคฏ5๐Ÿ‘4๐Ÿคฎ2๐Ÿ–•1
โค16๐Ÿ–•3๐Ÿคฏ2
Markinim News Channel
โค๏ธ Credits: @zopporillo
๐Ÿ‡บ๐Ÿ‡ฆโค๏ธ
โค317โคโ€๐Ÿ”ฅ53๐Ÿคฎ32๐Ÿ’ฉ14๐Ÿ‘Ž10๐Ÿคฏ10๐Ÿ‘6๐ŸŒ4โšก3๐Ÿ˜2๐Ÿณ1
{insert boring "happy new year" message here} ๐ŸŽ†
I want this post to be something different than the obvious New Year ones (also, ugh, timezones), so I'll tell you a small anecdote instead. During this year, a handful of people have thanked me for Marki, because it made them smile during hard times. I am really thankful because they made me smile as well. This is one of the main reasons why I am continuing to put effort into this project, with the hope to make even more of you truly happier :)
Alas, despite trying my best to achieve that, I am often feeling down or lonely, and I believe that many of you might feel the same. Let's try our best to change this positively this year. Make new experiences, do the things you always wanted to do - but never had the time, try to open yourself to others, taste new food, find a partner maybe, let's overcome this loneliness/emptiness together <3
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿฅฐ43โค12โ˜ƒ8๐ŸŽ‰5๐Ÿ‘4๐Ÿณ3๐Ÿฅด2๐Ÿ–•2โคโ€๐Ÿ”ฅ1๐Ÿ‘1
Happy birthday, Markinim!
Exactly one year ago, I created the bot just for a group with few friends. A lot of people eventually started using it, and made them laugh. I am happy that many of you enjoy the bot!
โค83๐Ÿฅฐ13๐ŸŽ‰13๐Ÿคก4๐Ÿ—ฟ4๐Ÿ‘1๐Ÿ–•1
Markinim News Channel
Happy birthday, Markinim! Exactly one year ago, I created the bot just for a group with few friends. A lot of people eventually started using it, and made them laugh. I am happy that many of you enjoy the bot!
๐ŸŽ The bot has been moved to a new server: it should reply faster now. I also increased the number of messages that markinim remembers from 2500 to 4000 :D
25/01/2022 edit: 12k now
๐Ÿฅฐ58๐Ÿ‘7โค6๐ŸŒญ5๐Ÿ–•2๐Ÿ˜1๐Ÿคฌ1
โญ๏ธ Markinim update: random replies (requested feature, ๐ŸŒ git)
โ€” /settings โ€”> Random quote messages: if this is enabled, marki will reply to messages for percentage/2 of the times (e.g., if percentage is set to 30%, there is a 15% chance that marki will quote the message)
โ€” If you reply to /markov or /quote to a message, marki will reply to that message
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘18๐Ÿฅฐ9๐Ÿคฏ7โค4๐Ÿ–•2