mazarynio/mazaryn
35.9
Weak · 2 October 2026
176.5k
lines of production code
Erlang
with Elixir, TypeScript
2
measurements over time
What this system is
Mazaryn is a multi-language social and AI platform built on Elixir/Phoenix that integrates real-time communication, blockchain wallet management, and interactive code execution. It provides a comprehensive suite of features including video livestreaming, group-based social networking, and a dedicated AI workspace for managing datasets, models, and competitions. The system leverages a hybrid backend architecture, combining Erlang GenServers for core state management with Rust, Go, and Python services for specialized tasks like P2P networking, video streaming, and machine learning inference.
How it got here
2022 — Initial project scaffolding and core feature implementation
58 changes.
This period established the foundational architecture of the Mazaryn application, introducing the multi-language stack with Phoenix, Rust, Go, and JavaScript. It implemented core social features including user authentication, post management, and real-time chat, alongside initial blockchain wallet integrations for Solana and Hedera. The work also covered the creation of the AI platform dashboard, comprehensive localization support, and the deployment infrastructure required to run the system.
2023–2025 — AI platform and multimedia expansion
43 changes.
This period focused on building a comprehensive AI hub featuring interactive notebooks, dataset management, model hosting, and competitive leaderboards, alongside a robust multimedia system for video browsing, streaming, and media handling. The work also established core social features including real-time chat with video calling, user moderation tools, and P2P networking infrastructure using libp2p and IPFS.
2026 — multi-chain wallet and platform management features
10 changes.
This period focused on expanding the platform's core management capabilities by introducing comprehensive interfaces for groups, channels, businesses, and administrative workflows. Simultaneously, significant effort was directed toward integrating multi-blockchain support, implementing backend services and client libraries for Solana, Aptos, and Sui to enable wallet management, staking, and transaction operations.
Features
Add HTML email rendering and user registration notifications
The system now supports sending HTML-formatted emails, starting with a welcome notification for new user registrations. A new Mail.HTML module handles rendering email bodies from HEEx templates located in the web project's templates directory, allowing for structured and styled email content. The Mail.UserEmail module defines the register\_email function, which constructs and delivers a 'Welcome to Mazaryn' email to new users using the rendered HTML body.
lib/mazaryn/mail · high confidence
Add Rust-based native NIF for integer addition
A new Rust library has been added to the native/rustcode module, implementing a NIF (Native Implemented Function) named 'add' that takes two 64-bit integers and returns their sum. This code registers the function with the Erlang/Elixir runtime under the 'Elixir.Rustcode' module, enabling the application to perform integer addition via native code.
native/rustcode · high confidence
Add notification bell and colored logo icons
The application now includes a new notification bell icon and a colored logo image in the static assets. These SVG files are available for use in the user interface, likely to support the UI improvements and component updates mentioned in the commit history.
priv/static · high confidence
Add notification page with live event handling
Introduced a new notification index page (lib/mazaryn\_web/live/notification\_live) that renders a layout with navigation and sidebar components. The page includes LiveView logic to handle 'insert\_notif' and 'get\_notif' events, allowing users to insert new notifications and retrieve specific notification details via the UserClient.
_lib/mazaryn\_web/live/notification\live · high confidence
Add post listing and detail views
New LiveView components have been added to allow users to browse and view individual posts. The PostLive.Index page displays a feed of posts from followed users, supporting the creation, editing, and deletion of posts via server-side events. The PostLive.Show page renders a single post's details along with its associated comments, providing navigation back to the home feed and to the author's profile.
_lib/mazaryn\_web/live/post\live · high confidence
Add standalone HTTP API servers for posts and users
New Erlang modules (post\_api and user\_api) have been added to launch dedicated HTTP servers using the inets application. The post API listens on port 50557 and the user API on port 50558, both bound to localhost and serving static content from the ../www directory. Corresponding static assets (index.html and tech.xml) are included in the www folder to provide default pages for these endpoints.
src/otpcode/src/api · high confidence
Add user blog index page
A new LiveView page for the user blog index has been added, allowing users to view a list of users based on a search query. The page retrieves user information from the session, performs a search using the provided username, and displays the results.
_lib/mazaryn\_web/live/user\blog · high confidence
Add utility modules for UUID generation, base64 encoding, and Mnesia table management
New utility modules have been added to the application to support core operational tasks. The \id\_gen\ module provides functions for generating UUIDs (including RFC 4122 version 4 compliant identifiers) and random numbers, while \erl\_deen\ offers helper functions for base64 encoding and decoding of both binary data and strings. Additionally, \core\_util\ introduces utilities for interacting with the Mnesia database, specifically allowing users to read all records from a specified table and clear table contents, alongside a helper for formatting UTC datetime strings.
src/otpcode/src/utils · high confidence
Added AI sentiment analysis module
Introduced a new AI module for performing sentiment analysis on text content. The implementation includes a neural network model built with Axon and Nx, trained on dummy data to classify text as positive, negative, or neutral. It provides functions to encode text into numeric tensors and predict sentiment based on the trained model, enabling the application to automatically analyze the tone of user-generated posts.
lib/mazaryn/ai · high confidence
Added ChatGPT integration script
A new Python script (chat/chatgpt.py) has been added to enable users to interact with the OpenAI GPT-3.5-Turbo model via the command line. The script accepts user input as a command-line argument, sends it to the OpenAI API using a configurable API key, and prints the generated response.
src/otpcode/pycode · high confidence
Added GenServer-based services for ads and business accounts
New Erlang GenServer modules, ads\_server and business\_server, have been introduced to manage advertising and business account data. These services expose APIs for inserting records and retrieving accounts by ID or username, delegating persistence operations to their respective database modules (adsdb and businessdb).
src/otpcode/src/core/ads, src/otpcode/src/core/business · high confidence
Added binary dataset retrieval server
A new gen\_server module, dataset\_binary\_server, has been introduced to handle the retrieval of dataset binaries. It exposes functions to start the server, fetch a dataset binary by ID and user ID via get\_dataset\_binary, and trigger cleanup of old binaries. The server interacts with the database layer (datasetdb) to fetch the binary data and includes a scheduled cleanup mechanism, although the current cleanup implementation is a placeholder that does not yet remove data.
src/otpcode/src/core/dataset · high confidence
Added data manipulation utilities for item management
The library now includes a new \Mazaryn.DataAbstractor\ module that provides functions for retrieving, filtering, and updating items within a collection. Users can fetch specific items by ID, filter out items by ID, or update existing items by merging new values. Additionally, a utility is provided to normalize UUIDs by loading them via Ecto and removing trailing characters, ensuring consistent identifier formats across the application.
_lib/mazaryn/data\abstractor · high confidence
Added database seeding script and migration formatter
The application now includes a \.formatter.exs\ file for the \priv/repo/migrations\ directory to standardize code formatting for Ecto SQL migrations. Additionally, a \seeds.exs\ script has been added to populate the database with three sample user accounts (user1, user2, user3) using the \Mazaryn.Signup.Form\ for initial setup and testing purposes.
priv/repo · high confidence
Added initial NLP model implementations and datasets for content classification, sentiment analysis, and language detection
This change introduces a new Julia package (\juliacode\) alongside Python counterparts for several natural language processing tasks. It includes source code and sample datasets for content category classification (using TF-IDF and neural networks), sentiment analysis (lexicon-based scoring with Flux/TensorFlow models), language detection (using LSTM networks), and multi-label topic classification. The Julia implementation relies on the Flux library for neural network training, while the Python versions utilize TensorFlow/Keras and scikit-learn, providing parallel implementations for these text processing capabilities.
src/juliacode · high confidence
Added initial media live view components
New Phoenix LiveView components have been added to the media section of the application. The MusicComponent initializes the view by loading the current user and preparing a media changeset for form handling, while the MediaComponent and VideoComponent serve as basic structural placeholders for future media management features.
_lib/mazaryn\_web/live/media\live · high confidence
Added initial state management and data record definitions
Introduced new Erlang modules for managing user and post states via gen\_statem, providing entry points to query user status and archive or edit posts. Additionally, added include files defining data records for clubs (including specific types like AI, art, book, medical, space, and tech clubs) and augmented reality records to support the application's data structures.
src/otpcode/src/include · high confidence
Added login form validation and authentication logic
The application now includes a dedicated form module for handling user login and signup interactions. This change introduces validation rules requiring an email address and a password (8-20 characters), and integrates with the core user client to verify credentials. Users will now receive specific error messages for invalid formats, incorrect credentials, or system errors during the authentication process.
lib/mazaryn/login · high confidence
Added placeholder Hedera wallet dashboard view
A new LiveView component and its corresponding HEEx template have been added to the dashboard's wallet section. This introduces a basic UI shell for a Hedera wallet feature, currently displaying a static 'Hedera Wallet' label with no functional logic or data binding.
_lib/mazaryn\_web/live/dashboard\live/wallet · high confidence
Added release scripts and systemd service for Mazaryn deployment
The application now includes specific release artifacts to support deployment on bare metal systems. This adds shell and batch scripts for running database migrations and starting the server, along with a systemd unit file that configures the Mazaryn service to run as the 'zaryn' user with automatic restarts.
rel · high confidence
Added static informational pages for About, Careers, Contact, and Privacy
New static HTML templates have been added for the About, Careers, Contact, and Privacy Policy pages, providing users with dedicated sections to learn about the platform's vision, view job opportunities, access support channels, and review data handling policies. These pages feature a consistent pink and rose gradient design, include interactive background elements, and utilize gettext for internationalization support.
_lib/mazaryn\web/templates/page · high confidence
Added stubbed Rust NIF module for the rustcode crate
A new Elixir module, \Elixir.Rustcode\, has been added to the \lib/mazaryn/rustcode\ directory. This file serves as a placeholder for a Rust-based NIF (Native Implemented Function) integration, defining the \Rustler\ setup for the \:rustcode\ crate and declaring a stubbed \add/2\ function that currently raises a \:nif\_not\_loaded\ error. This change prepares the codebase for future native code integration but does not yet provide functional behavior.
lib/mazaryn/rustcode · high confidence
Added wallet record definition
A new header file (wallet.hrl) has been added to the wallet module, providing the record definition for wallet entities. This establishes the data structure used within the wallet component.
src/otpcode/src/wallet · high confidence
Added wallet utility modules for cryptographic operations and mnemonic handling
New utility modules have been added to the wallet utils package to support core wallet functionality. The \mnemonic\ module implements BIP-39 compatible mnemonic generation, validation, and seed derivation (using PBKDF2-HMAC-SHA512), relying on a new \english.txt\ word list. Supporting cryptographic capabilities include \crypto\_utils\ for generating EC key pairs (secp521r1 and secp256k1), \hash\ for RIPEMD160 and SHA256 hashing, \b58\ for Base58 encoding/decoding, and \uuid\ for generating version 4 UUIDs and random strings.
src/otpcode/src/wallet/utils · high confidence
Added welcome email template for new users
A new HEEx template for the user notifier has been added, defining the HTML structure for a welcome email. This template displays a personalized greeting using the user's name, marking the introduction of a specific communication channel for onboarding new accounts.
_lib/mazaryn\_web/templates/user\notifier · high confidence
Admin interface for managing artist requests
Administrators can now review, approve, or reject artist applications directly from the admin panel. This change introduces a new LiveView and template in the admin area that displays pending requests, allowing admins to filter by status, view detailed artist information (including bio and genres), and take action. Approving a request creates the artist profile, while rejecting it requires a reason and updates the request status accordingly.
_lib/mazaryn\_web/live/admin\live · high confidence
Admin management capabilities for users and posts
Administrators can now manage platform content and user accounts through new backend functions. The \ManagePost\ module allows admins to retrieve and delete specific posts, while the \ManageUser\ module provides a comprehensive set of tools to view user details, verify or unverify accounts, suspend, unsuspend, ban, and unban users, as well as list other administrators.
lib/mazaryn/manage · high confidence
Advanced Translation API with multi-model support and language detection
The translation service in src/pycode/translate has been upgraded to an advanced API that supports multiple model architectures (NLLB, M2M100, and Marian) and configurable quality levels (high, balanced, fast). It introduces automatic source language detection using a fasttext classifier, batch translation capabilities, and detailed response metadata including confidence scores and detected languages. The implementation adds CORS middleware, a language code mapping system for NLLB and M2M100, and a robust caching mechanism for models and translations.
src/pycode/translate · high confidence
Expanded keyword datasets for art, entertainment, and fashion
The dataset module now includes comprehensive keyword lists for art, entertainment, and fashion, significantly broadening the scope of available classification categories. New files (art\_keywords.py, entertainment\_keywords.py, fashion\_keywords.py) provide extensive, categorized keyword sets covering specific styles, techniques, genres, and industry terms for each domain. These keywords are structured as pandas DataFrames and can be saved to Parquet files, enabling more granular text classification and content tagging within the application.
src/pycode/dataset · high confidence
Initial Azure Storage C++ entry point added
A new C++ source file (main.cpp) has been added to the Azure Storage module under src/cppcode/azure\_storage. This file serves as the initial entry point for the C++ implementation, currently containing a basic main function that outputs a confirmation message.
src/cppcode · high confidence
Initial GraphQL API schema for user, post, and comment management
The application now exposes a GraphQL API via Absinthe, defining the core data models and operations for the platform. The schema introduces \User\, \Post\, \Comment\, and \Reply\ types, along with a \HederaWallet\ type. It provides a comprehensive set of queries to retrieve users, posts (including home feed, by author, hashtag, or ID), and comments, as well as mutations to create, update, and delete posts, comments, and replies, handle user authentication (login/signup), and manage post/comment likes.
_lib/mazaryn\web/schema · high confidence
Initial Kademlia P2P networking stubs added
Added a new Kademlia module under src/otpcode/src/kademlia providing the foundational structure for peer-to-peer networking. This includes record definitions for nodes, buckets, and routing tables, along with utility functions for generating random IDs, managing UDP sockets, and handling node identity. The core kademlia.erl module introduces Mnesia-backed storage for node registration and lookup, while kad\_network.erl and kad\_table.erl define the API for network operations like lookups, storage, and distance calculations. Most network logic (ping, node discovery, bucket updates) is currently stubbed as 'not implemented', serving as a scaffold for future P2P feature development.
src/otpcode/src/kademlia · high confidence
Initial Phoenix application configuration scaffold
The application now includes a complete set of configuration files (\config.exs\, \dev.exs\, \test.exs\, \prod.exs\, \runtime.exs\, \releases.exs\) that define the runtime environment for the Phoenix app. This setup enables local development with \.env\ file support, configures the database (Postgres) and mailer (Swoosh) for development and testing, and establishes production settings that read secrets from environment variables (e.g., \DATABASE\_URL\, \SECRET\_KEY\_BASE\, \RESEND\_API\_KEY\). It also configures static asset pipelines (esbuild, Tailwind), media upload directories, and specific service integrations like OpenWeather, OpenAI, and Resend for email in production.
config · high confidence
Initial library scaffolding with configuration helper and web module macros
This change introduces the core library structure for the Mazaryn application. It adds a \Mazaryn\ module providing a helper to safely retrieve nested application configuration (e.g., for media uploads), and a \MazarynWeb\ module that sets up the web layer. The web module includes macros for controllers, views, live views, components, routers, and channels, along with shared view helpers. Notably, it embeds a reusable \icon/2\ helper within the live component and HTML macros to render specific SVG icons (like 'hero-users-solid') directly in templates.
lib · high confidence
Initial localization support for multiple languages
The application now includes initial translation files (PO) and templates (POT) for Arabic, Azerbaijani, German, English, Spanish, and Persian. This enables the interface to display strings in these languages, covering core navigation, authentication, and error messages, though some translations are currently empty placeholders.
priv/gettext · high confidence
Initial project scaffolding and build configuration
This change introduces the foundational configuration files for the Mazaryn application, including a Dockerfile for containerized builds, a .dockerignore to optimize the build context, and a .formatter.exs for Elixir code formatting. It also adds a .tool-versions file specifying Elixir 1.18.3 and Erlang 27.3.2, updates the .gitignore to exclude build artifacts and sensitive data, and provides a sitemap.xml for SEO. The README.md is expanded with a comprehensive setup guide covering dependencies for Go, Rust, TypeScript, and IPFS, alongside screenshots and contribution instructions.
(repo-wide) · high confidence
Initial support for Aptos and Sui blockchain operations
Added new modules to handle wallet management, token transfers, NFT operations, and staking for the Aptos and Sui blockchains. The Aptos implementation includes modules for wallet creation/import, APT and FA transfers, NFT minting/collection management, and staking interactions, backed by a local Mnesia database layer for persisting wallet and transaction state. The Sui implementation provides similar capabilities including staking with validators, unstaking, and balance tracking, also utilizing a local database layer for state persistence.
src/otpcode/src/aptos, src/otpcode/src/sui · high confidence
Initial token module with Joken configuration
A new \Mazaryn.Token\ module has been added to the library, utilizing the Joken library for configuration. This establishes the foundational structure for token handling within the application.
lib/mazaryn/token · high confidence
Initial video browsing interface with navigation and layout components
This change introduces the foundational UI components for the new video section, including a left sidebar for navigation (Home, Your videos, Discover, Trending), a top navigation bar with a search form and user menu, and a placeholder component for a sliding video list. These LiveView components establish the visual structure and layout for the video feature, though the actual video player and data binding are currently stubbed out with SVG placeholders.
_lib/mazaryn\_web/live/video\live · high confidence
Initial view layer scaffolding for error handling, localization, and user data
This change introduces the initial set of view modules for the application, establishing the foundation for rendering error messages, managing locale-based URL generation, and formatting user data. Specifically, it adds ErrorHelpers to translate and display form validation errors, ErrorView for standard HTTP error responses, and LayoutView with a helper to update request paths when the locale changes. It also includes PageView for generating language-switching links, IpfsView and UserNotifierView as structural placeholders, and UserView to define JSON serialization logic for user profiles, posts, and API responses.
_lib/mazaryn\web/views · high confidence
Initial wallet data models and core utilities
The wallet module now includes foundational data structures for managing wallets and transactions, along with supporting utilities. New model structs define the schema for Wallets (including address, keys, and balance), Transactions (with sender/receiver details and status), and helper types for wallet info and transfers. To support these models, the codebase adds cryptographic primitives for SHA-256 and Keccak-256 hashing, a dedicated error enum for key and signature validation failures, and a BIP-39 English wordlist for mnemonic generation.
native/rustcode/wallet · high confidence
Introduce AI Platform workspace and download management UI
Users now have access to a dedicated AI Platform dashboard for managing datasets, competitions, notebooks, and models, along with a new download manager widget that tracks and controls file downloads in real-time. The AI workspace provides a central hub to browse resources, initiate creation workflows for datasets and competitions, and engage in community discussions. Simultaneously, the download manager offers a persistent UI widget that displays active download statuses, progress, and speed, allowing users to pause, resume, or cancel operations directly from the interface.
_lib/mazaryn\web · high confidence
Introduce Hedera wallet server and database layer
Added a new Hedera-specific wallet implementation consisting of a gen\_server (\hedera\_wallet\_server\) and a Mnesia-backed database module (\hedera\_walletdb\). This change enables users to create Hedera wallet accounts, retrieve individual wallets by ID, and list all existing wallets, with account creation and retrieval operations persisted in the local Mnesia database.
src/otpcode/src/wallet/hedera · high confidence
Introduce Mazaryn core domain modules and application structure
This change adds the foundational Elixir modules for the Mazaryn application, establishing the core domain logic for posts, comments, chats, groups, and Solana wallets. It introduces the Application supervisor to initialize ETS tables for authentication and kernel sessions, and registers key background processes like the HashtagIndexer. The diff also includes a translation service with an ETS-backed cache, a release task for database migrations, and a Postgres-backed Ecto repository, effectively wiring up the backend services that power the social features.
lib/mazaryn · high confidence
Introduce chat data model and schema
Added the \Mazaryn.Chats.Chat\ Ecto schema to define the structure of chat messages, including fields for user IDs, message body, media attachments, and call details. This change establishes the foundational data model for the new chatting mechanism, allowing the application to persist and validate chat records.
lib/mazaryn/chats · high confidence
Introduce livestreaming capabilities with broadcast, dashboard, and management interfaces
Users can now create, manage, and monitor live video streams. The new 'Go Live' interface allows creators to configure stream metadata (title, category, tags), test their camera feed, and initiate a broadcast via RTMP, with options for automatic recording. A dedicated dashboard provides real-time analytics, including viewer counts, peak concurrency, and stream health metrics (bitrate, FPS, resolution), while supporting interactive features like live chat and emoji reactions. The main 'Live Streams' index page enables discovery of active broadcasts through search and category filtering, displaying live status indicators and viewer statistics.
_lib/mazaryn\_web/live/media\live/livestream · high confidence
Introduces AI-driven ad optimization and business analytics modules
The application now includes a suite of new gen\_server processes and data records to support AI-enhanced advertising and business management. This change adds \ai\_ads\_server\ and \ai\_business\_server\ to handle AI-specific data for ads and business profiles, alongside comprehensive record definitions in \ads\_records.hrl\ and \business.hrl\ that support features like AI-generated ad variants, sentiment analysis, budget allocation, and tiered subscription management. Additionally, new servers for AI interactions (\ai\_chat\_server\, \ai\_media\_server\, \ai\_post\_server\, \ai\_user\_server\) and a \quantum\_server\ are introduced, along with extensive record structures for jobs, media, and machine learning competitions, laying the groundwork for advanced content and data management capabilities.
src/otpcode/src · high confidence
Introduces core social interaction schemas for posts, comments, likes, follows, and notifications
The \lib/mazaryn/home\ module now defines the foundational data structures for user engagement features. This includes \Home.Comment\ for post comments with body and removal status, \Home.Follow\ to manage user following relationships, \Home.Like\ as an embedded schema for tracking likes on posts or comments, and \Home.Notification\ to record user actions and read status. These schemas establish the necessary database associations (such as linking comments to posts and users) to support the social layer of the application.
lib/mazaryn/home · high confidence
Introduction of OTP token validation server
A new gen\_server-based token server has been added to the core token module. This component exposes a 'validate' API that accepts a TokenID and retrieves the corresponding token data from the user database, enabling centralized token validation within the application.
src/otpcode/src/core/token · high confidence
Introduction of notification event manager
A new notification event handler module has been added to the core notification system. This component manages asynchronous notification events for user interactions including welcomes, follows, mentions, and chats, delegating data persistence and retrieval to the underlying notification database layer.
src/otpcode/src/core/notif · high confidence
New AI Competitions interface with live views for listing, details, and leaderboards
Users can now access a dedicated AI Competitions section featuring a main listing page with search, filtering, and sorting capabilities, detailed competition pages with tabbed navigation for overview, datasets, and rules, and a dedicated leaderboard view that displays ranked submissions with filtering options. The interface supports joining and leaving competitions, creating new competitions via a modal, and viewing real-time stats such as participant counts and prize pools.
_lib/mazaryn\_web/live/ai\_live/competition\live · high confidence
New AI Datasets management interface
A new set of LiveView pages and components has been added to the AI Hub, enabling users to browse, search, filter, and sort datasets, as well as create and delete them. The interface includes a dedicated dataset detail view where users can view metadata, ratings, and IPFS content identifiers, and initiate downloads via the download manager. The UI features a modern design with gradient backgrounds, tabbed content sections, and summary statistics for total downloads and ratings.
_lib/mazaryn\_web/live/ai\_live/dataset\live · high confidence
New AI Model Management Interface
Users can now browse, search, and filter their AI models through a new Models page, with detailed views for individual models including download, rating, and deployment actions. The interface supports filtering by framework (TensorFlow, PyTorch, etc.) and task type, sorting by popularity or rating, and uploading new models via a dedicated modal.
_lib/mazaryn\_web/live/ai\_live/model\_live, lib/mazaryn\_web/live/near\_wallet\live, src/otpcode/src/near · high confidence
New AI dataset export capabilities for business, chat, post, and user entities
The system now supports exporting AI-related data (businesses, chats, posts, and users) into multiple formats including CSV, JSON, Parquet, and TensorFlow TFRecord. This is implemented via new Erlang modules in the \ai\ directory that serialize entity records and send them to a Python FastAPI service in \pycode/tf\. The Python service exposes endpoints to convert the data into the requested format and write it to disk, with support for both initial saves and appending to existing files for CSV, JSON, and TFRecord formats.
src/otpcode/src/ai, src/pycode/tf · high confidence
New AI post analysis capabilities for emojis, hashtags, likes, links, mentions, text, and toxicity
The system now provides new Erlang modules in the \src/otpcode/src/ai/post\ directory to interact with an external Python AI service (running on localhost:8000) for analyzing post content. These modules enable retrieving top emojis, hashtags, links, and mentions (with support for filtering by author and time period: daily, monthly, all-time), as well as fetching likes by post ID or AI post ID. Additionally, new capabilities allow classifying post text into categories and detecting toxicity in user-generated content.
src/otpcode/src/ai/post · high confidence
New AI-powered analytics and content analysis endpoints
The \src/pycode/ai\ module now exposes several new FastAPI endpoints for post analytics and content classification. Users can retrieve top emojis, hashtags, links, and mentions via time-period filters (all-time, monthly, daily) and by specific author, as well as query likes by post or AI post ID. Additionally, the module provides a text prediction endpoint using a DeBERTa model for multi-label classification and a toxicity detection endpoint that scores text across six categories (toxic, severe toxic, obscene, threat, insult, identity hate) using a trained Keras model.
src/pycode/ai · high confidence
New Chats LiveView with messaging and video calling
This change introduces the \ChatsLive\ interface, providing a dedicated page for real-time messaging and video calls. Users can now search for other users by username, view their chat history, and send messages. The interface also supports initiating and receiving video calls, with a full-screen overlay for active sessions. The implementation includes the main LiveView module (\index.ex\) for handling state and events, a components module (\components.ex\) for reusable UI parts, and the corresponding HEEX template (\index.html.heex\) which defines the layout and styling for the chat sidebar, message area, and video call overlay.
_lib/mazaryn\_web/live/chats\live · high confidence
New Erlang IPFS and libp2p client modules
Added a suite of new Erlang modules in src/otpcode/src/libp2p to interact with IPFS and libp2p networks. The new go\_libp2p.erl module provides node management and peer connectivity via an external HTTP API, while ipfs\_client\_1 through ipfs\_client\_8 expose comprehensive wrappers for the IPFS HTTP API, covering file operations (MFS), block management, DAG handling, pinning, IPNS name resolution, swarm connectivity, and key management.
src/otpcode/src/libp2p · high confidence
New GraphQL resolvers for posts, comments, and user management
This change introduces new GraphQL resolver modules (\PostResolver\ and \UserResolver\) that expose API endpoints for managing posts, comments, and user accounts. The \PostResolver\ enables creating, retrieving, updating, and deleting posts and comments, including filtering by author, user ID, or hashtag, while handling date formatting for API responses. The \UserResolver\ provides capabilities for user registration (signup), login, and user lookup by ID, username, or email, integrating with the existing signup form and user client for authentication and data retrieval.
lib/mazaryn/resolvers · high confidence
New HTTP API for managing libp2p nodes and IPFS operations
A new HTTP server has been added to the application, listening on port 3000, which exposes endpoints for creating, listing, and deleting libp2p nodes, as well as performing peer operations such as connecting, pinging, and discovering peers. The API also integrates with the IPFS daemon, allowing users to add and retrieve files via IPFS, publish and resolve IPNS names, and query DHT information for peers and providers.
src/golangcode · high confidence
New Learning Hub features: instructor applications, admin approvals, and certificates
The Learning Hub now supports a complete instructor lifecycle and credential management. Users can apply to become instructors via a new multi-step form (personal info, expertise, motivation) which checks for existing pending requests. Administrators gain access to a dedicated approval panel to review and approve or reject instructor requests, as well as manage pending learning paths. Additionally, users can view, generate, and download PDF certificates for completed learning paths, with unique verification IDs for each credential.
_lib/mazaryn\_web/live/ai\_live/learning, lib/mazaryn\_web/live/job\live · high confidence
New LiveView helpers and authentication hooks
Added \MazarynWeb.Live.Helper\ to centralize user data extraction (username, ID, avatar URL with IPFS gateway fallback) and form error styling, and introduced \MazarynWeb.UserLiveAuth\ to manage LiveView mount hooks for locale assignment, session-based user identification, and access control redirects.
_lib/mazaryn\web/live · high confidence
New Mazaryn AI platform with notebook, competition, and download capabilities
This change introduces the core backend services for the Mazaryn AI platform. It adds database modules (Mnesia-based) for managing datasets, models, notebooks, competitions, and leaderboards, including features like versioning, collaboration, and ranking. It also introduces a download manager client to interface with a Rust-based download service for handling dataset and file downloads. Additionally, it implements kernel managers for Python, Julia, and Elixir to support interactive code execution within notebooks, and a notebook client to orchestrate these sessions.
_src/otpcode/src/mazaryn\ai · high confidence
New Mnesia-backed database modules for AI, media, and business features
This change introduces a suite of new Mnesia database modules in the \src/otpcode/src/mnesia\ directory to support new platform capabilities. Key additions include \admindb\ for managing admin users via application environment, \businessdb\ for comprehensive business account management (including subscriptions, job postings, and analytics), and \chatdb\ for handling real-time messaging and video call signaling. The update also adds a suite of \ai\\\ modules (\ai\_userdb\, \ai\_postdb\, \ai\_chatdb\, etc.) that link standard entity IDs to unique AI-generated addresses, enabling AI-driven features for users, posts, chats, and media. Additional modules like \blogdb\, \groupdb\, \instructordb\, and \content\_cache\ provide persistence for blogs, social groups, instructor verification, and an in-memory caching layer, respectively. A new \media\_video\_client\ module was also added to interface with a Rust-based video streaming service.
src/otpcode/src/mnesia · high confidence
New Solana service client library for wallet, auth, and transaction operations
This change introduces a comprehensive Erlang client library for interacting with the Solana backend API (hosted at localhost:3020). The new modules provide capabilities for user authentication (register, login, session management), two-factor authentication setup and verification, and Solana wallet operations including creation, import, and balance retrieval. It also supports blockchain-specific actions such as creating and managing stakes, performing SOL/token/NFT airdrops, and querying transaction history and statistics. The library includes cryptographic utilities for keypair generation, encryption, and signature verification, along with helper functions and integration logic to link wallets to user accounts.
_src/otpcode/src/solana\service · high confidence
New TypeScript backend for multi-chain wallet management
This change introduces a new TypeScript-based backend service in \src/tscode\ that provides API endpoints for managing wallets and executing transactions across multiple blockchain networks, including Solana, Aptos, and Near. The service includes routes for creating and importing accounts, managing NFTs and staking on Aptos, and handling Solana airdrops, all secured with authentication, rate limiting, and audit logging. It relies on the \@solana/kit\ v6.0.1 and \@solana-program\ libraries for Solana interactions, and uses Bun for dependency management.
src/tscode · high confidence
New account domain models and services for users, businesses, and jobs
The \lib/mazaryn/account\ directory now includes a comprehensive set of new Ecto schemas and service modules that define the core account data structures and their management APIs. This introduces \Account.User\ for personal profiles (including avatar/banner updates and social connections), \Account.Business\ for company profiles (with verification, team management, and advertising metrics), \Account.Jobs\ and \Account.Resumes\ for job posting and candidate data, and supporting schemas like \Account.AiUser\ for AI-driven user insights, \Account.Invitation\ for team invites, and \Account.UserNotifier\ for email verification and password reset flows. These files provide the data layer and service interfaces (via \UserClient\, \BusinessClient\, etc.) required to support user registration, business onboarding, and recruitment features.
lib/mazaryn/account · high confidence
New account settings page and certificate generation capability
Users can now update their username, email, and password through a new Settings interface in the web application, which validates inputs and requires current password confirmation for security. Additionally, the system introduces a new capability to generate personalized course completion certificates as PDFs, including a styled HTML template with branding and seal elements.
_lib/mazaryn/learning, lib/mazaryn\_web/live/setting\live · high confidence
New authentication pages for login, signup, and password reset
The application now includes dedicated LiveView pages for user authentication, located in lib/mazaryn\_web/live/auth\_live. Users can sign up with a username, email, and password, and log in using their email. The system enforces email verification in production environments, blocking login for unverified accounts. A password reset flow is also available, allowing users to request a reset link via email and set a new password using a secure token. These pages feature a consistent, mobile-friendly design with Tailwind CSS styling.
_lib/mazaryn\_web/live/auth\live · high confidence
New blog homepage with featured post cards
The blog index page now displays a curated list of posts as styled cards, including featured entries for 'Joy of Elixir & Phoenix', 'Phoenix & Absinthe', and 'AI NFT'. Each card presents a category tag, title, and image, with specific layouts for the Phoenix & Absinthe post that include a description snippet and a 'Read more' call-to-action button. The page also features a prominent community banner and a responsive mobile menu.
_lib/mazaryn\_web/live/blog\live · high confidence
New blog posts and ad placements for blockchain and AI topics
The blog now includes dedicated LiveView pages for new articles on Aeternity, AI NFTs, Blockchain, Cardano, Kusama, and the Joy of Elixir & Phoenix. These posts feature updated layouts with author bylines, in-article and sticky sidebar ad placements, and a 'Related posts' section to improve content discovery.
_lib/mazaryn\_web/live/blog\live/post · high confidence
New business management dashboard with job posting and analytics capabilities
Users can now create and manage business profiles through a new Business Account interface, including editing company details and deleting accounts. Business owners gain access to a dedicated Jobs section to create, edit, and delete job postings with detailed metadata such as location, salary, and skills. Additionally, an Analytics Dashboard is available to track key metrics like total views, unique visitors, and engagement rates, along with a log of recent page view activity.
_lib/mazaryn\_web/live/business\_live, lib/mazaryn\_web/live/resume\_live, lib/mazaryn\_web/live/weather\live · high confidence
New channel management interface with search, invites, and settings
Users can now discover and manage channels through a new set of LiveView pages. The Channels index page allows browsing public channels with real-time search filtering. Channel owners gain access to a settings page to update the channel name, unique name, description, category, and privacy status, as well as delete the channel. Administrators can manage channel membership via an invites page to send and cancel invitations, and a subscribers page to view the subscriber list, remove members, and promote or demote admin privileges.
_lib/mazaryn\_web/live/channel\live · high confidence
New chat interface with messaging, emoji, and sticker support
This change introduces the core UI components for the new chat feature, including the chat header with video call controls, a searchable contact list, and a message input area. Users can now send messages, edit them, and attach media files. The input component also adds support for inserting emojis and stickers via dedicated panels, while enforcing a restriction that prevents users from sending messages to themselves.
_lib/mazaryn\_web/live/chats\live/components · high confidence
New chat server and bot integration with Mnesia persistence
This change introduces the core backend components for the chat feature, including \chat\_server.erl\ (a gen\_server handling message CRUD, chat creation, and video call state) and \chatbot.erl\ (which integrates with an external Python script for AI responses). All chat data is now persisted using Mnesia transactions, replacing any previous in-memory or alternative storage mechanisms for these specific entities.
src/otpcode/src/core/chat · high confidence
New core backend services for AI competitions, datasets, models, notebooks, leaderboards, and video
This change introduces a suite of new Erlang gen\_server modules that provide the backend logic for the platform's core features. The \mazaryn\_ai\ area now includes \competition\_server\ (managing competitions, teams, submissions, and leaderboards), \dataset\_server\ (handling dataset creation, versioning, access, and IPFS integration), \model\_server\ (managing model creation, deployment, and benchmarks), \notebook\_server\ (supporting notebook execution, collaboration, and versioning), and \leaderboard\_server\ (handling ranking calculations and statistics). Additionally, \video\_server\ in the \video\ area provides comprehensive video management including creation, metadata, reactions, comments, live streaming, and interactive features. These servers expose extensive APIs for creating, updating, querying, and managing these resources, forming the foundation for the AI and video content capabilities.
_src/otpcode/src/core/mazaryn\ai, src/otpcode/src/core/video · high confidence
New core client modules for ads, wallets, and domain services
The \lib/mazaryn/core\ directory now includes a comprehensive set of new client modules that act as the application's API facade for various backend services. These additions introduce support for displaying and managing ads (\ads\_client\), integrating with Aptos and NEAR blockchain wallets for creating accounts, managing transactions, and handling NFTs (\aptos\_wallet\_client\, \near\_wallet\_client\, \context\_near\_wallet\), and providing full CRUD and interaction capabilities for business profiles, chat messaging, blog posts, competitions, datasets, groups, job postings, media files, AI models, and interactive notebooks. These clients standardize how the application communicates with the underlying Erlang servers and databases for these specific features.
lib/mazaryn/core · high confidence
New data processing, model training, and API infrastructure in src/pycode
This change introduces a new backend infrastructure for data handling, model training, and API serving within the \src/pycode\ directory. It adds a FastAPI server (\py\_server.py\) that exposes endpoints for various data formats (CSV, JSON, Parquet, TFRecord) and AI capabilities (text prediction, toxicity detection, hashtag/link/mention analysis). It includes scripts for loading and saving keyword datasets in Parquet format, as well as multiple text classification models using TensorFlow (DeBERTa-v2/v3) and PyTorch (DistilBERT) for fine-tuning and inference. Additionally, Protocol Buffer definitions and generated code are added for serializing post and user features.
src/pycode · high confidence
New data schemas and API modules for social, blockchain, and content features
This change introduces a comprehensive set of new Ecto embedded schemas and API modules to support expanded platform capabilities. The \lib/mazaryn/api\ directory now contains \BlogAPI\ and \MediaAPI\ modules, with the latter handling file uploads and retrieval via the \Core.MediaClient\. New schemas include \BlogPost\ and \Comment\ (supporting replies, likes, and reactions), \Group\ and related entities (\GroupAdmin\, \GroupInvite\, \GroupMember\, \GroupMessage\) for community features, and \Competition\ and \Dataset\ for data-driven challenges. Blockchain integration is added via \AptosWallet\, \AptosTransaction\, and their context/delegation modules, enabling wallet management and transaction tracking on the Aptos network. Additionally, \Ads\ and \AiPost\ schemas are introduced to support advertising campaigns and AI-generated content analysis, respectively. These files collectively establish the data layer for these new functional areas.
lib/mazaryn/schema · high confidence
New email verification flow and optimized home feed infrastructure
Users can now verify their accounts via a dedicated email confirmation page that displays their address and allows them to resend the verification link if needed. The home feed experience has been significantly enhanced with a new post creation component that supports media uploads, emoji insertion, and automatic linking of hashtags, mentions, and URLs. To improve performance, the home view now utilizes an in-memory ETS cache for posts, comments, and user data, and comment handling has been refactored to provide immediate content availability and faster loading times.
_lib/mazaryn\_web/live/home\live · high confidence
New group management interface with member, invite, and settings capabilities
This change introduces a complete set of LiveView components for managing groups within the application. Users can now view a list of their groups and public options, create new groups and channels, and manage group details through a dedicated settings page (including name, unique handle, description, type, and privacy). Administrators and owners gain access to member management features, allowing them to view the member list, promote or remove admin roles, and remove members. Additionally, a new invitation system allows admins to search for users by username and send group invitations, with the ability to cancel pending invites. The implementation includes the necessary LiveView modules (Index, Show, Settings, Members, Invites) and their corresponding HEEx templates to support these interactions.
_lib/mazaryn\_web/live/group\live · high confidence
New hashtag browsing page
Users can now visit a dedicated page to view all posts associated with a specific hashtag. This new LiveView component fetches and displays the relevant posts, shows the total count, and provides a 'No posts found' state if the hashtag is empty. The page also includes a sidebar with trending hashtags and groups for further exploration.
_lib/mazaryn\_web/live/hashtag\live · high confidence
New interactive notebook interface with live kernel support
This change introduces a new notebook experience within the AI Live section, featuring a dedicated dashboard for browsing, searching, and filtering notebooks by language (Python, Julia, Elixir, Rust, R) and type, alongside a detailed view for individual notebooks. Users can now connect to a live execution kernel, run code cells, interrupt or restart kernels, and manage notebook state including auto-saving and unsaved change indicators. The interface includes helper utilities for language-specific styling, icons, and code placeholders, providing a cohesive environment for interactive data analysis and coding tasks.
_lib/mazaryn\_web/live/ai\_live/notebook\live · high confidence
New layout templates and global site configuration
This change introduces new layout templates for the application, including a main app layout with flash message support, a base email template, and a live view layout. The root layout now includes Google Tag Manager integration for analytics, a Google site verification meta tag, and a language selector in the footer supporting multiple locales (English, Persian, Russian, Chinese, Japanese, Korean, Arabic, Azerbaijani, Spanish, Vietnamese, Hindi, German, French, Italian, Portuguese, Filipino, Indonesian). The layout also features a responsive navigation bar with login and sign-up links, a footer with links to Blog, Contact, About, Careers, and Privacy Policy pages, and custom CSS animations for background effects.
_lib/mazaryn\web/templates/layout · high confidence
New libp2p and Helia node management API
Added a new Express-based server in src/jscode that exposes REST endpoints for managing decentralized network nodes. This service allows users to create, list, and stop libp2p nodes integrated with Helia for IPFS capabilities. Key features include peer discovery, connection management (connect/disconnect), pub/sub topic subscription and publishing, file storage via IPFS (add/get), and network diagnostics like ping and peer ID retrieval.
src/jscode · high confidence
New media management server introduced
A new gen\_server-based media server has been added to the core media module, providing an API for users to insert, delete, retrieve, and report media files. This server acts as a central coordinator, delegating all data operations to the underlying mediadb module.
src/otpcode/src/core/media · high confidence
New moderation and user management capabilities
The application introduces a suite of administrative tools for managing users, posts, and reports. Administrators can now verify or unverify user accounts, suspend or unsuspend users for a specified duration, and delete user accounts. Content moderation is supported through the ability to delete posts, remove banned hashtags from posts, and clear restricted post content. Additionally, admins can view and retrieve details for user reports. These features rely on a hardcoded list of admin usernames and banned content lists defined in the new management modules.
src/otpcode/src/manage · high confidence
New multi-chain wallet management and Solana-specific features
The wallet interface now supports managing wallets across Solana, NEAR, Aptos, and Sui networks, replacing the previous single-chain approach. Users can create, import, and export wallets for each supported chain via dedicated LiveView pages and modals. For Solana specifically, a new Airdrop page allows users to request devnet SOL and track request history, while the NFT page enables browsing, searching, and viewing details of owned NFTs.
_lib/mazaryn\_web/live/wallet\live · high confidence
New music browsing and detail views for artists and albums
Users can now explore the music catalog through dedicated LiveView pages for artists and albums. The Artists page displays popular and trending artists with their genres and play counts, allowing users to click through to an Artist Show page that features a bio, popular tracks, and featured collaborations. The Albums page lists popular albums by play count, leading to an Album Show page that displays track listings, album metadata, and playback controls. Both sections include search functionality and are integrated into the main music navigation sidebar.
_lib/mazaryn\_web/live/media\live/music · high confidence
New post server for managing posts, comments, and interactions
A new \post\_server\ gen\_server has been added to handle core post-related actions. This component provides APIs for creating, modifying, and deleting posts, as well as managing comments, replies, likes, saves, and reports. It supports storing post metadata including media, hashtags, emojis, mentions, and URLs, and exposes functions to retrieve posts by various criteria (author, user ID, hashtag, date) and to manage user-specific interactions like saved posts and liked content.
src/otpcode/src/core/post · high confidence
New profile completion and reusable select components
Added a new CompleteProfile component that displays a progress bar and links for verifying email, setting a username, and uploading an avatar, with styling that reflects the completion status of each step. Introduced a reusable SelectLive component that renders a dropdown menu for choosing from a list of options, handling the toggle animation and item selection via LiveView events.
_lib/mazaryn\web/live/component · high confidence
New signup form validation and user registration logic
The application now includes a dedicated signup form module that validates user input (username, email, password, and terms acceptance) before attempting to register a new account. This change introduces specific validation rules, such as requiring a password between 8 and 20 characters and ensuring the email contains an '@' symbol, and handles the backend registration call to create the user account.
lib/mazaryn/signup · high confidence
New system\_ssl module for SSL socket operations
A new Erlang module, system\_ssl, has been added to the OTP codebase. This module provides a thin wrapper around the standard ssl application, exposing functions to start the SSL service (start/0) and retrieve the peer name of an SSL socket (get\_peer\_name/1).
src/otpcode/src/otp · high confidence
New user controller for authentication and profile management
A new \UserController\ has been added to handle user registration, login, following, and profile retrieval. This controller exposes endpoints for creating accounts, authenticating users via username and password, managing follow relationships, and fetching user details by username or email. It integrates with the \Account.Users\ and \Mazaryn.Token\ modules to manage user data and generate authentication tokens.
_lib/mazaryn\web/controllers/core · high confidence
New user dashboard with metrics and level tracking
A new dashboard interface is now available for users, displaying their account level, progress bar, and key engagement metrics such as post counts, followers, and likes. The dashboard live view fetches and updates these statistics in real-time via PubSub, while helper modules provide logic for calculating engagement rates, formatting large numbers, and determining achievement badges based on user level.
_lib/mazaryn\_web/live/dashboard\live · high confidence
New user post category analysis module
Added a new Erlang module \user\_post\ that provides functions to analyze the content categories of a user's recent activity. The module retrieves the last 50 posts, comments, and liked posts for a given user, extracts their text categories, and calculates the frequency of each category. This enables features that rely on understanding a user's content preferences or behavioral patterns based on their interaction history.
src/otpcode/src/ai/user · high confidence
New user profile management and administration interface
This update introduces a comprehensive suite of new LiveView components for managing user profiles and platform administration. Users can now edit their profile details (name, username, location, bio) and upload avatar/banner images via a new \EditProfileComponent\. A \DeleteProfileComponent\ allows users to permanently remove their accounts. The \Profile\ live view has been significantly enhanced with caching, optimistic UI updates, and search capabilities. Additionally, a new \Manage\ live view provides administrators with a table to view all users and perform actions such as verifying, banning, or suspending accounts, while \FollowerComponent\ and \FollowsComponent\ enable searching through a user's followers and following lists.
_lib/mazaryn\_web/live/user\live · high confidence
New user search interface with live components
Added a new search experience in the \search\_live\ area, featuring a top navigation bar for filtering results (top, latest, users, groups, pages) and a dedicated user search view. The implementation introduces LiveComponents for rendering individual user profiles (with avatar, username, media, and a follow button) and lists of users, wired to a main index LiveView that queries the \Mazaryn.Search\ module to find users by username.
_lib/mazaryn\_web/live/search\live · high confidence
New video browsing and management interface
This change introduces the core video section of the Mazaryn platform, adding LiveViews and components for browsing public videos, viewing individual video details, and managing personal uploads. Users can now browse a grid of videos with thumbnails, durations, and live status indicators; search the video library; and navigate to specific video pages that support watch-time tracking, social reactions, and comment management. Additionally, a dedicated 'My Videos' area allows users to filter their content by status (all, uploads, live, scheduled), view upload progress, and delete their own videos or comments.
_lib/mazaryn\_web/live/media\live/video · high confidence
New video calling and livestreaming capabilities
The application now supports real-time video interactions. A new \VideoCallHook\ in \assets/js/video\_call.js\ enables peer-to-peer WebRTC video calls, handling camera/microphone permissions, signaling events (start, accept, end, incoming), and connection management. Additionally, \assets/js/app.js\ integrates hooks for video playback (\VideoPlayer\, \LivestreamHooks\, \MyStreams\) and adds emoji insertion support for text inputs, enhancing the chat and content creation experience.
assets/js · high confidence
New video streaming, download management, and notebook execution capabilities
This update introduces three new backend subsystems to the Rust service. First, a video streaming module provides endpoints for creating and managing playback sessions, adjusting quality and volume, and tracking analytics such as view counts and buffer events. Second, a download manager allows users to initiate, pause, resume, and cancel file downloads with support for chunked transfers, priority queuing, and progress tracking. Third, a notebook execution system enables users to create, execute, and manage code sessions via REST and WebSocket interfaces.
src/rustcode · high confidence
New video, livestream, and notebook interaction hooks
Added new JavaScript hooks to handle client-side interactions for video playback, livestreaming, and code notebooks. The \camera\_manager\ hook manages camera permissions, stream attachment, and recording logic for livestreams, while \livestream\_hooks\ initializes HLS-based live players and VOD players with error handling and live status polling. The \video\_hooks\ hook provides custom video player controls, watch-time tracking, and volume persistence. Additionally, \notebook\_hooks\ implements a code editor with syntax highlighting, keyboard shortcuts, and auto-save functionality, and \my\_streams\_hook\ handles file downloads and UI notifications for user stream management.
assets/js/hooks · high confidence
New wallet detail and staking interfaces for Aptos and Sui
Users can now view detailed information for their Aptos and Sui wallets, including balances, transactions, NFTs, and staking positions, through new LiveView pages. The Aptos wallet view includes a dedicated delegation staking interface for managing APT stakes, while the Sui wallet view provides similar overview capabilities with support for staking management. Both interfaces allow users to rename wallets, set a primary wallet, and refresh data.
_lib/mazaryn\_web/live/aptos\_wallet\_live, lib/mazaryn\_web/live/sui\_wallet\live · high confidence
New web controllers for authentication, content delivery, and user management
This change introduces a suite of new Phoenix controllers in the web layer to support core platform features. Users can now verify their accounts and email addresses via dedicated controllers that handle token validation and session updates. The platform adds robust file handling capabilities, including controllers for streaming video content (with local caching and IPFS fallback), downloading datasets, and saving livestream recordings. Additionally, new controllers manage user lifecycle actions like logout, provide static informational pages (About, Contact, Privacy, Careers), and handle IPFS hash resolution.
_lib/mazaryn\web/controllers · high confidence
User management and social features expanded
The user service now supports a broader set of social and administrative capabilities. Users can follow, unfollow, and search their followers and followings, as well as block and unblock other users. Profile management includes updating avatars and banners, changing credentials (username, password, email), and toggling account privacy (public/private). Additionally, the system introduces user level management, allowing for the automatic removal of inactive level-one users and the downgrading of higher-level users based on age, alongside new password generation utilities.
src/otpcode/src/core/user · high confidence
Behavioural changes
New Tailwind CSS configuration with DaisyUI themes and Heroicons
The assets directory now includes a Tailwind CSS configuration file that establishes the visual design system for the application. This configuration integrates the DaisyUI component library, enabling support for 29 distinct color themes (such as light, dark, cupcake, and synthwave) to allow for flexible theming. It also configures the Inter and Poppins font families for typography and sets up a custom plugin to import Heroicons as inline SVG utilities. Additionally, the file defines specific CSS animations for fade-in and fade-out effects and registers Phoenix-specific variants to handle UI states like loading and feedback suppression.
assets · high confidence
New application-wide CSS architecture and feature-specific style modules
The application's visual presentation has been overhauled with a new \assets/css/app.css\ file that establishes a comprehensive design system. This includes a multi-palette color scheme (Morning, Afternoon, Evening, Night) and custom CSS variables for AI, admin, and status indicators, alongside imports for Poppins, Inter, Nunito, and JetBrains Mono fonts. The main stylesheet integrates Tailwind CSS and delegates specific domain styling to new modular files: \video\_styles.css\ for a dark-themed video player interface, \livestream\_styles.css\ for live broadcast overlays and chat, \notebook\_styles.css\ for a modern, gradient-rich notebook editor, and \music\_styles.css\. Additionally, \phoenix.css\ provides default starter styles, replacing or augmenting previous generic styling.
assets/css · high confidence
New authentication, authorization, and locale handling plugs
The application now includes three new web plugs to manage user sessions, access control, and language settings. The \MazarynWeb.Plug.Session\ plug validates user sessions using ETS and Phoenix tokens, assigns the current user ID, and provides helpers to redirect unauthorized users to the login page. The \MazarynWeb.Plug.CheckAllowedUser\ plug restricts access to specific administrative routes by checking the current username against a hardcoded list of allowed users (arvand, mazaryn, zaryn). Additionally, the \MazarynWeb.Plugs.SetLocale\ plug automatically sets the application locale based on the \locale\ parameter in the request, falling back to the current session locale or redirecting if the locale is invalid.
_lib/mazaryn\web/plug · high confidence
Updated Heroicons library to v2.0.16
The project has updated the Heroicons icon library to version 2.0.16. This change replaces the previous icon set with the optimized 20x20 solid SVG icons, ensuring that all UI icons are now rendered using the latest design specifications and paths provided by the Heroicons v2 release.
assets/vendor · high confidence
Test coverage
Added unit and integration tests for core Mazaryn modules
Added comprehensive test coverage for the Account, Chats, Posts, and Login/Signup subsystems. The new tests validate the \Account.User\ and \Account.Users\ schemas and services, including changeset validations, password hashing, and session-based user retrieval. Chat functionality is covered via \Chats.Chat\ schema and \Mazaryn.Chats\ service tests, verifying message creation, status defaults, and Erlang tuple conversion. Post and Comment handling is tested in \Mazaryn.Posts\ and \Mazaryn.Schema.Post\, ensuring correct creation flows and data mapping. Additionally, login and signup form validations are verified in \Mazaryn.Login.Form\ and \Mazaryn.Signup.Form\, and integration tests confirm live authentication redirects and error view rendering.
test · high confidence
Dependencies
Initial dependency manifests for Phoenix, Rust, Go, and JS subsystems
The project now includes dependency manifests for its core subsystems: the Elixir/Phoenix backend (mix.exs, mix.lock) specifies Phoenix 1.8 and LiveView 1.1; the frontend assets (assets/package.json, yarn.lock) define Tailwind, Alpine.js, and esbuild; a Rust native extension (native/rustcode/Cargo.toml, Cargo.lock) introduces rustler and polkadot; a Go module (src/golangcode/go.mod) adds libp2p; and a JavaScript service (src/jscode/package.json) includes helia and libp2p packages. These files establish the version constraints and lockfiles for the application's multi-language architecture.
(dependencies) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 38 → 36 (-2.4)
- Rubric changed (rubric-2026.09.12 → rubric-2026.09.18) — scores are not directly comparable.
Lenses
- Code Health 46 → 46 (-0.3)
- Architecture 98 → 87 (-10.1)
- Maturity 54 → 54 (+0.1)
- Readiness 33 → 27 (-5.7)
- Security 52 → 55 (+2.3)
- Event-Driven 36 → 36 (+0.0)
- Event Sourcing 100 → 100 (+0.0)
- Accessibility 41 → 41 (+0.0)
- Performance 100 (new)
Resolved (60)
- Coverage not measured — no coverage collector is wired up
- Critical CVE: [GHSA redacted] (native/rustcode/Cargo.lock)
- Documentation: no architecture or design documentation (README.md)
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- Edited copy of a member (14 corresponding lines) (src/otpcode/src/aptos/aptos_staking.erl)
- Edited copy of a member (20 corresponding lines) (src/otpcode/src/libp2p/ipfs_dataset.erl)
- Medium CVE: EEF-[CVE redacted] (mix.lock)
- Members sharing a duplicated core (10 members, 50+ identical tokens) (src/otpcode/src/near/near_keys.erl)
- Members sharing a duplicated core (11 members, 50+ identical tokens) (src/otpcode/src/media_client/media_video_client.erl)
- Members sharing a duplicated core (11 members, 50+ identical tokens) (src/otpcode/src/mnesia/businessdb.erl)
- Members sharing a duplicated core (11 members, 50+ identical tokens) (src/otpcode/src/mnesia/livestreamdb.erl)
- Members sharing a duplicated core (14 members, 50+ identical tokens) (src/otpcode/src/download_manager/download_manager_client.erl)
- Members sharing a duplicated core (15 members, 50+ identical tokens) (src/otpcode/src/mnesia/musicdb.erl)
- Members sharing a duplicated core (15 members, 50+ identical tokens) (src/otpcode/src/solana_service/solana_auth.erl)
- Members sharing a duplicated core (18 members, 50+ identical tokens) (src/otpcode/src/aptos/aptos_walletdb.erl)
- Members sharing a duplicated core (29 members, 50+ identical tokens) (src/otpcode/src/near/near_keys.erl)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (src/otpcode/src/aptos/aptos_staking.erl)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (src/otpcode/src/aptos/aptos_staking.erl)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (src/otpcode/src/libp2p/go_libp2p.erl)
- …and 40 more
New (472)
- Critical CVE: [GHSA redacted] (native/rustcode/Cargo.lock)
- Documentation: no contributor guidance (README.md)
- Duplicated block (10 lines × 2) (lib/mazaryn/schema/blog_post.ex)
- Duplicated block (10 lines × 2) (lib/mazaryn/schema/competition.ex)
- Duplicated block (10 lines × 2) (lib/mazaryn_web/live/ai_live/notebook_live/notebook_show.ex)
- Duplicated block (10 lines × 2) (lib/mazaryn_web/live/channel_live/show.ex)
- Duplicated block (10 lines × 2) (lib/mazaryn_web/live/download_manager_live/index.ex)
- Duplicated block (10 lines × 2) (lib/mazaryn_web/live/media_live/livestream/index.ex)
- Duplicated block (10 lines × 2) (lib/mazaryn_web/live/user_live/profile.ex)
- Duplicated block (10 lines × 3) (lib/mazaryn/core/business_client.ex)
- Duplicated block (10 lines × 3) (lib/mazaryn_web/live/admin_live/artist_requests.ex)
- Duplicated block (10 lines × 3) (lib/mazaryn_web/live/business_live/analytics.ex)
- Duplicated block (10 lines × 3) (lib/mazaryn_web/live/media_live/music/artists.ex)
- Duplicated block (10 lines × 3) (lib/mazaryn_web/live/media_live/video/index.ex)
- Duplicated block (10 lines × 3) (src/rustcode/src/signaling.rs)
- Duplicated block (10 lines × 5) (lib/mazaryn_web/live/media_live/music/albums.ex)
- Duplicated block (10 lines × 5) (src/golangcode/ipfs_handlers.go)
- Duplicated block (10 lines × 7) (lib/mazaryn_web/live/aptos_wallet_live/show.ex)
- Duplicated block (10–11 lines × 5) (lib/mazaryn_web/live/ai_live/learning/lesson_new.ex)
- Duplicated block (11 lines × 2) (lib/mazaryn/schema/aptos_wallet.ex)
- …and 452 more
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
mazarynio/mazaryn was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 2 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 980114c6432d2c8510682ace6656e56c905bae75 — the exact code this score is about.
- Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.