Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Specter – A minimal, elegant and free Markdown-enabled blogging platform (brislink.github.io)
48 points by aminbandali on Aug 22, 2013 | hide | past | favorite | 48 comments


Uninteresting: "Use my blog platform! It has the power of node!"

Interesting: "I wrote something new in a way or with tools that I had not used before. Here's what worked, here's what didn't, and here's what I learned."

Unfortunately, this is the former. I'd be interested in reading the latter if you wrote something up about your experience with this.


Interesting: Use my blog platform! Here is the code!

https://github.com/brislink/specter


Sorry about that. There is only so much that I can write on a project page. It has to grab attention.

I wrote in detail about specter and what I learnt building it on my blog, if you care to read you can go on the link below.

http://www.staticshin.com/tag/specter


Kudos, man. That's probably the best response to a middle brow dismissal I've seen to date. Thanks for bringing this to our attention. :)


Pelican, Specter, Silvrback...I'm starting to get really confused. Is building your own blogging engine the new rite of passage for the web age, supplanting the practice of building your own text editor?

Is it okay if I keep writing post in HTML, rather than REST? Or am I missing out on some awesome set of features? I'd love to know if anyone actually converted to one of these platforms and found themselves writing more. I definitely have some trouble finishing the posts that I start, but I get the distinct impression that using one of these would be akin to getting a gym membership: if I'm not finishing blog posts now I won't magically start finishing blog posts just because of this new tool.


Oh look another great free tool and another senseless comment that tries to knock it for no reason. You're just writing over-generalized nonsense for the sake of it, most of which doesn't even make sense...

> Is it okay if I keep writing post in HTML, rather than REST?

What?



Writing a blog engine has been the "hello world" for new languages / web frameworks for a while.


I switched to a static site generator from Posterous when it was acquired (and ultimately shut down), and I definitely do find myself writing more posts on the blog. Writing a post is as easy as creating a new markdown file, writing in it, then `middleman build`, `git commit -a` and `git push` (which I could definitely automate further).

Of course, I probably consider this workflow easier because as a developer I'm already perfectly comfortable with git, and with working with source files. I can just open a terminal and type `vim /path/to/blog/new-post.markdown` and start writing. I find Wordpress slow, fiddly and limiting by contrast.

I'm not uncomfortable making the extended inference that most who prefer markdown for posting are at least very computer-literate and quite possibly software developers. I tried to sell my wife (a writer) on markdown and she didn't get it at all.


Well, it's up to you to use your own gym membership. If you sign up and don't use your membership, that is ultimately your problem. These new blogging platforms are like different gyms you can sign up for. Whether you exercise or not, at least do it at a gym you like.

I think it's nice to see a variety of self-made blogging platforms come around. Not only do we bloggers get our pick of the litter but it shows how some languages/frameworks work in creating something conventional like a blog. I agree that is seems to have become some sort of rite of passage.


I realise you're being snarky, but of course it is. Do what makes you happy. For an increasing (but numerically very small) amount of people, building their own service is what makes them happy.

In terms of awesome features - well yes. There are tons and tons and tons that are available from pages dynamically generated by a server-side program that would be a real pain to produce on manually updating HTML pages.


I think it's the new todo list.


Actually, the todo list is the new blogging engine. Writing a blogging engine as a way to learn a new language has been around since at least the early days of Rails. I remember doing that tutorial back in ~2004.


I set it up just now, and it was very easy to get moving. I'm no ops master, but it only took a few minutes, and it's a bit nicer than the homerolled solution I had been using. My writeup is on my new blog at http://nevinera.net/trying-out-specter


I have a question...

>Specter takes the elegant/lazy approach of not using sessions at all - access to edit and create pages is entirely via url, and permission to actually perform those changes is granted by including a 'secret' (a password) in the form. It's not the most secure form of defense (I'm not using ssl, so a wireless sniffer could easily determine my password, for example), but its sufficient for a nonprofessional.

Is there something that I can do to make it more secure but still follow the lazy approach. I am asking cause I use heroku which is not secure as well.


I believe the standard approach is to hash the password in the browser and submit the hash for comparison - then if somebody observes the transaction they will only have gained access to the blog, and not everything with which it shares a password.

On the other side, it is typically better not to store the password on the server either. You could accomplish that by giving a utility to store a hash in a file, but that's a bit heavy I guess.

I meant for a nonprofessional /blogger/, incidentally, not a nonprofessional coder :-)


It looks like the actual best answer is to use ssl - apparently most apps transmit their password in the clear, and just rely on ssl to keep it from being observed. I'll amend my post.


Ah thanks for letting me know. I had opened an issue to change my implementation but I guess I will leave it now. Thanks once again.


Why thank you sir for this detailed write up! You did a great job.


Giving credit where it is due. Specter was inspired by simple

https://github.com/gschier/simple-blog

I wrote about it here

http://www.staticshin.com/inspiration-behind-specter


looks like a nice little project. how did it ever get built without some crowd funding though? :)


ha ha nice one. With lots of free time and nothing much to do I thought I might as well build something that people can use until ghost comes around.


This looks rather neat. FYI, the type rendering in the screenshots is really terrible—I'd suggest re-rendering in something different.


You mean the the themes? Well I just added them to demonstrate that all you need to is change the css from boostrap to bootswatch in order to change the theme.

http://bootswatch.com/


