Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maragudk/ildsk
Dansk til ildsk og tilbage.
https://github.com/maragudk/ildsk
Last synced: 6 days ago
JSON representation
Dansk til ildsk og tilbage.
- Host: GitHub
- URL: https://github.com/maragudk/ildsk
- Owner: maragudk
- License: mit
- Created: 2024-11-01T08:52:34.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T10:53:31.000Z (2 months ago)
- Last Synced: 2025-01-03T02:17:20.418Z (7 days ago)
- Language: Go
- Homepage: https://ildsk.fly.dev
- Size: 1.64 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ildsk! 🔥
Oversætter fra dansk til ildsk og tilbage.
Made with ✨sparkles✨ by [maragu](https://www.maragu.dev/).
## Getting started
You can start the app with:
```shell
make start
```If you make style changes, watch the CSS with:
```shell
make watch-css
```You can run tests and linting with:
```shell
make test lint
```### Enabling TailwindCSS auto-complete in your IDE
[TailwindCSS has auto-complete of classnames (and more) through IDE plugins](https://tailwindcss.com/docs/editor-setup).
After you've installed the TailwindCSS plugin for your IDE, it needs some configuration to work with gomponents. Here's the config for VS Code and JetBrains IDEs:
VSCode
Edit `vscode-settings.json` and add the following:
```json
{
"tailwindCSS.includeLanguages": {
"go": "html",
},
"tailwindCSS.experimental.classRegex": [
["Class(?:es)?[({]([^)}]*)[)}]", "[\"`]([^\"`]*)[\"`]"]
],
}
```[See the official plugin page for more info](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)
JetBrains/GoLand
Go to `Settings` -> `Languages & Frameworks` -> `Style Sheets` -> `Tailwind CSS` and add the following (don't delete the other config):
```json
{
"includeLanguages": {
"go": "html"
},
"experimental": {
"classRegex": [
["Class(?:es)?[({]([^)}]*)[)}]", "[\"`]([^\"`]*)[\"`]"]
]
}
}
```[See the official plugin page for more info](https://plugins.jetbrains.com/plugin/15321-tailwind-css)
## Deploying
The [CD workflow](.github/workflows/cd.yml) automatically builds a multi-platform Docker image and pushes it to the Github container registry GHCR.io, tagged with the commit hash as well as `latest`.
You can try building the image locally with:
```shell
make build-docker
```Note that [you need the containerd image store enabled](https://docs.docker.com/desktop/containerd/#enable-the-containerd-image-store) for this to work.