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

nci-ansible-ui

v1.1.2

Published

Simple web interface for run ansible playbooks

Downloads

204

Readme

nci ansible ui

Simple web interface for run ansible playbooks.

It pulls your repository with playbooks and inventories according to project config (which defines repository path, playbook and inventory directories inside repository, etc) and allows you to run playbooks with invetories via single page web interface (with live updates and pretty terminal output).

Features

  • single page web application which immediately responds on any user interaction. This app doesn't use http api, it's built using socket.io
  • online console output which is very close to terminal emulator
  • can run one playbook with different inventories (sequentially)
  • working with any mercurial, git repositories (no matter is it service like github, bitbucket or private server, all you need is authenticate user from which nci server is running without password e.g. by ssh key)
  • minimal dependencies (only nodejs, scm client and ansible are required)
  • built on top of nci, can extend functionality by notification and other plugins

nci-ansible-ui-execution

Installation

Docker image

It's recommended setup, image for nci ansible ui contains all dependencies including ansible. You can try it using command:

docker run --rm -it -p 3000:3000 okvd/nci-ansible-ui

That's all, now you can experiment with it by adding/changing projects, use web interface (on http://127.0.0.1:3000 by default) to run playbooks.

See image page for details.

Native setup

System requirements:

  • unix-like operating system, not tested on windows
  • node.js >= 10
  • git client >= 1.9 (only for building git projects)
  • mercurial client >= 2.8 (only for building mercurial projects)
  • ansible
  • build tools - gcc, make, etc (for building LevelDB if binary is not provided for your platform). E.g. ubuntu build-essential package provides such tools.

On the system with satisfied requirements clone quick setup repository, go into it and install dependencies:

git clone https://github.com/node-ci/nci-ansible-ui-quick-setup &&
cd nci-ansible-ui-quick-setup &&
npm install

run server:

node_modules/.bin/nci

Now you can experiment with it by adding/changing projects, use web interface (on http://127.0.0.1:3000 by default) to run playbooks.

Sample project works with repository which contains sample playbooks (some ping, ps ax and other read commands) and inventory. Inventory defines localhost as target host with following settings:

ansible_host: 127.0.0.1
ansible_user: ansible
ansible_ssh_private_key_file: ~/.ssh/id_rsa_test

you should provide such access (ansible will be run by user which started nci server) in order to run sample project. Localhost also should be in your known hosts file (you can try this access manually to get prompt which can add it).

License

MIT