Nah nah, the themes are probably fine. It looks like you're rendering them on a browser from the 2001 (the text rendering is really choppy)...


Ah I get it. Yeah I will redo them.


I am asking, in a not snarky but genuinely curious way, what are the advantages of any of these platforms over wordpress?


The most important one to me is not using PHP (THEshittiest programming language ever) and being built upon NodeJS. Also, look at my answer below about the security aspect of it.


I would rather use PHP over JavaScript. I know that puts me in a smallish subset of people here, but I really don't like JavaScript.


Smallish subset here perhaps but then HN is not representative of the wider programming community.

I for one think JavaScript is an utterly hideous language full of all kinds of gotchas and abortions and that the only reason it has any relevance is it got their first.

I will take PHP over JS (and Python over both).


Bbury Google search? Since when did Google search rule blogging platforms? Maybe I'm missing something here.


How secure is this platform compared to say something like Wordpress?


With WordPress, there's always the possibility of your blog being hacked, because it executes queries and there's always the chance for bugs to exist some where in the huge ocean of code. On the other hand, with static blog generators (like specter, octopress, pelican, etc) your generated blog will be static html and as far as I know, there's no way you can really question html's security, simply because security doesn't apply to it. You cannot attack html because it doesn't run queries or anything, it's just static data being pulled from the server and displayed by the browser. So, in the end, the security goes back to your host and how good the machines are configured (when you're using shared hosts).


Do you lose functionality without queries? I'm assuming static means there is less interactivity, like commenting.


Compared to WordPress, you definitely do; but think about it, there's lots of stuff in WordPress that a blogger doesn't need. WordPress is not just a blogging platform [anymore]. However, on the other hand, by using static sites you're entering a whole new level of security. But don't fear, for commenting, there's Disqus which is pretty good, and I think it's built into specter as well! Even if not so, adding it is just copying and pasting a couple of lines of code :)


Nah, just use Disqus for your comments. Octopress includes this by default, probably others as well.

I've been using static blogging for about a year now, it's great. Fast, simple, miss nothing from Blogger or Posterous, don't know about Wordpress never used it, and all your content is stored in your own Github repository.


Commenting is a pretty big part of the blogging community. I'd hope it would be included in any blogging platform. But then again there are outside sources like disqus for comments so you can bolt that onto your posts if you feel inclined.


Static engines: * Do one thing _good_ (i.e. blog) * Fewer lines of code, which means: * Easier to maintain * Easier to read * Easier to customize using small chunks of raw code

Dynamic engines: * Do many things (i.e. having multiple authors, multiple formats, visual editors, plugins, etc.) * Many more (as in x^5) lines of code, which means: * * Harder to maintain * * Easier to use for _non programmers_ * * Easy to customize SOME things (apply a theme), HARD to customize the whole thing properly (you need to read huge chunks of code that might break if you change them) --

The above reasons make Wordpress pretty much insecure compared to a Static website (i.e. Jekyll engine like octopress). Of course you could have a bloated wordpress websites where all it's plugins are revised and secure while you could have a static website where it's running buggy JavaScript which reveals your IP to the NSA (random example pick) but the % of having a bug in a bigger (in terms of lines of code) app is way higher.


Can I get mathematical equations support, say with MathJax?


It's not built-in out of the box, so you gotta ask the developer about it. But you should be able to easily use it by adding the js files to your header.


Well I have never worked with MathJax but from the cursory glance it looks like all you need to do is add js files and you can do that in specter.


Just deployed it for an internal work blog (just happened to see this particular post at the right time), and I love new projects so I'll use it for awhile and see what I see.

Obviously it'd be "nice" to have some better contributor management, and instead of forcing me to manipulate the URL to do stuff it'd be "nice" to just click buttons, but frankly I don't care much about any of that.

Real feature request: Language specific syntax highlighting for the code bits. I'd like my snippets to come with highlighting as I explain stuff. JavaScript, Python, C, HTML to start, if you have to pick some languages. :)

Also I notice at the bottom of your blog an rrs and atom feed set of links. any plans on implementing that globally?


It is already built into specter. Use the urls

/feed/rss and /feed/atom

So all you got to do is add an anchor tag that points to these urls.

Settings can be set in the preferences file.

Regarding syntax highlighting...

Can you not use javascript libraries to do this? I have got no idea how to go about implementing this..


Ah, noticed the feed paths after I posted, thanks.

As for syntax highlighting yeah, I'm sure it's just a matter of a library, but you know, it's your project! Sometimes people are looking for stuff to add, just wanted to point out a place I'd find useful. :)


No problem man. I will look to add syntax highlighting by default in specter.

Anyway I updated the pages to have the feeds into them by default so it does not cause any confusion.


To the creator:

I'm sorry. My initial reaction to that was harsh and childish. I wish you the best of luck with your project, and if I can do anything to help please let me know.


Oh hey look, another low/no setup Markdown based "blog platform" that uses Shitstrap and has a mysterious name and a .io domain.

Ugh. I wonder how many more of these we'll see before the year's end.


If people keep making them, clearly existing solutions aren't quite getting it right, otherwise no one would bother.

> and a .io domain

And that's just Github's domain... Furthermore, Google is currently treating .io as a generic TLD. Considering the exhaustion of .com and .net addresses, is it any surprise that people have adopted another one en masse?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: