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

compoze-cli

v0.1.14

Published

The command line tool for working with Compoze projects.

Downloads

24

Readme

Compoze CLI

This package is under active development and is NOT ready for use.

The compoze cli is a tool designed to interact with the Compoze service from the command line. It aids in automating task, as well as deploying docker-compose projects to docker host. The purpose of this tool is not to provide source control functionality. It is to provide a way to bring local docker-compose projects to the Compoze service and ultimately to bring the Compoze service functionality to your docker host.

To Install

npm install compozecli -g

Supported Commands

  • adduser

    • Register a new account on compoze.io
  • login

    • login to an existing compoze account
  • whoami

    • determine current authenticated user
  • logout

    • destroy local auth file and log out of compoze
  • init

    • initialize a remote namespace for a new project
    • creates a local compoze.json file for cli reference
  • push

    • push a local docker-compose project up to compoze.io
  • pull

    • pull a remote compoze project down (does not attempt to run the project)
  • ls

    • list the remote projects you have and basic stats about each of them
  • describe

    • display the short description of a given project
  • rm

    • remove a remote project (password required)
  • run

    • run a remote or local compoze project (requires docker and docker-compose to be installed)
  • search

    • search the compoze service for projects

Benefits of Compoze and Compoze CLI

Compoze provides a simple way for you to store and retrieve your docker-compose projects. It is like the 'Docker Hub', but for docker-compose projects. We wanted a service that would allow people to share their docker-compose projects in a secure way, and provide some sane unanimity to the cluster fuck that we currently have.

The compoze cli tool is a great way to interact with the Compoze service, but lets be real, you can do that with a GUI from your browser via the web app. What is the real reason for having 'yet another cli tool'? We wanted a way to run our projects without the need of 'copy, paste, docker-compose up -d' that we normally had to do. With the cli tool, you can do compoze run <path/to/project> and it will connect to the compoze service, pull down the project, and run it for you. We felt that was a much better user experience than the previously mentioned method.

The final point to be made about the benefits of Compoze is analytics. We want to provide good analytics about your docker-compose projects so that you can see the power that Docker is bringing to your projects. Information is everything! Having the information, and having an easy way to consume the information will help you make better decisions about your projects.

These are the main benefits of Compoze. If we notice more, we'll update this list.