TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pelican static site generator 4.5

193 pointsby dragonshover 4 years ago

16 comments

dragonshover 4 years ago
Pelican is an underdog among static site generators but still has a very simple mental model [1] of readers, writers and generators.So it becomes easy to extend and work with. Not sure why it’s not as popular, but after working with Jekyll, Hugo and Nikola Pelican seems better designed with decent code structure. From the documentation:<p><i>“What Pelican does is take a list of files and process them into some sort of output. Usually, the input files are reStructuredText and Markdown files, and the output is a blog, but both input and output can be anything you want.”</i><p>[1] <a href="https:&#x2F;&#x2F;docs.getpelican.com&#x2F;en&#x2F;stable&#x2F;internals.html#overall-structure" rel="nofollow">https:&#x2F;&#x2F;docs.getpelican.com&#x2F;en&#x2F;stable&#x2F;internals.html#overall...</a>
评论 #24673312 未加载
评论 #24667882 未加载
评论 #24662807 未加载
评论 #24662702 未加载
评论 #24664545 未加载
评论 #24662698 未加载
jeromenerfover 4 years ago
Here comes the &quot;I use org mode BTW&quot; comment.<p>When it comes to my personal websites, I use org mode, because publishing is actually an exception in my day to day life. I use emacs for org mode only, but I use it all day long to keep notes, track todos, document projects, write prose and messages. Sometimes, I think something is worth publishing, so I mark it with the appropriate tags, run the publish command and let syncthing update the websites.<p>I have used hugo for a dozen significant project and I like it. I have chosen hugo over the alternatives because I prefer go to javascript, ruby and python in almost all possible regards. I even teach classes to journalism students with hugo and gitlab.<p>Static site generators are great for &quot;projects&quot; but as a individual willing to share some mildly interesting content as a side effect of his daily activities, I still consider them too much work and maintenance.
评论 #24668354 未加载
spapas82over 4 years ago
For anybody that wants to start with pelican I had written a tutorial post about it at <a href="https:&#x2F;&#x2F;spapas.github.io&#x2F;2013&#x2F;10&#x2F;07&#x2F;pelican-static-windows&#x2F;" rel="nofollow">https:&#x2F;&#x2F;spapas.github.io&#x2F;2013&#x2F;10&#x2F;07&#x2F;pelican-static-windows&#x2F;</a>.<p>Also that blog is made with pelican and hosted with GitHub pages so you can see some of pelican&#x27;s features. I&#x27;m using it for more than 7 years and am really happy with it (the fact that I am familiar with python and can debug some problems myself definitely helps)
nottorpover 4 years ago
I’d very much like to commend whoever posted this for saying what Pelican is right in the gorram title!
评论 #24666445 未加载
评论 #24666501 未加载
FrontAidover 4 years ago
Does Pelican allow to use external content files that are not written in Markdown? I&#x27;d like to load content from a JSON file to enrich certain pages or even create whole site structures dynamically. I couldn&#x27;t find anything related in neither the documentation nor the plugin repo.<p>edit: It seems one might be able to write a custom reader for that according to <a href="https:&#x2F;&#x2F;docs.getpelican.com&#x2F;en&#x2F;stable&#x2F;internals.html#how-to-implement-a-new-reader" rel="nofollow">https:&#x2F;&#x2F;docs.getpelican.com&#x2F;en&#x2F;stable&#x2F;internals.html#how-to-...</a>
评论 #24663412 未加载
ahelwerover 4 years ago
My blog (ahelwer.ca) uses Hugo hosted on gitlab pages; I notice that privacy badger flags two trackers on it, cloudflare CDN and google fonts. I&#x27;m assuming gfonts is because the Hugo theme I&#x27;m using uses a google-provided font and cloudflare CDN is there because it&#x27;s automatically added by gitlab or something; anyone know how you can create a completely tracker-free experience? Do you basically have to stand up your own webserver on a cloud provider (or at home)? I guess without cloudflare or some other CDN you&#x27;d also have to hope your server can handle serving all the traffic directly. Or would a different static site generator like pelican help?
评论 #24663631 未加载
评论 #24662545 未加载
评论 #24662988 未加载
评论 #24662120 未加载
评论 #24662235 未加载
评论 #24662625 未加载
评论 #24667923 未加载
评论 #24662082 未加载
crossroadsguyover 4 years ago
I have tried couple of them. Then I realised all I needed was some HTML, few lines of CSS, and zero JS and definitely no static site generator.<p>I am not saying no one else needs it. However, the majority of sites I&#x27;ve seen that are generated via static site generators are using static site generators just because they can.
评论 #24665205 未加载
tardismechanicover 4 years ago
FWIW, a leaderboard of SSGs:<p><a href="https:&#x2F;&#x2F;www.staticgen.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.staticgen.com&#x2F;</a>
评论 #24666324 未加载
liquid153over 4 years ago
I think Jekyll is only popular since its the only official static site generator supported by github pages
GekkePrutserover 4 years ago
I&#x27;d never heard of Pelican but I have to say their site is doing an really bad job at explaining what it does and how :)<p>I&#x27;d expect some screenshots and some points. All I learned from reading it is that it supports markdown but not really what kind of site it&#x27;s for (e.g. blogs like wordpress etc).<p>I&#x27;m looking for a static generator to make a blog (static mainly for security and because I don&#x27;t want to do anything complex anyway). But not sure if this will suffice.
评论 #24666861 未加载
aurahamover 4 years ago
I am a Pelican user and I love it. My blog is made with Pelican. I also tried Hugo, Gatsby, and Jekyll, but they require much more orchestation than Pelican. There are two areas that can be improved: documentation and themes. I got difficulties trying to customize my blog (syntax highlighting, integration with jupyter notebooks, latex support, and so on). Most of the time the answers were in another blog, not in the docs. Also, the default theme is not attractive for new users. That prevents them to even give it a try.
g8ozover 4 years ago
A comprehensive list of static site generators can be found at <a href="https:&#x2F;&#x2F;www.staticgen.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.staticgen.com&#x2F;</a>
评论 #24664773 未加载
stavrosover 4 years ago
Has anyone compared Pelican to Zola? I use Lektor myself (and love it), but I sometimes find myself pining for something fast and self-contained.
评论 #24663667 未加载
评论 #24663309 未加载
评论 #24663460 未加载
japhyrover 4 years ago
I have used Jekyll for years on a GitHub pages site. I like working with Jekyll overall, but the site has grown to a moderate size and now it takes about 8 seconds to render changes locally. When I started a new personal site last year I went with Hugo because one of its main selling points is speed.<p>Can anyone share how Pelican&#x27;s rendering speed compares to Jekyll and Hugo?
评论 #24664315 未加载
评论 #24665037 未加载
评论 #24663704 未加载
评论 #24664543 未加载
评论 #24664913 未加载
评论 #24664579 未加载
评论 #24663628 未加载
jonathanbergerover 4 years ago
Incase it benefits others, I did a brief survey of static site generators and while Pelican looked great it had more functionality than I needed.<p>I ended up using staticjinja instead. And after sticking with it for over a year now, I&#x27;d still recommend it if Pelican features like RSS feeds and code syntax highlighting seem like overkill for your project.
评论 #24662322 未加载
评论 #24664591 未加载
评论 #24662855 未加载
jshenover 4 years ago
I use Pelican, and am happy with it, but I wish it had better options for simple templates&#x2F;themes.