z3n7
Вспомогательная .NET-библиотека для проектов ZennoPoster. Самый долгоживущий и постоянно поддерживаемый проект Z3N.
v1.0.930
Release v1.0.930
This is the first release of z3n7. This repository previously hosted ZBS (ZBSolutions, last released as v2.0.0-beta); starting with this release it hosts z3n7.
z3n7 is a .NET Framework 4.8 helper library for ZennoPoster: it takes the routine parts of browser automation — project setup, logging, HTTP, databases, mailboxes, cookies, traffic capture and reporting — and puts them behind extension methods on IZennoPosterProjectModel and Instance, so C# actions stay short and the same code is shared across all your projects.
What's inside
- Accounts — account runner, instance and profile management, PID ↔ account binding, profile sync.
- Browser — instance and JS extensions, cookie storage and collection, Chrome extension management, canvas / image recognition, GPU spoofing, fingerprint scan.
- Database — one
Db/SqlAPI over PostgreSQL and SQLite, table schemas, JSON helpers. - Mail — Gmail, Microsoft (Graph), FirstMail, TempMail and custom-domain mailboxes with OTP extraction.
- HTTP —
RqstandNetHttp(sync and async) clients with proxy support and logging. - Traffic — HAR recording over Chrome DevTools, HAR export, GraphQL helpers, traffic counters.
- Reports — HTML / JSON balance and account reports; error reports to log, database or Telegram.
- Embedded server — HTTP server inside ZennoPoster (
project.StartZpServer()) with/state,/traffic,/command,/versionendpoints and bearer-token auth, so an external orchestrator can talk to running projects directly. - Tools — TOTP, randomisation, ZennoPoster project search,
.zp→.csxconversion.
Highlights
- Single DLL: Npgsql, AForge.Imaging, Svg, ZXing.Net and Otp.NET are embedded into
z3n7.dll(Costura.Fody) — no extra files to copy. - Wide ZennoPoster support: works on ZennoPoster 7.7.21 and later.
- Reproducible build: relative project paths and a single
ZennoProgssetting for the ZennoPoster location (see the README).
Breaking Changes
- Coming from ZBS
v2.0.0-beta: the namespace is nowz3n7(wasZBSolutions) and the API is different, so existing code must be updated — replaceusing ZBSolutions;withusing z3n7;and adjust the calls.
Installation
- Download
z3n7-1.0.930.zipbelow and extractz3n7.dll. - Copy it into
Progs\ExternalAssemblies\of your ZennoPoster version. - Add
using z3n7;to your C# actions.
Newtonsoft.Json and HtmlAgilityPack are not embedded — ZennoPoster must be able to resolve them.
Usage
using z3n7;
// Initialise project variables and the browser instance
project.InitVariables(instance);
// HTTP request with project-aware logging
var http = new Rqst(project, log: true);
string body = http.GET("https://api.ipify.org", proxy: "", deadline: 30);
// Embedded control server (port 22222 by default)
project.StartZpServer();
Feedback
Found a bug or need a feature? Open an issue.
beta
Release v2.0.0-beta
This is the v2.0.0-beta release of ZBS (ex w3tools), featuring a complete rewrite and significant improvements. After a month of development, the library is now more modular, efficient, and tailored for ZennoPoster 7.8+. This is a beta release, so please test it and report any issues via GitHub bugs.
Changes
- Full Code Rewrite: The library has been rebuilt from scratch, adhering to OOP conventions for better structure and maintainability.
- Single .DLL: All functionality is now consolidated into one DLL, simplifying integration and enabling shared code usage across projects.
- Removed Unused Dependencies: Eliminated redundant dependencies to reduce size and improve performance.
- ZennoPoster 7.8+ Compatibility: Fully adapted for ZennoPoster 7.8 and later, with optimized integration for automation workflows.
Breaking Changes
- The rewrite introduces a new API, incompatible with
v1.x.x. You’ll need to update your code to work with the new structure. - Deprecated features from
v1.x.xhave been removed. - A migration guide will be available soon.
Known Issues
As a beta release, minor bugs may occur. Please report them via GitHub bugs.
Installation
Download the DLL from the Releases page and copy it into Progs\ExternalAssemblies\ of your Zennoposter version with other dependencies
Usage
Example of using the library in ZennoPoster 7.8+:
using ZBSolutions;