New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

curasync

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

curasync

Sync your cura configuration folder with a git repository

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 12 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc