sitepress
Jekyll
sitepress | Jekyll | |
---|---|---|
11 | 253 | |
245 | 48,318 | |
0.8% | 0.4% | |
7.4 | 8.7 | |
6 months ago | 7 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
sitepress
-
No CMS? Writing Our Blog in React
I'm currently facing the same problem - adding a blog to a Rails app.
I thought Sitepress looks interesting, as its supposed to integrate with Rails. Have you given that one a try?
https://sitepress.cc/
-
The theory versus the practice of “static websites”
I’ve been down this path enough times that I built https://sitepress.cc/, which lets you embed content in a rails app with features that are present in Jekyll, Middleman, etc. like Frontmatter, site hierarchy traversal, etc. It keeps content as files in the app/content directory, but when it’s time to pull data in from the Rails app for SEO, it’s all right there in the Rails app. There’s no “Headless CMS” crap to jump through.
For me, this is another way of keeping everything in a monolith, and which requires a lot less context switching. If I’m building a feature and I want to create marketing or support content for it, it’s all right there in the same repo. I just create the markdown files I need, commit them to the repo, and I’m don.
The thought of switching between a static content site or something like Webflow just seems silly. I think they only makes sense for huge teams.
-
Rails with Middleman for static content?
In case you want something like Middleman (frontmatter, static compilation, ...), but embedable in your Rails app, Sitepress is really cool solution (you can even run it without Rails!): https://sitepress.cc
-
Ask HN: Who's using Ruby web development without Ruby on Rails (RoR)?
I went the opposite direction and built a static site generator on top of Rails: https://sitepress.cc/
Turns out, Rails is a really good web framework! I tried building Sitepress on something “light weight”, Tilt and Rack, and it was a pain. I found myself constantly solving the same problems that were already solved in Rails. At some point it dawned on me that I could just build on top of a few parts of Rails, so I did. I wrote about it at https://fly.io/ruby-dispatch/single-file-rails-app/
I’m glad I did! Now I can plug all of the Rails template handlers, view components, and other Rails plugins into it and ride off that entire communities docs.
If you find yourself thinking, “rails is too heavy”, consider shedding the parts of Rails that you don’t need. Then as your application grows in complexity and you find yourself needing more parts of Rails, bring it back in.
- [student help] Using Rails as front end. Is it possible?
-
Single File Rails Apps
As I was building Sitepress (a site generator like Middleman, Jekyll, & Bridgetown), I stumbled into the idea that a Rails application can exist in a single file and wrote about it at https://fly.io/ruby-dispatch/single-file-rails-app/.
-
Show HN: I made a CMS that uses Git to store your data
Agreed. I built https://sitepress.cc/ that uses git + files to manage content in Rails, but it needs an editor.
I’m not sure if the right thing to do is build a web editor or smooth out git workflows so that non-technical people can open content files with desktop software to make changes to the content.
- Sitepress: Build content websites for static site or Rails applications
-
State of the Web: Static Site Generators
I created https://sitepress.cc/ because you can have both! It can run a dynamic content site from a Rails app or it can compile out pages that can be deployed to any static website host.
It doesn’t have a front end for authoring pages, styles, etc, but that could be built on top of this library.
-
RIP Jekyll (The Genesis of the Jamstack)
I was using Middleman for a while, but then grew tired of all the dependencies I had to always keep up-to-date. I did the completely illogical thing and built my own static site generator, https://sitepress.cc/
A few years later and I ended up deleting most of it and replacing the internals with Rails. Now Sitepress is just a tiny rails application sitting on top of a bunch of files. Most of the maintenance and dependencies are handled by major Rails lib maintainers.
When you deploy it, you can compile it into static files and deploy as you’d expect, but you can also deploy it as a rails or rack app … or even embed it into an existing rails app.
When Rails 7.0 gets released I’ll drop JS importmaps into the default install for free and have my dream static site generator that doesn’t have a huge asset compilation step.
Jekyll
-
Creating excerpts in Astro
This blog is running on Hugo. It had previously been running on Jekyll. Both these SSGs ship with the ability to create excerpts from your markdown content in 1 line or thereabouts.
-
Craft Your GitHub Profile Page in 60 Seconds with Zero Code, Absolutely Free
Jekyll
-
Ask HN: Looking for lightweight personal blogging platform
In future, if you want to move from Jekyll to something else, you just have to worry about that `_posts` and `_assets` folder. They may have different naming convention but you can just config-managed it or change it to your choice. This is why I suggested owning that two yourself.
You also may not worry about FrontMatter[3] (meta in the header) and its accompanying jazz by asking Jekyll to use the plugins `jekyll-optional-front-matter` and `jekyll-titles-from-headings`. These comes as part of the officially supported Jekyll plugins[4] by Github. That way, you are just writing a human-readable plain-text spiced up with Markdown and readable by almost every other Static Site Generator.
Now, play with the `_config.yml` that Jekyll generates for you from the theme above to define your post dates, navigation, and others. Jekyll is one of the OGs — the Gandalf of Static Site Generators. If you have a problem, someone somewhere has solved that.
Did I missed something? I was supposed to write a blog article for my website on this one and this comment will serve as my starting bullet points.
1. https://docs.github.com/en/pages/setting-up-a-github-pages-s...
2. https://jekyllrb.com
3. https://frontmatter.codes/docs/markdown
4. https://docs.github.com/en/pages/setting-up-a-github-pages-s...
-
Where are the layouts!? And where is the site object loaded from? (Chirpy Theme)
"Using the Chirpy theme for Jekyll."
-
Any FOSS to make HTML websites for self-hosting?
I would suggest looking into static site generators. Some popular examples, which are used myself are: - Hugo: https://gohugo.io/ - Jekyll: https://jekyllrb.com
- How do i replicate GTFOBins layout ?
- Release v4.3.2 · jekyll/jekyll
-
How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
In terms of GitHub stars, SSGs like Next.js, Hugo, Gatsby, Docusaurus, Nuxt.js, and Jekyll top the list. Some popular SSGs even host conferences and workshops, providing resources and networking opportunities for those looking to explore more advanced topics in depth.
-
How to run Jekyll on Kubernetes
I created my blog using Jekyll, a great open-source tool that can transform your markdown content into a simple, old-fashioned-but-trendy, static site. What are the advantages of this approach? The site is super-light, super-fast, super-secure and SEO-friendly. Of course, it’s not always the best solution, but for some use cases, like a simple personal blog, it’s really a good option.
-
AWS Customers Cannot Escape IPv4
Yes, it's Markdown and I use https://jekyllrb.com with the theme "jekyll-theme-hacker" to generate the site. I quite like how simple it is.
What are some alternatives?
react-static - ⚛️ 🚀 A progressive static site generator for React.
Hugo - The world’s fastest framework for building websites.
poor-richard - Static site for Spotlight PA
Middleman - Hand-crafted frontend development
Bridgetown - A next-generation progressive site generator & fullstack framework, powered by Ruby
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
Nikola - A static website and blog generator
firecms - Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
Hexo - A fast, simple & powerful blog framework, powered by Node.js.
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Lektor - The lektor static file content management system