{"id":21832619,"url":"https://github.com/hattya/aster","last_synced_at":"2025-04-14T07:37:13.774Z","repository":{"id":19535171,"uuid":"22782970","full_name":"hattya/aster","owner":"hattya","description":"A command line tool to handle events on file system modifications","archived":false,"fork":false,"pushed_at":"2025-04-05T05:40:31.000Z","size":293,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T06:26:28.122Z","etag":null,"topics":["command-line","filesystem","go","notifications"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hattya.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2014-08-09T09:15:39.000Z","updated_at":"2025-04-05T05:40:34.000Z","dependencies_parsed_at":"2024-06-20T21:51:30.791Z","dependency_job_id":"cda9f3e0-278c-4ef5-9a1a-01a8ca3554cb","html_url":"https://github.com/hattya/aster","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hattya%2Faster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hattya%2Faster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hattya%2Faster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hattya%2Faster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hattya","download_url":"https://codeload.github.com/hattya/aster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248840460,"owners_count":21169987,"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":["command-line","filesystem","go","notifications"],"created_at":"2024-11-27T19:24:26.893Z","updated_at":"2025-04-14T07:37:13.740Z","avatar_url":"https://github.com/hattya.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aster\n\nAster is a command line tool to handle events on file system modifications. It\nis inspired by [Guard](https://guardgem.org/).\n\n[![pkg.go.dev](https://pkg.go.dev/badge/github.com/hattya/aster.svg)](https://pkg.go.dev/github.com/hattya/aster)\n[![GitHub Actions](https://github.com/hattya/aster/actions/workflows/ci.yml/badge.svg)](https://github.com/hattya/aster/actions/workflows/ci.yml)\n[![Appveyor](https://ci.appveyor.com/api/projects/status/qc3luxk7q7jmx2ut/branch/master?svg=true)](https://ci.appveyor.com/project/hattya/aster)\n[![Codecov](https://codecov.io/gh/hattya/aster/branch/master/graph/badge.svg)](https://codecov.io/gh/hattya/aster)\n\n\n## Installation\n\n```console\n$ go install github.com/hattya/aster/cmd/aster@latest\n```\n\n\n## Usage\n\n```console\n$ aster -g\n```\n\n\n### init\n\n```console\n$ aster init [\u003ctemplate\u003e...]\n```\n\n``aster init`` creates an Asterfile in the current directory if it does not\nexist, and add specified template files to it.\n\nTemplate files are located in:\n\n- UNIX  \n  `$XDG_CONFIG_HOME/aster/template/\u003ctemplate\u003e`\n\n- macOS  \n  `~/Library/Application Support/Aster/template/\u003ctemplate\u003e`\n\n- Windows  \n  `%APPDATA%\\Aster\\template\\\u003ctemplate\u003e`\n\n\n## Asterfile\n\nAsterfile is evaluated as JavaScript by [otto](https://github.com/robertkrimen/otto).\n\n```javascript\nvar go = require('language/go').go;\n\naster.watch(/.+\\.go$/, function() {\n  // test\n  if (go.test('-v', '-covermode', 'atomic', '-coverprofile', 'cover.out', './...')) {\n    return;\n  }\n  // coverage report\n  go.tool.cover('-func', 'cover.out');\n  go.tool.cover('-html', 'cover.out', '-o', 'coverage.html');\n  // vet\n  if (go.vet('./...')) {\n    return;\n  }\n});\n```\n\n\n## Reference\n\n- [Global Objects](doc/global-objects.rst)\n- [OS](doc/os.rst)\n- [Language](doc/language.rst)\n  - [Go](doc/language/go.rst)\n  - [JavaScript](doc/language/javascript.rst)\n  - [Markdown](doc/language/markdown.rst)\n  - [Python](doc/language/python.rst)\n  - [reStructuredText](doc/language/restructuredtext.rst)\n  - [Vim script](doc/language/vimscript.rst)\n\n\n## License\n\nAster is distributed under the terms of the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhattya%2Faster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhattya%2Faster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhattya%2Faster/lists"}