npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

curasync

v0.0.2

Published

Sync your cura configuration folder with a git repository

Downloads

12

Readme

curasync

This CLI tool helps you manage your cura configuration as a git repo. It is essentially a wrapper command around git that:

  1. locates your cura configuration, .gitignores unnecessary files, and pushes them up to a blank repo (curasync init <repo_url>)
  2. pushes your updated cura configuration up to the same repository with a commit message (curasync push)
  3. lets someone clone your cura config (curasync clone <repo_url>)
  4. lets them pull changes to the cura config (curasync pull)

Here's a guide to using curasync

Installing curasync

You can install this globally using npm or the equivalent command in your package manager:

npm i -g curasync

You can also run it as an executable directly:

npx curasync

Pushing your configuration to a blank repo:

⚠️ Warning: If you are logged into Cura, do not push your config to a public repo just yet (TODO: strip tokens)

  1. The first thing you want to do is to set up a blank repository. Here's a handy link if you're using GitHub: https://github.com/new. Make sure to leave 'Add a README file' unchecked since we do not want to initialize the repository on GitHub
  2. Now that you have a blank repo, invoke curasync init <repo_url>. This pushes up your configuration to the repo.
  3. Now you can invite collaborators to the repo, and tell them to invoke npx curasync clone <repo_url> to grab your cura configuration. If they have write access, they will be able to push changes to the repo too.
  4. If you make more changes, do run curasync push, which prompts you to enter a commit message and pushes your changes to the repo.

Pulling a cura configuration

Note: we do not have a way to merge two configurations just yet. If someone sends you a repo url, this will back up your existing configuration, and clone their repo entirely

  1. Let's assume someone sent you a repo url containing delicious printer configuration files. You want to make sure you have cura and curasync installed.
  2. Now, enter curasync clone <repo_url>. This backs up your existing config, and fetches the new config from git
  3. That's pretty much it, try opening cura now. You should see the newly fetched configuration
  4. If new changes are published, make sure to run curasync pull to get them.