joshareed / grass Goto Github PK
View Code? Open in Web Editor NEWGroovy Authoring for Static Sites
License: Other
Groovy Authoring for Static Sites
License: Other
Pick a license and commit it. I'm not too worried about things so would probably look to some of the other GR8 projects for their licenses.
Steps to reproduce:
Expected outcome:
Properly generates both post and feed/rss text.
Outcome:
Properly encodes post but uses post text to encode feed summary and gives SimpleTemplateEngine error
SimpleTemplateScript2687.groovy: 1712: illegal string body character after dollar sign;
solution: either escape a literal dollar sign "$5" or bracket the value expression "${5}" @ line 1712, column 63.
the bells and whistles costs $4,500. It
As blogs grow, it will become impractical to show all blog posts on the index page. It would be nice to have a plugin that generates an Archives page that organizes all posts in chronological order.
One major missing feature for blogging is the ability to categorize/tag posts and then view all posts in that category.
It would be useful to have a plugin that generates a sitemap.xml file for the site.
Usecase: adding a post but don't want to regenerate the hundreds of posts that haven't changed.
Proposed steps:
I propose adding another CLI flag to do this. I think it would work well with a modification I've made to cap the number of posts on the index page (no pagination, just the first X posts and then they can go into the archive for stuff).
Could help resolve issue #13.
Should describe the process for contributing to the project
It would be extremely useful to have a plugin that generated Atom/RSS feeds for all blog posts. Bonus points if it integrates with a Category/Tagging plugin to generate per-tag feeds.
Add support for Google Analytics. Should be able to specify the GA key in config and include the appropriate snippet.
It would be great to add unit tests for the existing code. However, I haven't figured out the best way under the current architecture. Maybe it's time to look at Gradle?
If we packaged things up as more than just a Groovy script, we could probably get it included with GVM. It might be useful to convert to a Gradle build so then we could add tests.
Currently the default template included doesn't generate nice or usable HTML. It would be nice to ship with a default template that will work well for simple static sites or blogs.
My blog has about 270 or so posts, grass hung up when trying to make index page.
I profiled it locally and it showed that it was using 760MB of RAM. Lowend hosted VMs are usually 512MB.
I'm sure I could get around it with some CLI VM instructions, but I don't think that should be needed.
Script fails to complete if you try to convert more than 140 posts all at once.
Flesh out the README file to include info for users as well as developers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.