Skip to content
View prethink's full-sized avatar
๐Ÿ 
Working from home
๐Ÿ 
Working from home

Block or report prethink

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please donโ€™t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
prethink/README.md

Hi there, I'm Ilya ๐Ÿ‘‹

Self-taught .NET developer โ€” I build reusable frameworks, not one-off scripts.

NuGet downloads Focus


๐Ÿš€ Featured Projects

๐Ÿค– PRTelegramBot โ€” a framework for Telegram bots on .NET

Stars NuGet License

Telegram's official Bot API library examples โ€” PRTelegramBot is listed here.

Writing a Telegram bot usually means one giant switch over update.Message.Text. PRTelegramBot replaces that switch with attributes โ€” you mark a method, the framework finds it and routes the update to it.

[SlashHandler("/start")]
public static async Task Start(IBotContext context)
{
    await MessageSender.Send(context, "Hello, World!");
}
  • ๐Ÿงญ Attribute-based routing โ€” SlashHandler, ReplyMenuHandler, InlineHandler, parameterized commands
  • ๐Ÿงฑ Ready-made UI โ€” menu/keyboard builders, a date picker calendar, paginated messages
  • ๐Ÿ”Œ Real architecture โ€” middleware pipeline, DI, event bus, background jobs with retries
  • ๐Ÿ›ฐ๏ธ Polling and webhook, multi-bot in one process, admin/whitelist management, ILogger support
  • ๐ŸŽฏ Non-invasive wrapper โ€” the whole Telegram.Bot API stays available, nothing is hidden from you

Built on Telegram.Bot โ€ข .NET 6.0+ โ€ข MIT โ€ข published on NuGet with SemVer and backward-compatibility guarantees.


๐ŸŽฎ PRUnitySDK โ€” the layer every Unity project rewrites

Unity Status

Every new game starts with the same three days of work: a lifecycle, a pause system, an event bus. PRUnitySDK is those three days, already done โ€” a set of systems designed to be dropped into a project and grown with it.

  • ๐Ÿ”„ PRMonoBehaviour โ€” a base component with an explicit lifecycle and built-in pause awareness
  • ๐Ÿ“ก EventBus โ€” typed global events, no more FindObjectOfType spaghetti
  • โธ๏ธ PauseManager + PRTime/PRTimeScale โ€” several independent kinds of pause (logic, audio, UI) instead of one global Time.timeScale
  • ๐Ÿšฉ FlagsSystem โ€” shared, conflict-free state control over a single object
  • ๐ŸŽ Gameplay modules โ€” entities, items, resources, rewards, progression
  • ๐Ÿงฉ Bootstrap-scene initialization, optional Zenject and YG2 integrations

Unity 2022.3 LTS+ โ€ข Newtonsoft Json for Unity + DOTween โ€ข installed as a Git submodule.


๐Ÿ”ซ Cs2Telegram โ€” a CS2 server inside a Telegram chat

Stars

A plugin that pipes a Counter-Strike 2 server into Telegram: server events reach the chat, and the chat reaches the server back. Admin without RCON and without opening the game.


๐Ÿ› ๏ธ Tech Stack

Core

C# .NET Unity Telegram

Web

TypeScript JavaScript React HTML5 CSS3

AI-assisted development

Claude Claude Code Codex ChatGPT

Tools

Visual Studio VS Code Git NuGet


๐Ÿ“ซ Contacts

Telegram Email


Profile views

Pinned Loading

  1. PRTelegramBot PRTelegramBot Public

    A .NET framework for building Telegram bots on top of Telegram.Bot: attribute-based command routing, menus, middleware, DI and background tasks.

    C# 40 3

  2. PRUnitySDK PRUnitySDK Public

    WIP

    C#

  3. Cs2Telegram Cs2Telegram Public

    Telegram bot in cs2 server

    C# 14