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

@archipa/archipa

v1.0.1

Published

A CLI for ICL files compilation

Downloads

29

Readme

Archipa

Goal

One of the biggest issues that Docker has resolved is without any doubt portability, Docker made our apps easily portable, in fact thanks to docker containers everyone can now build, ship and run it's app anywhere. However when Docker containers became popular we realized that we needed an automated way to manage those containers inside a Docker cluster and that's why tools such as Docker Swarm, Kubernetes, Rancher... were developed, container orchestrators made our life easier and help us manage our services so easily that we even forget sometimes the containers behind the scene. The problem is that when you describe your service in a YAML file, this configuration file is tied to the orchestrator that you are using so even if everyone is using the same technology under the hood, we don't have a common language that enables everyone to describe it's application infrastructure independently from any physical resources and/or orchestrator thus depriving the community from sharing common stacks that can be enhanced and used by everyone.

Archipa aims to resolve this problem by proposing a clear and elegant way to describe it's application infrastructure as a code and like any good programming language enforce you by default to follow the common best practices (12 factor apps, separation of concerns...) into your application infrastructure.

Plan

We are strong believers in the power of a community, this is why this project is very open to everyone for contributions, this repository is as a place where we can gather around, discuss and figure out how to achieve what we need to do.

As a start we defined a list of steps/tasks that (we think) needs to be achieved in order to reach our goal

  • ==Configuration Lanaguage : Develop a configuration language that is easy to read, self documented and can be compiled to JSON/YAML easily. This language will be used to create easy to use and readable templates.== => Done ICL language is born.

  • Templates Generation : For every major orchestrator (Kubernetes, Rancher...), we need to generate their configuration templates written in ICL, based on their JSON schemas. ==* We have created a little program that generates k8s icl templates from k8s JSON schemas, this is available at https://github.com/archipaorg/k8s-icl==

  • App Infrastructure As a Code : Define a set of bricks that are common to every cloud native app. Specification draft available at https://github.com/archipaorg/archipa/blob/master/SPEC.md

  • JSON Mapping : Write the appropriate JSON mappings that will transpile any application infrastructure as code written in ICL to a specific orchestrator file format in YAML.

Current Project Status

For the moment, archipa can be used to compile your ICL files into JSON/YAML files using the appropriate templates based on the orchestrator/version you are using.

Otherwise we are still working on the specification that everyone could use once finished to express (if he wants to) his application infrastructure independently from the orchestrator he's using.

Install

npm install -g @archipa/archipa

Usage

archipa <orchestrator> --json|--yaml 

Example : If i want to compile my ICL files against Kubernetes

archipa kubernetes --yaml service.icl

Archipa will automatically download the necessary k8s-icl templates and use them for compilation.

Contributions

We love contributions! There's lots to do, so why not chat with us about what you're interested in doing? Please join the #archipa channel on our Slack and let us know about your plans.

Documentation, bug reports, pull requests, and all other contributions are welcome!

To suggest a feature or report a bug: https://github.com/archipaorg/archipa/issues