Show HN: I have created devcontainer config generator to speed up local dev

https://github.com/cchalop1/Inizio

Inizio: DevContainer Config Generator

Welcome to Inizio, an open-source tool designed to streamline the process of generating development container configurations for your projects. Inizio simplifies setting up a development environment with support for various databases and the option to use a custom Dockerfile, making it easier for developers to get started with containerized project environments.

Screen web

Features

  • Generate development container configurations with a simple command.
  • Support for specifying a custom Dockerfile.
  • Options to integrate various databases into your development environment, including PostgreSQL, Redis, MongoDB, MySQL, and Keycloak.

Getting Started

Prerequisites

  • Ensure you have Node.js installed on your system to use npx.
  • Docker must be installed and running on your machine to utilize development containers.

Installation

Inizio doesn't require a separate installation process. You can run it directly using npx to avoid global installation and keep your environment clean.

Usage

To generate a development container configuration, use the following command:

npx @cchalop1/inizio --devContainerImage node

If you have a local Dockerfile in your repo you don't need to specify--devContainerImage

Database Selection

Inizio allows you to integrate a database into your development environment. To specify your choice, use the -s option followed by the database name. Supported databases include:

  • postgres
  • redis
  • mongo
  • mysql
  • keycloak

Example command to generate a configuration with PostgreSQL:

npx @cchalop1/inizio --devContainerImage node -s postgres

Contributing

We welcome contributions to Inizio! If you're interested in helping improve this tool, please feel free to submit issues or pull requests on our GitHub repository.

{
"by": "Cchalop1",
"descendants": 2,
"id": 40245397,
"kids": [
40245398
],
"score": 2,
"time": 1714724301,
"title": "Show HN: I have created devcontainer config generator to speed up local dev",
"type": "story",
"url": "https://github.com/cchalop1/Inizio"
}
{
"author": "cchalop1",
"date": null,
"description": "Tools to generate devcontainer config. Contribute to cchalop1/Inizio development by creating an account on GitHub.",
"image": "https://opengraph.githubassets.com/7f9f0d058c259899da6f51cd9977ec7fe4d6ee37d50cc3ceeb2a9b5c52354ee3/cchalop1/Inizio",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"title": "GitHub - cchalop1/Inizio: Tools to generate devcontainer config.",
"url": "https://github.com/cchalop1/Inizio"
}
{
"url": "https://github.com/cchalop1/Inizio",
"title": "GitHub - cchalop1/Inizio: Tools to generate devcontainer config.",
"description": "Inizio: DevContainer Config Generator Welcome to Inizio, an open-source tool designed to streamline the process of generating development container configurations for your projects. Inizio simplifies setting...",
"links": [
"https://github.com/cchalop1/Inizio"
],
"image": "https://opengraph.githubassets.com/7f9f0d058c259899da6f51cd9977ec7fe4d6ee37d50cc3ceeb2a9b5c52354ee3/cchalop1/Inizio",
"content": "<div><article><p></p><h2>Inizio: DevContainer Config Generator</h2><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#inizio-devcontainer-config-generator\"></a><p></p>\n<p>Welcome to Inizio, an open-source tool designed to streamline the process of generating development container configurations for your projects. Inizio simplifies setting up a development environment with support for various databases and the option to use a custom Dockerfile, making it easier for developers to get started with containerized project environments.</p>\n<p><a target=\"_blank\" href=\"https://raw.githubusercontent.com/cchalop1/Inizio/main/assets/web.png\"><img src=\"https://raw.githubusercontent.com/cchalop1/Inizio/main/assets/web.png\" alt=\"Screen web\" /></a></p>\n<p></p><h2>Features</h2><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#features\"></a><p></p>\n<ul>\n<li>Generate development container configurations with a simple command.</li>\n<li>Support for specifying a custom Dockerfile.</li>\n<li>Options to integrate various databases into your development environment, including PostgreSQL, Redis, MongoDB, MySQL, and Keycloak.</li>\n</ul>\n<p></p><h2>Getting Started</h2><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#getting-started\"></a><p></p>\n<p></p><h3>Prerequisites</h3><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#prerequisites\"></a><p></p>\n<ul>\n<li>Ensure you have Node.js installed on your system to use <code>npx</code>.</li>\n<li>Docker must be installed and running on your machine to utilize development containers.</li>\n</ul>\n<p></p><h3>Installation</h3><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#installation\"></a><p></p>\n<p>Inizio doesn't require a separate installation process. You can run it directly using <code>npx</code> to avoid global installation and keep your environment clean.</p>\n<p></p><h3>Usage</h3><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#usage\"></a><p></p>\n<p>To generate a development container configuration, use the following command:</p>\n<div><pre>npx @cchalop1/inizio --devContainerImage node</pre></div>\n<p>If you have a local Dockerfile in your repo you don't need to specify<code>--devContainerImage</code></p>\n<p></p><h4>Database Selection</h4><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#database-selection\"></a><p></p>\n<p>Inizio allows you to integrate a database into your development environment. To specify your choice, use the <code>-s</code> option followed by the database name. Supported databases include:</p>\n<ul>\n<li><code>postgres</code></li>\n<li><code>redis</code></li>\n<li><code>mongo</code></li>\n<li><code>mysql</code></li>\n<li><code>keycloak</code></li>\n</ul>\n<p>Example command to generate a configuration with PostgreSQL:</p>\n<div><pre>npx @cchalop1/inizio --devContainerImage node -s postgres</pre></div>\n<p></p><h2>Contributing</h2><a target=\"_blank\" href=\"https://github.com/cchalop1/Inizio#contributing\"></a><p></p>\n<p>We welcome contributions to Inizio! If you're interested in helping improve this tool, please feel free to submit issues or pull requests on our GitHub repository.</p>\n</article></div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 49,
"type": "object"
}