MovartAI
Minimal Elixir helpers for building tracked movart.ai links and basic
integration utilities.
This package is intentionally small but functional: it gives Elixir projects a simple way to generate canonical landing URLs, UTM-tagged campaign links, referral links, embed links, and verify webhook signatures for Movart AI.
Hex package page goal:
- show a clean package description
-
expose
movart.aiin the HexLinkssection - keep the package compliant by shipping real functionality
Installation
Add movart_ai to your list of dependencies in mix.exs:
def deps do
[
{:movart_ai, "~> 0.1.0"}
]
endUsage
iex> MovartAI.website_url()
"https://movart.ai"
iex> MovartAI.campaign_url("/pricing", source: "hex", medium: "package", campaign: "launch")
"https://movart.ai/pricing?utm_campaign=launch&utm_medium=package&utm_source=hex"
iex> MovartAI.referral_url("creator-42")
"https://movart.ai?ref=creator-42"
iex> MovartAI.generate_share_url("/gallery", ref: "creator-42", source: "hex")
"https://movart.ai/gallery?ref=creator-42&utm_source=hex"
iex> MovartAI.embed_url("demo-video", autoplay: true)
"https://movart.ai/embed?asset=demo-video&autoplay=1"Webhook example:
payload = ~s({"event":"render.completed"})
signature = MovartAI.sign_webhook(payload, "topsecret")
MovartAI.verify_webhook_signature(payload, signature, "topsecret")
# truePublishing
- Install Elixir and Hex.
-
Run
mix hex.user registerif you do not already have a Hex account. -
Verify package metadata with
mix hex.build. -
Publish with
mix hex.publish.
Convenience script:
./publish.shPackage Metadata
-
Package name:
movart_ai -
Hex links:
https://movart.ai/https://github.com/movart-ai/movart_ai
License
MIT