{"id":25445810,"url":"https://github.com/divmgl/environment","last_synced_at":"2026-01-24T18:32:22.788Z","repository":{"id":88898835,"uuid":"498560229","full_name":"divmgl/environment","owner":"divmgl","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-11T18:38:45.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T23:52:45.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divmgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-01T02:07:55.000Z","updated_at":"2022-09-09T15:14:14.000Z","dependencies_parsed_at":"2025-05-16T06:19:36.143Z","dependency_job_id":null,"html_url":"https://github.com/divmgl/environment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divmgl/environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divmgl%2Fenvironment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divmgl%2Fenvironment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divmgl%2Fenvironment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divmgl%2Fenvironment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divmgl","download_url":"https://codeload.github.com/divmgl/environment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divmgl%2Fenvironment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28734308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T17:51:25.893Z","status":"ssl_error","status_checked_at":"2026-01-24T17:50:48.377Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-17T16:50:26.226Z","updated_at":"2026-01-24T18:32:22.774Z","avatar_url":"https://github.com/divmgl.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# environment\n\nCommon environment scripts that I use for development.\n\n## Container-centric workflow\n\nMy dev workflow is heavily container based. I tend to avoid installing anything on my host machine that the application I'm working on is reliant on. This includes build/debugging tools for compiled languages and interpreters for interpreted languages. \n\nI heavily rely on VSCode devcontainers to make this workflow seamless. Although the final application images I deploy may sometimes rely on a different base image (say, Alpine), I still find it useful to be able to do development in a reproducible containerized environment.\n\n## Toolchain\n### Prerequisites\n\nThis repo doesn't work without the following binaries installed on the host machine:\n\n* [direnv](https://direnv.net/)\n* [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n\n### Shell\n\nShell and shell tools that I use for my host machine and devcontainer:\n\n* [zsh](https://www.zsh.org/)\n* [Starship](https://starship.rs/)\n\n### IDEs and host machine tools\n\nTools that I use on the host machine:\n\n* [VSCode](https://code.visualstudio.com/)\n* [Postico 2](https://eggerapps.at/postico2/)\n* [Medis](https://apps.apple.com/us/app/medis-2-gui-for-redis/id1579200037)\n\n## Usage\n\nTo install the common `~/.zshrc` to the shell, clone this repo and then:\n\n```\n$ install-zshrc\n```\n\nThis will create a symbolic link in `~/.zshrc` to wherever the `.zshrc` script is in the repo.\n\nMake sure to export your `DOCKERHUB_ACCESS_TOKEN` somehow. An easy way to accomplish this:\n\n```\n$ echo \"export DOCKERHUB_ACCESS_TOKEN=THE_ACCESS_TOKEN_HERE\" \u003e\u003e ~/.envrc\n$ direnv allow\n```\n\n## Devcontainers\n\nThere is an example `docker-compose.yml` and `devcontainer.json` file in `devcontainer` to help you quickly spin up a devcontainer environment in a new application.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivmgl%2Fenvironment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivmgl%2Fenvironment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivmgl%2Fenvironment/lists"}