Live data from Hacker News

Ospari: PHP based Blogging software that can use Ghost themes

github.com

21–29 of 29 posts

Re: Ospari: PHP based Blogging software that can use Ghost themes

#22

Earlier quoted context omitted.

You are right. The application does not belong to public folder. My goal is to make installation as easy as possible. Just copy the code and start to blog. Another reason is, that you can't easily run the application in subdirectory for example /blog/ if put the application code behind public folder. Composer is a good Idea, but with first version we wanted to deliver one single package for the end users. We would us…

If you absolutely cannot separate out the public portion of the application from the core -- which should be possible because even the worst shared hosts allow for folders above public_html -- then you'll need to use a PHP solution for protection the files. For example if you define a constant in index.php and then check for that constant in included files you can prevent access, eg: defined('BASEPATH') OR exit('No d…

You are right again. But I will complicate the installation. The PHP files are secure, they are classes ore arrays. if you execute them nothing happens. We have an .htaccess file in core applications folder. The .htacces file rejects all requests.

We would provide security tips also for nginx users. Just to repeat all files except index.php are classes ore arrays and and they don't execute any code.

Re: Ospari: PHP based Blogging software that can use Ghost themes

#23

Earlier quoted context omitted.

Tests would be good, too.

WordPress is doing pretty well with no tests!

WP has tests, they are not perfect but they exist.

http://unit-tests.svn.wordpress.org/trunk/ https://github.com/10up/wp_mock

Re: Ospari: PHP based Blogging software that can use Ghost themes

#24
post #17

Earlier quoted context omitted.

While not quite the same as having FTP access Ghost do offer hosted blogs from only $5 per month. Anyone that can set up a WordPress.com blog should find Ghost just as easy.

Ok, but not everyone can pay Ghost hosting plan, since "$" is not the default and official currency in every country.

The Ghost Foundation is a UK organisation and I can assure you that USD is not the default currency here. If they're willing to make the effort to accept USD, I'm sure there are plenty of bloggers able to make the effort to pay using it.

Regardless, USD is the de facto standard for SAAS payments (whether this is good or bad is a discussion for another time). If you can't pay in USD then you'll find a substantial proportion of services unavailable to you.

Re: Ospari: PHP based Blogging software that can use Ghost themes

#25

Earlier quoted context omitted.

Tests would be good, too.

WordPress is doing pretty well with no tests!

Wordpress has zillion of tests.WP real problem is its architecture but since its authors want to support legacy PHP versions it's not going to change.

Re: Ospari: PHP based Blogging software that can use Ghost themes

#26

Somebody explain why this is necessary. Ghost is open source. Why not just uses Ghost? It also uses Ghost themes.

I'm not sure if you're aware of it, but this is an example of toxic feedback - that's a comment of worse-than-neutral value for both the person who made something and the quality of the thread.

There are lots of reasons to make a piece of software. Necessity is only a part of it, but even arguing from the position of an effort being unnecessary is short-sighted at best and belligerent at worst. People will make software even though similar offerings exist in the same space, and for the most part that's a good thing.

Re: Ospari: PHP based Blogging software that can use Ghost themes

#27
post #26

Somebody explain why this is necessary. Ghost is open source. Why not just uses Ghost? It also uses Ghost themes.

I'm not sure if you're aware of it, but this is an example of toxic feedback - that's a comment of worse-than-neutral value for both the person who made something and the quality of the thread. There are lots of reasons to make a piece of software. Necessity is only a part of it, but even arguing from the position of an effort being unnecessary is short-sighted at best and belligerent at worst. People will make softw…

I'm just genuinely curious. And the commenters here have come through with good answers. I think some explanations like this need to end up on the project's site and GitHub page now. I think there's a lot of value in this. I think saying "Ghost is a pain to run yourself but this is easy" is all that needs to be said to answer questions like mine.

Re: Ospari: PHP based Blogging software that can use Ghost themes

#28
post #26

Earlier quoted context omitted.

I'm not sure if you're aware of it, but this is an example of toxic feedback - that's a comment of worse-than-neutral value for both the person who made something and the quality of the thread. There are lots of reasons to make a piece of software. Necessity is only a part of it, but even arguing from the position of an effort being unnecessary is short-sighted at best and belligerent at worst. People will make softw…

I'm just genuinely curious. And the commenters here have come through with good answers. I think some explanations like this need to end up on the project's site and GitHub page now. I think there's a lot of value in this. I think saying "Ghost is a pain to run yourself but this is easy" is all that needs to be said to answer questions like mine.

It's difficult to judge intent on the internet - especially on a site that has a big international audience - so I apologize if I misunderstood your comment. The way it's been formulated suggested to me it's somehow not feasible to make this software. And we're doing this too often to people who come here to show their projects. We criticize their choice of programming language, their programming style, the validity of their ideas, and the audacity to even try to make something when there are obviously so many better alternatives already on the market. Your comment sounded to me like it was going to be one of those. Again, sorry for misunderstanding.

Re: Ospari: PHP based Blogging software that can use Ghost themes

#29
post #28

Earlier quoted context omitted.

I'm just genuinely curious. And the commenters here have come through with good answers. I think some explanations like this need to end up on the project's site and GitHub page now. I think there's a lot of value in this. I think saying "Ghost is a pain to run yourself but this is easy" is all that needs to be said to answer questions like mine.

It's difficult to judge intent on the internet - especially on a site that has a big international audience - so I apologize if I misunderstood your comment. The way it's been formulated suggested to me it's somehow not feasible to make this software. And we're doing this too often to people who come here to show their projects. We criticize their choice of programming language, their programming style, the validity…

It's all good. I just wish that more of the READMEs out there would answer a few questions like "what is this", "why did you make it", and "who is it for".

There are no wrong answers to these questions. "my pet project", "i was bored", and "just for myself" are just as valid as "the greatest piece of software ever", "because everything else sucks and I can do it better", and "COBOL experts only". It just always helps to be clear.

Post reply on HN