Thumuss / utpm

A package manager for typst

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UTPM logo

Unofficial typst package manager

UTPM is a package manager for local and remote packages. Create quickly new projects and templates from a singular tool, and then publish it directly to Typst!

Thumuss - utpm stars - utpm forks - utpm
GitHub tag License issues - utpm

πŸ”₯ Features

  • ✨ Create packages automatically (utpm create)
    • ⏯️ Interactive
    • ⌨️ CLI version
  • πŸ›  Put your package directly into your local packages (utpm link)
    • πŸ’» Link without copying! (utpm link --no-copy)
  • 🌐 Dependencies outsite typst!
    • πŸ“¦ Install directly from the tool
    • πŸ”’ Portable installer (limited for now)
  • πŸ“ƒ List all your packages
    • πŸ—ƒοΈ As a list utpm list
    • 🌲 As a tree utpm tree
  • πŸ’₯ Customize your output (json or classic, -j in your commands)
  • πŸ—„οΈ Delete and bulk delete your packages (utpm unlink, utpm bulk-delete)
  • πŸš€ Publish it directly to Typst!

And many other features!

πŸ”Ž How to use it?

The basic workflow

  • Firstly, you'll need to create your typst.toml file!
  • Then, edit your file! Like index.typ or lib.typ
  • Finally, link your new package to typst!

Commands

πŸ—„οΈ Bulk Delete

A command to delete multiple packages at once!

bulk-delete.gif

✨ Create

Create a typst.toml to make a package

create_cli.gif

❓ Help

Generate a help message help.gif

πŸ“¦ Install

install.gif

πŸ—ƒοΈ List

list.gif

🚦 Package Path

packages-path.gif

🌲 Tree

A simple command to show all packages installed in your local dir like a tree!

tree.gif

⚑ Install

You will need Cargo and Rust.

The easiest way to install utpm using Cargo is:

cargo install --git https://github.com/Thumuss/utpm

Contribution

If you want to help me develop this package, simply make an issue or a PR!

By using this app, you contribute to it, thank you! <3

About

A package manager for typst

License:MIT License


Languages

Language:Rust 99.9%Language:Typst 0.1%