{"id":15818697,"url":"https://github.com/avanov/nix-airflow-template","last_synced_at":"2026-03-04T00:05:23.760Z","repository":{"id":146882075,"uuid":"268371149","full_name":"avanov/nix-airflow-template","owner":"avanov","description":"Airflow local instance template, with a help from Nix and Poetry","archived":false,"fork":false,"pushed_at":"2020-05-31T22:43:34.000Z","size":53,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-06T06:04:26.512Z","etag":null,"topics":["airflow","nix","nix-shell","postgres","postgresql","python3"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-05-31T21:57:43.000Z","updated_at":"2021-11-06T00:11:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"afd60872-c6b2-48c0-a0f2-1c865153a051","html_url":"https://github.com/avanov/nix-airflow-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avanov%2Fnix-airflow-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avanov%2Fnix-airflow-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avanov%2Fnix-airflow-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avanov%2Fnix-airflow-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avanov","download_url":"https://codeload.github.com/avanov/nix-airflow-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252979716,"owners_count":21835108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["airflow","nix","nix-shell","postgres","postgresql","python3"],"created_at":"2024-10-05T06:04:29.920Z","updated_at":"2025-10-15T21:25:23.535Z","avatar_url":"https://github.com/avanov.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"nix-airflow-template\n====================\n\nAirflow local instance template, with a help from Nix and Poetry. Use it to get acquainted with the platform.\n\n# Environment\n\nTo establish a local environment from this repository, you will need\n[Nix installed](https://nixos.wiki/wiki/Nix_Installation_Guide#Single-user_install)\n\nOnce Nix is installed, simply run:\n\n```bash\nnix-shell\nmake init\n```\n\n## What is inside?\n\n* local non-containerized Postgres instance;\n* latest Airflow instance (as of writing this readme);\n* Python 3.7 runtime;\n* version-pinned with Poetry;\n* shortcut commands to control the instance.\n\n\n# Instantiating Airflow\n\n```bash\nmake airflow-start\n```\n\n## How to test it\n\nNavigate your browser to [localhost:3333](http://localhost:3333/), enable the example DAG,\nrefresh the page and observe that the DAG has been scheduled for execution. In a few seconds\nyou will see that it completes. On the rightmost column, click the \"Tree View\" icon.\n\nEvery green square represents a dag task, every circle is a complete DAG instance.\nYou can find the result of the operator by clicking on a square, and selecting View Log -\u003e XCom.\n\n## How to reset everything\n\nThe following command removes the current Airflow DB instance, and recreates it from scratch again\n\n```bash\nmake reset\n```\n\n## How to stop the instance\n\nTo stop Airflow and Postgres instances run\n\n```bash\nmake airflow-stop\n```\n\n# License\n\n[0-clause BSD License](https://en.wikipedia.org/wiki/BSD_licenses#0-clause_license_(\"Zero_Clause_BSD\"))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favanov%2Fnix-airflow-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favanov%2Fnix-airflow-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favanov%2Fnix-airflow-template/lists"}