supermaker-ai-image-master

Crates.iosupermaker-ai-image-master
lib.rssupermaker-ai-image-master
version1766548.717.397
created_at2025-12-24 03:58:47.595968+00
updated_at2025-12-24 03:58:47.595968+00
descriptionA lightweight utility library for managing and generating dynamic links with tracking parameters.
homepagehttps://supermaker.ai/image/
repositoryhttps://github.com/qy-upup/supermaker-ai-image-master
max_upload_size
id2002716
size6,105
(qy-upup)

documentation

README

supermaker-ai-image-master

A lightweight utility library for managing and generating dynamic links with tracking parameters.

Features

  • Simple and intuitive API
  • Support for custom UTM parameters
  • HTML anchor generation with customizable attributes
  • Zero external dependencies (except for URL encoding)
  • Fully documented with examples

Installation

Add this to your Cargo.toml:

[dependencies]
supermaker-ai-image-master = "0.1"

Quick Start

use supermaker_ai_image_master::LinkBuilder;

fn main() {
    let builder = LinkBuilder::new("https://supermaker.ai/image/");

    // Create a tracked link
    let link = builder.build_link(
        Some("newsletter"),
        Some("email"),
        Some("spring-2025")
    );

    // Generate HTML markup
    let html = builder.generate_anchor(
        "Learn more",
        Some("blog"),
        Some("article"),
        None,
        None,
        Some("cta-button")
    );

    println!("{}", link);
    println!("{}", html);
}

Use Cases

This library is perfect for:

  • Marketing campaigns with UTM tracking
  • Dynamic link generation in templates
  • Building referral systems
  • Analytics and conversion tracking

Resources

For more information and examples, visit https://supermaker.ai/image/.

License

MIT

Commit count: 0

cargo fmt