css-only-chat
tanka
css-only-chat | tanka | |
---|---|---|
13 | 25 | |
6,544 | 2,236 | |
- | 2.1% | |
0.0 | 8.3 | |
8 months ago | 10 days ago | |
Ruby | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
css-only-chat
-
Bear Does Analytics with CSS
The idea of using CSS-triggered requests for analytics was really cool to me when I first encountered it.
One guy on twitter (no longer available) used it for mouse tracking: overlay an invisible grid of squares on the page, each with a unique background image triggered on hover. Each background image sends a specific request to the server, which interprets it!
For fun one summer, I extended that idea to create a JS-free "css only async web chat": https://github.com/kkuchta/css-only-chat
- GitHub – kkuchta/CSS-only-chat: A monstrous async web chat using no JavaScript
- 真 TM 技术鬼才: 前端纯 CSS 实现网页聊天
- GitHub kkuchta/CSS-only-chat: A monstrous async web chat using no JavaScript
- 技术鬼才: 用 CSS 实现聊天功能
-
No, CSS isn't a Programming Language
Isn't CSS Turing complete? Someone even implemented a chat client in it: https://github.com/kkuchta/css-only-chat
-
Gov.uk removed jquery and saw some performance improvements as a result
If it's something like a new reply to an issue raised, then you can either have it so these only show when the page reloads. Depending on how critical these notifications are, probably not the best solution. An alternative is to have a page that never stops loading. I've never actually used this approach, but I remember this guy used the approach for a JS-free chat system: https://github.com/kkuchta/css-only-chat
-
Yes, I can connect to a DB in CSS
Here's an actual CSS-only implementation of a chat app that I happened to stumble across yesterday while tinkering: https://github.com/kkuchta/css-only-chat
- Soft skills
tanka
-
Why the fuck are we templating YAML? (2019)
I would recommend implementing a similar API to Grafana Tanka: https://tanka.dev
When you "synthesise", the returned value should be an array or an object.
1. If it's an object, check if it has an `apiVersion` and `kind` key. If it does, yield that as a kubernetes object and do not recurse.
-
What Is Wrong with TOML?
Maybe you'd like jsonnet: https://jsonnet.org/
I find it particularly useful for configurations that often have repeated boilerplate, like ansible playbooks or deploying a bunch of "similar-but" services to kubernetes (with https://tanka.dev).
Dhall is also quite interesting, with some tradeoffs: https://dhall-lang.org/
A few years ago I did a small comparison by re-implementing one of my simpler ansible playbooks: https://github.com/retzkek/ansible-dhall-jsonnet
-
Show HN: Keep – GitHub Actions for your monitoring tools
- validation is often impractical (at least identifying exactly where the error is… I’m looking at you Helm!)
Unrelated to OP, but you can leverage Tanka to extend helm charts with functionality not provided by upstream.
https://tanka.dev/
-
Alternatives to Helm?
Although jsonette might be considered more complex Tanka is a great alternative for k8s config management.
- Helm makes it overly complex, or is it just me?
-
The YAML Document from Hell
At Grafana Labs we're using jsonnet at scale, while being a powerful functional language it is also excellent for rendering JSON/YAML config. We have developed Tanka[0] to work with Kubernetes, for other purposes I can recommend this course[1] (authored by me).
[0] https://tanka.dev/
[1] https://jsonnet-libs.github.io/jsonnet-training-course/
-
Should i migrate from Kustomize to Helm?
If you're hitting the limits of Kustomize, maybe look at Tanka as well.
-
Is it possible to wrap Kustomize yaml with jinja2?
Yes, try Tanka.
-
Using Docker – Compose in Development and Production
yes. basically. and this is a path that multiple people are trying to solve. e.g. AWS CDK8s, https://tanka.dev/, etc
Compose would be awesome.
-
Google Kubernetes clusters config checker tool
http://tanka.dev
(Note I work for Grafana Labs who fund Tanka and use it for all production config)
What are some alternatives?
evilginx2 - Standalone man-in-the-middle attack framework used for phishing login credentials along with session cookies, allowing for the bypass of 2-factor authentication
helm-charts - Prometheus community Helm charts
pyinfra - pyinfra automates infrastructure using Python. It’s fast and scales from one server to thousands. Great for ad-hoc command execution, service deployment, configuration management and more.
kustomize - Customization of kubernetes YAML configurations
dhall - Maintainable configuration files
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
CSS_SQL_Networking_Tools - Tools used by the SQL Networking Customer Support Team
ytt - YAML templating tool that works on YAML structure instead of text
IntercalScript - The IntercalScript programming language
kpt - Automate Kubernetes Configuration Editing
Pulumi - Pulumi - Infrastructure as Code in any programming language. Build infrastructure intuitively on any cloud using familiar languages 🚀