
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Minecraft Yggdrasil protocol compatible client based on ADOFAI. Supports mojang backend.
基于 ADOFAI 和 aiohttp 的 Minecraft Yggdrasil 协议兼容客户端,支持 Mojang 后端。
目前已经实现了 Authlib-Injector Yggdrasil 协议中所有公共(无需认证) API 的包装
Yggdrasil 是 Minecraft 中身份验证服务的实现名称。
pip install yggdrasil-client
import asyncio
from uuid import UUID
from adofai import GameName, GameId
from yggdrasil_client import AuthInjCompatibleProvider, MojangProvider
async def usage_example():
littleskin = AuthInjCompatibleProvider("https://littleskin.cn/api/yggdrasil")
mojang = MojangProvider()
async with littleskin as r:
print(await r.has_joined(GameName("Notch"), "serverid"))
print(await r.query_by_name(GameName("NoTcH")))
print((await r.profile_public_key()).export_key().decode())
async with mojang as r:
print(await r.has_joined(GameName("Notch"), "serverid"))
print(await r.query_by_name(GameName("Notch")))
print(await r.query_by_uuid(GameId(UUID("069a79f444e94726a5befca90e38aaf5"))))
print(await r.query_by_uuid_raw(GameId(UUID("069a79f444e94726a5befca90e38aaf5"))))
print((await r.profile_public_keys())[0].export_key().decode())
if __name__ == "__main__":
asyncio.run(usage_example())
ADOFAI 是一组数据模型和配套工具,旨在简化自定义实现 Authlib-injector 的规范 Yggdrasil 服务端、客户端及其配套程序的过程。
Yggdrasil Scaffold 是基于 ADOFAI 和 FastAPI 的 Yggdrasil 身份验证协议实现脚手架。
FAQs
Minecraft Yggdrasil protocol compatible client based on ADOFAI. Supports mojang backend.
We found that yggdrasil-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.