manga2pdf
Jekyll
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.
manga2pdf
-
Manga2PDF GUI by Glimmer DSL for LibUI
# From: https://github.com/PinGunter/manga2pdf require 'selenium-webdriver' require 'uri' require 'ruby-progressbar' require 'rmagick' require 'glimmer-dsl-libui' module Manga2PDF class MangaIMG def initialize(url, mkdir, ch_limit, savefile) @url = url @end_state = false @global_count = 0 @opts = Selenium::WebDriver::Firefox::Options.new(args: ['-headless']) @driver = Selenium::WebDriver.for(:firefox, capabilities: @opts) @driver.get @url @mkdir = mkdir @current_title = @driver.find_element(tag_name: 'h1').text @ch_limit = ch_limit @img_list = [] @savefile = check_savefile savefile end def check_savefile(savefile) if savefile[savefile.length-4, savefile.length] != ".pdf" return (savefile + ".pdf") end savefile end # method to "download" all images # it actually screenshots the html element # to bypass server restrictions def get_img images = @driver.find_elements(tag_name: 'img') progress_length = (images.length) -2 progress_bar = ProgressBar.create(:title => "Progress", :total => progress_length, :length => 80) dir_path = "." dir_path = "#{@current_title}" if @mkdir if not Dir.exists? dir_path Dir.mkdir dir_path end index = 0 images.each do |img| if index > 0 and index < images.length - 1 scrn_dir = "#{@global_count}_#{index}.png" scrn_dir = "#{dir_path}/#{index}.png" if @mkdir img.save_screenshot scrn_dir @img_list << scrn_dir progress_bar.increment end index += 1 end end # method to navigate to the next page def next_page begin next_btn = @driver.find_element(link_text: 'NEXT CHAPTER') rescue @end_state = true end if not @end_state next_btn.click end @current_title = @driver.find_element(tag_name: 'h1').text #update title end def merge_to_pdf puts "Starting merge" puts "output file: #{@savefile}" final_img_list = Magick::ImageList.new(*@img_list) final_img_list.write(@savefile) puts "Finished merging!" end # method to download all images from all volumes def get_img_all while not @end_state puts "Currently downloading: #{@current_title}" get_img next_page @global_count += 1 if not @ch_limit.nil? and @global_count == @ch_limit @end_state = true end end puts "Finished downloading!" end end class MangaGUI include Glimmer def initialize @url, @mkdir, @chlimit, @chlimit_toggle, @savefile = nil, nil, 1, nil, nil @inner_thread = nil @running = false end def launch window('Manga2PDF - GUI', 600, 200) { on_closing do @inner_thread.exit end margined true vertical_box { horizontal_box { group('Manga2PDF') { vertical_box { group('Enter the URL:') @entry = entry { stretchy false on_changed do @url = @entry.text end } group('Savefile name:') @entry2 = entry { stretchy false on_changed do @savefile = @entry2.text end } @checkbox = checkbox('Have separate folders for each chapter?') { stretchy false on_toggled do @mkdir = @checkbox.checked? end } group('Max number of chapters') @checkbox2 = checkbox('Download only a number of chapters') { stretchy false on_toggled do @chlimit_toggle = @checkbox2.checked? end } @spinbox = spinbox(1,9999) { stretchy false value 1 on_changed do @chlimit = @spinbox.value end } @button = button('Download') { stretchy false on_clicked do if not @running @running = true @inner_thread = Thread.new do Glimmer::LibUI.queue_main do @label.text = "Initializing WebScraper" @progressbar.value = 5 end @chlimit = nil if not @chlimit_toggle @manga = Manga2PDF::MangaIMG.new(@url,@mkdir,@chlimit,@savefile) Glimmer::LibUI.queue_main do @label.text = "Moving to #{@url}" @progressbar.value = 15 @label.text = "Downloading images" end @manga.get_img_all Glimmer::LibUI.queue_main do @label.text = "Finished downloading images" @progressbar.value = 75 @label.text = "Merging images" end @manga.merge_to_pdf Glimmer::LibUI.queue_main do @progressbar.value = 100 @label.text = "Finished! You can close the window now" end @running = false end end end } @progressbar = progress_bar { stretchy false } @label = label("Waiting") { stretchy false } } } } } }.show @inner_thread.join end end end Manga2PDF::MangaGUI.new.launch
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?
Watir - Watir Powered By Selenium
Hugo - The world’s fastest framework for building websites.
webdrivers - Keep your Selenium WebDrivers updated automatically
Middleman - Hand-crafted frontend development
mbfc_crawler - Crawls Media Bias/Fact Check and saves output to JSON.
Pelican - Static site generator that supports Markdown and reST syntax. Powered by Python.
Ruby on Rails - Ruby on Rails
Bridgetown - A next-generation progressive site generator & fullstack framework, powered by Ruby
DManga - Baixador de mangas ( mangahost )
Hexo - A fast, simple & powerful blog framework, powered by Node.js.
glimmer-dsl-libui - Glimmer DSL for LibUI - Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library - The Quickest Way From Zero To GUI - If You Liked Shoes, You'll Love Glimmer! - No need to pre-install any prerequisites. Just install the gem and have platform-independent GUI that just works on Mac, Windows, and Linux.
Lektor - The lektor static file content management system