plug
classless-css
plug | classless-css | |
---|---|---|
6 | 24 | |
2,781 | 1,870 | |
0.9% | - | |
7.7 | 7.3 | |
15 days ago | 7 days ago | |
Elixir | HTML | |
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.
plug
-
Elixir for Cynical Curmudgeons
Yes, it’s a bit of a magic argument, but it’s the only unhygienic variable introduced with a Plug dispatch:
https://github.com/elixir-plug/plug/blob/main/lib/plug/route...
Everything else is explicitly passed, AFAICT.
-
I'm struggling with creating a rest api with Elixir - total noob
Have you read https://github.com/elixir-plug/plug ? Shows you how to do a GET in under 5 mins.
- ElixirのHTTPクライアントでお天気情報を取得したい(2022年)
-
Request Coalescing in Async Rust
Coming from the Ruby ecosystem, a lot of this played out similarly to how the Rack[1] middleware conventions developed in the early Rails v1 and v2 days. Prior to Rack there was a lot of fragmentation in HTTP server libraries, post-Rack everything more or less played nicely as long as libraries implemented Rack interfaces.
I don't write Rust professionally, but it was a bummer seeing that this seems to be a place that was figured out (painfully) in ecosystems used heavily for web development--Javascript and Elixir have their own Rack equivalents[2][3]. I hope that Tower plays a similar role to unify the library ecosystem in Rust.
1. https://github.com/rack/rack
2. http://expressjs.com/en/guide/writing-middleware.html
3. https://github.com/elixir-plug/plug
-
Learn how to deploy Elixir apps on Heroku
If you're not familiar with it, feel free to check the inner workings of Plug in their documentation. For now, the code above is fairly self-explanatory I hope. All we need to know is that we're using the Plug.Router capabilities and exposing an endpoint /bpi which we're going to use to retrieve our data and to show it.
-
For Web Developers The Stakes Are Generally Lower
Well if Phoenix came with the ability to use Sqlite I'd definitely like it a lot better for smaller sites. Maybe if Elixir had something like Sinatra. I guess using Cowboy or Plug could work.
classless-css
-
Pico CSS v2 comes with 380 manually crafted colors
I dug through a ton of these for several days before finally deciding to just make my own...
All the lesser known ones tend to not be very extensible or themable beyond basic color changes, and they're a little too extreme about pure semantic HTML.
This guy has a really good roundup with last commit and GitHub stars info:
https://github.com/dbohdan/classless-css
Currently working on getting some issues with their test case ironed out to get mine (https://eternityforest.github.io/barrel.css/) included.
- A list of classless CSS themes/frameworks with screenshots
-
Elixir for Cynical Curmudgeons
No style attributes. You just use HTML markup and use a classless CSS framework to take care of making it look nice. My favorite is Marx, but there are others you can find here: https://github.com/dbohdan/classless-css
Water.css, MVP.css, sakura, and Tacit are among the most popular.
-
I wish people would stop insisting that Git branches are nothing but refs
Literally as easy as:
https://github.com/dbohdan/classless-css
And before you say I should do that myself, again, if you want your work to be comfortable to read for the world, the bare minimum involves legibility.
-
The Future (and the Past) of the Web Is Server Side Rendering
Not op but classless CSS frameworks are awesome. The idea is to keep it simple and use the appropriate HTML tags where there were generally meant to go, and the framework will theme the page to improve usability and add flair. I've developed some great little sites with no classes at all!
Obviously this approach has its limits, but it works well for proof-of-concept sites or sites that don't need to be very complex or dynamic. Just a sensible font size, nicer looking form elements, etc.
Here is a list of classless CSS frameworks: https://github.com/dbohdan/classless-css
- Show HN: Bolt.css – Another classless CSS library
- Looking for template of a bare-minimum responsive template.
-
How to Build a Personal Webpage from Scratch (In 2022)
Skip the CSS bit and use classless CSS framework: https://github.com/dbohdan/classless-css
I have used water.css, simple.css and Tufte.css and all of them are great.
-
Using Nanoc, a Static Site Generator
Create a folder inside /output called assets. Move the stylesheet.css inside. You can also use an external css like bootstrap, or use a single file css. There is even a css based on Nier!
- MVP.css – Minimalist stylesheet for HTML elements
What are some alternatives?
ex_admin - ExAdmin is an auto administration package for Elixir and the Phoenix Framework
Heimdall - An Application dashboard and launcher
phoenix_ecto - Phoenix and Ecto integration with support for concurrent acceptance testing
Tailwind CSS - A utility-first CSS framework for rapid UI development.
Raxx - Interface for HTTP webservers, frameworks and clients
Water.css - A drop-in collection of CSS styles to make simple websites just a little nicer
phoenix_pubsub_redis - The Redis PubSub adapter for the Phoenix framework
sakura - :cherry_blossom: a minimal css framework/theme.
corsica - Elixir library for dealing with CORS requests. 🏖
pico - Minimal CSS Framework for semantic HTML
phoenix_live_reload - Provides live-reload functionality for Phoenix
awesome-css-frameworks - List of awesome CSS frameworks in 2024