https://github.com/athena-framework/component-template
Template repository for scaffolding new Athena components
https://github.com/athena-framework/component-template
crystal
Last synced: about 1 year ago
JSON representation
Template repository for scaffolding new Athena components
- Host: GitHub
- URL: https://github.com/athena-framework/component-template
- Owner: athena-framework
- License: mit
- Created: 2020-01-13T00:05:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-02T02:50:43.000Z (about 1 year ago)
- Last Synced: 2025-02-22T17:39:47.618Z (about 1 year ago)
- Topics: crystal
- Language: Crystal
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# README
Template repo for creating a new Athena component. Scaffolds the Crystal shard's structure as well as define CI etc.
**NOTE:** This repo assumes the component will be in the `athena-framework` org. If it is to be used outside of the org, be sure to update URLs accordingly.
1. Find/replace `COMPONENT_NAME` with the name of the component. This is used as the shard's name. E.x. `logger`.
1.1 Be sure to rename the file in `./src` as well.
1. Replace `NAMESPACE_NAME` with the name of the component's namespace. Documentation for this component will be grouped under this. E.x. `Logger`.
1. Find/replace `CREATOR_NAME` with your Github display name. E.x. `George Dietrich`.
1. Find/replace `CREATOR_USERNAME` with your Github username. E.x. `blacksmoke16`.
1. Find/replace `CREATOR_EMAIL` with your desired email
5.1 Can remove this if you don't wish to expose an email.
1. Find/replace `ALIAS_NAME` with the three letter alias for this component; A + 2 letter shortcut to `NAMESPACE_NAME`. E.x. `ALG`.
1. Find/replace `DESCRIPTION` with a short description of what the component does.
1. Add some initial documentation to `docs/README.md`.
Delete from here up
# NAMESPACE_NAME
[](https://common-changelog.org)
[](https://github.com/athena-framework/athena/actions/workflows/ci.yml)
[](https://github.com/athena-framework/COMPONENT_NAME/releases)
DESCRIPTION.
## Getting Started
Checkout the [Documentation](https://athenaframework.org/NAMESPACE_NAME).
## Contributing
Read the general [Contributing Guide](./CONTRIBUTING.md) for information on how to get started.