Coder Social home page Coder Social logo

bludit / bludit Goto Github PK

View Code? Open in Web Editor NEW
1.2K 75.0 286.0 35.28 MB

Simple, Fast, Secure, Flat-File CMS

Home Page: https://www.bludit.com

License: MIT License

PHP 43.04% CSS 0.99% JavaScript 55.96%
bludit php cms blog-engine blog flat-file json theme plugins website

bludit's Introduction

Bludit the Simple, Fast, and Flexible CMS.

With Bludit, you can build your own website or blog in just seconds. It’s completely free, open-source, and easy to use. Bludit stores content in JSON format, eliminating the need for database installation or configuration. All you need is a web server with PHP support.

As a Flat-File CMS, Bludit offers unparalleled flexibility and speed. Plus, with support for both Markdown and HTML code, creating and managing content has never been easier.

Resources

Requirements

  • Webserver with PHP support.
  • PHP v5.6 or higher version.
  • PHP mbstring module for full UTF-8 support.
  • PHP gd module for image processing.
  • PHP dom module for DOM manipulation.
  • PHP json module for JSON manipulation.

Installation

  1. Download the latest version from the official page: Bludit.com
  2. Extract the zip file into a directory, such as bludit.
  3. Upload the bludit directory to your web server or hosting.
  4. Visit your domain (e.g., https://example.com/bludit/).
  5. Follow the Bludit Installer to set up your website.

Quick installation for testing

You can use PHP Built-in web server (php -S localhost:8000) or Docker image

Support Bludit

Bludit is open-source and free to use, but if you find the project useful and would like to support its development, you can contribute on Patreon. As a token of our appreciation, supporters will receive Bludit PRO.

If you prefer, you can also make a one-time donation to buy us a coffee or beer. Every contribution helps us continue to improve Bludit and provide the best possible experience for our users.

  • PayPal
  • BTC (Network BTC): bc1qtets5pdj73uyysjpegfh2gar4pfywra4rglcph
  • ETH (Network ETH): 0x0d7D58D848aA5f175D75Ce4bC746bAC107f331b7

License

Bludit is open source software licensed under the MIT license.

bludit's People

Contributors

18jaguar18 avatar abdtif avatar abdulhalim avatar abrahamariel avatar adtc avatar alexandreteles avatar alexonweb avatar ali-demirtas avatar clickwork-git avatar cydgoblin avatar davede-git avatar devprodest avatar dignajar avatar ethan42411 avatar fastbyte01 avatar ffahri avatar floppy0 avatar fred89 avatar hide-me avatar hxii avatar jadeops avatar janxb avatar ltguillaume avatar metaskop avatar moritzbrueckner avatar mrresc avatar nogajun avatar vait avatar vorons avatar xm74 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bludit's Issues

Installation Error

I get this error whilst performing a fresh install. Any Ideas?

Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID '' is invalid in /home/meganlou/public_html/blog/kernel/dbsite.class.php on line 252

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [datetime.--construct]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'AWST/8.0/no DST' instead' in /home/meganlou/public_html/blog/kernel/helpers/date.class.php:14 Stack trace: #0 /home/meganlou/public_html/blog/kernel/helpers/date.class.php(14): DateTime->__construct() #1 /home/meganlou/public_html/blog/kernel/dbposts.class.php(388): Date::current('Y-m-d H:i:s') #2 /home/meganlou/public_html/blog/kernel/boot/rules/70.posts.php(122): dbPosts->regenerateCli() #3 /home/meganlou/public_html/blog/kernel/boot/site.php(4): include('/home/meganlou/...') #4 /home/meganlou/public_html/blog/index.php(39): require('/home/meganlou/...') #5 {main} thrown in /home/meganlou/public_html/blog/kernel/helpers/date.class.php on line 14

Error after updating from v0.6.2 to v0.7 beta 1

Copied the content dir as usual from the older release to the newer release and set the right permissions.
Error on all pages.

Fatal error: Call to a member function format() on a non-object in /var/www/html/blog/kernel/helpers/date.class.php on line 30

Admin CP page is 404'd

Upon installation we are pointed to /admin which seems to be missing or fails to rewrite its path.
If any changes are to be made the user has to access /admin/dashboard.

Warning & notice

Strict Standards: Declaration of dbUsers::get() should be compatible with dbJSON::get() in /sites/projects/bludit/kernel/dbusers.class.php on line 146

Strict Standards: Declaration of dbLanguage::get() should be compatible with dbJSON::get() in /sites/projects/bludit/kernel/dblanguage.class.php on line 91

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /sites/projects/bludit/kernel/dbusers.class.php:146) in /sites/projects/bludit/kernel/helpers/session.class.php on line 39

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /sites/projects/bludit/kernel/dbusers.class.php:146) in /sites/projects/bludit/kernel/helpers/session.class.php on line 39

admin not accessible on nginx

Bludit v0.2
Stable version.
Release date: 2015-09-21

rewrite rule not working

charset utf-8;
location ~ ^/content/(.).(txt)$ {
}
location / {
if (!-e $request_filename){
rewrite ^/(.
) /index.php break;
}
}

this nginx rewrite rule works

try_files $uri $uri/ /index.php?$args;

but login and daschboard access only
/admin/login
/admin/dashboard

Image Selection not working anymore

I don't get it. I'm on windows - Using Apache. So far everything worked fine.

Until recently selecting an image was the easiest thing ever.
Now the old "add image to article" button is gone. Why?

Profile image upload

Uploading the profile image (using php -S localhost:80) does currently not work.

Bludit tries to access the folder: content\uploads\profiles which does not exist.
After creating the folder I can upload the image.

Is there a template yet that displays the profile image?

Issues with running bludit locally

I have been facing issues while trying to run bludit on localhost. It seems to be something to do with the .htaccess file as commenting out "RewriteEngine on" allows the folder to be accessed but nothing else can be done even with "rewrite_module" enabled.

Tested on the following:

  • WAMP
  • Uniform Server Z
  • XAMPP

TinyMCE does not work with polish interface

Hi,

TinyMCE does not show form for posts and pages in polish interface. I used validator for json files but it did not find any errors. That is weird because editor works fine with english or other language(s).

Pagination missing (tags)

When using tags only the number of posts set in "Posts per page" ("Settings" > "Advanced settings") is shown.

localhost:8000 admin page

hi,

whenever i try accessing the bludit admin panel with http://localhost:8000/admin/ it says the page cannot be found. however if i add "core" http://localhost:8000/core/admin it goes to the login page but you cannot login. i've got mod_rewrite activated so this should not be the problem.

i'm running bludit on osx with php -S localhost:8000

i've tried to find the problem but was not able so far. i've also placed bludit on my server where it runs perfectly. so it's just on my local machine

Google cuts title

I encountered a strange problem (not sure if it is Bludit related): Google cuts a title when using ". I cannot see any problem with the format of the title.

2015-12-23 00_08_21-bludit - google-suche

Browser detection in install don't work

I Diego, the detection is broken in select lang page,
I tried with this

// Try to detect language from HTTP
$locale = Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);
$localeFromHTTP = $locale;

But is the same, return only 2 letter (en) and not en_US
In a older bludit version i found the correct code.

Error after updating.

Updated from 0.5 to 0.6.1
I downloaded a fresh copy of 0.6.1 and copied the content dir from 0.5 to 0.6.1

In Settings -> Language and timezone, this error is shown.

Notice: Undefined index: language-data in /var/www/html/blog/kernel/dblanguage.class.php on line 98

Line 98 has the following just for reference.

$native = $t->db['language-data']['native'];

Feature request: Autosave

While writing a post/page, the input should be saved to drafts at frequent intervals to prevent data loss if in case the browser crashes/user mistakenly closes the tab/browser.

Would be very useful. I lost an article I typed for an hour by mistakenly closing the tab.

index.php in url gives an error

If you have a url like:

https://www.nstuts.net/index.php

the system gives an error page but if you remove the index.php from url, the system is going to home page.

If I have index.php in url, like above, it should automatically go to home page.

Admin URL must end with /

Not sure, but guess this is a small bug.

When trying to access the admin panel, the URL must be something like this: www.example.com/admin/ but when trying to access it with: www.example.com/admin it gives you 404 error.

Shouldn't both options be valid? Both ending with a slash and without it?

Add Folder Permissions For Github Version [Feature Request]

For those of us downloading or cloning the Github version why not add proper folder permissions to mirror bludit.com's official download version. In my personal experience i have to manually change folder and subfolder permissions to access bludit-master on my localhost.

find path/to/bludit-master -type d -exec chmod 755 {} \;

For content/ folder

chmod 777 content

Feature request: Contact-Form

I checked to realise a plugin for contact form but I don't think this is posible yet because a plugin cannot open a page.
But I think this feature would be very useful.

Pages sort

zrzut ekranu 8

Please take a look at that screen. It seems like pages do not sort properly when they have child.

"Advanced":

IN the lang file on row 45 "Advanced": should be written as "advanced":
This is how its used in the code otherwise translation will not work

Errors after move

Hi

I pushed my website from localhost to real server and after my web browser shows me:

Warning: require(__DIR__/kernel/boot/init.php) [function.require]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/index.php on line 31

Warning: require(__DIR__/kernel/boot/init.php) [function.require]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/index.php on line 31

Warning: require(__DIR__/kernel/boot/init.php) [function.require]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/index.php on line 31

Fatal error: require() [function.require]: Failed opening required '__DIR__/kernel/boot/init.php' (include_path='.') in /home/dstawick/public_html/winholic.org/index.php on line 31

I tried also make fresh installation but it gave me:


Warning: include(__DIR__/kernel/helpers/sanitize.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 64

Warning: include(__DIR__/kernel/helpers/sanitize.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 64

Warning: include(__DIR__/kernel/helpers/sanitize.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 64

Warning: include() [function.include]: Failed opening '__DIR__/kernel/helpers/sanitize.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 64

Warning: include(__DIR__/kernel/helpers/valid.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 65

Warning: include(__DIR__/kernel/helpers/valid.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 65

Warning: include(__DIR__/kernel/helpers/valid.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 65

Warning: include() [function.include]: Failed opening '__DIR__/kernel/helpers/valid.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 65

Warning: include(__DIR__/kernel/helpers/text.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 66

Warning: include(__DIR__/kernel/helpers/text.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 66

Warning: include(__DIR__/kernel/helpers/text.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 66

Warning: include() [function.include]: Failed opening '__DIR__/kernel/helpers/text.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 66

Warning: include(__DIR__/kernel/abstract/dbjson.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 67

Warning: include(__DIR__/kernel/abstract/dbjson.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 67

Warning: include(__DIR__/kernel/abstract/dbjson.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 67

Warning: include() [function.include]: Failed opening '__DIR__/kernel/abstract/dbjson.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 67

Warning: include(__DIR__/kernel/dblanguage.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 68

Warning: include(__DIR__/kernel/dblanguage.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 68

Warning: include(__DIR__/kernel/dblanguage.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 68

Warning: include() [function.include]: Failed opening '__DIR__/kernel/dblanguage.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 68

Warning: include(__DIR__/kernel/helpers/log.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 69

Warning: include(__DIR__/kernel/helpers/log.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 69

Warning: include(__DIR__/kernel/helpers/log.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 69

Warning: include() [function.include]: Failed opening '__DIR__/kernel/helpers/log.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 69

Warning: include(__DIR__/kernel/helpers/date.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 70

Warning: include(__DIR__/kernel/helpers/date.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 70

Warning: include(__DIR__/kernel/helpers/date.class.php) [function.include]: failed to open stream: No such file or directory in /home/dstawick/public_html/winholic.org/bludit/install.php on line 70

Warning: include() [function.include]: Failed opening '__DIR__/kernel/helpers/date.class.php' for inclusion (include_path='.') in /home/dstawick/public_html/winholic.org/bludit/install.php on line 70

Fatal error: Class 'dbLanguage' not found in /home/dstawick/public_html/winholic.org/bludit/install.php on line 82

My PHP version is 5.4.24

Small issue with pretty URL

Pretty URL cannot be "plugins". This gives an error message.

It happens if there is no parent page. If there is a parent page it works.

Position mainpage

If the mainpage (home) is not created as the first page, the position has to be 0 to be shown on top of the navigation in the sidebar (plugin Pages).

RSS

does it has this function or are the re plan for it in the near feature?

Posts: Problem withe date

When editing a post the "Published date" changes to the date of the editing (if it's not set manually) and the order of the posts changes. This is a little bit confusing.

Bug with Page + plugin use Hook pageEnd

Diego, with your new push a bug is arrived:

Warning: implode() [function.implode]: Invalid arguments passed in /home/u680092465/public_html/kernel/page.class.php on line 68

If a plugin use Hook pageEnd.

For fix this, i edit the class.page.php line 58 and i replace this

if($returnsArray) {

by

if(!is_array($returnsArray)) {

Same problem and fix in Warning: implode(): Invalid arguments passed in post.class.php on line 130

Small Issues

1. Posts

Once a new post has been created the title is linked incorrectly. Trying to take you to //post/first-post for example:
<a class="ptitle" href="//post/first-post">First post</a>

2. Language Files

The current English language file is named en_EN.json, to use the correct locale it should become either en_US.json or en_GB.json

3. Regional > Locale

Currently the setting is en_EN Facebook debugger throws an error while trying to define it as it isn't a correct Locale option, I recommend it gets changed to a default state of en_US or en_GB.

Post titles in url + tag system

Hi Diego, loving bludit so far. Have it implemented on my site here - http://patrickbollenbach.me/blog/post/empty

As you can see in the url, the post title is labeled as "empty", the next post is called "empty_0" and so on. Not sure if you have this on your todo list, just thought I'd let you know!

Also, I don't seem to have any way of tagging my posts. Am I missing something here or is that just not fully implemented yet?

Cheers Diego, I will be having a look at the source code tomorrow afternoon to see if I can push anything useful.

Search function

A good search function is what I miss most so far.
Without the option to look for a specific entry searchin lots of posts is exhausting.

Problems with pages

There are sometimes pages that can only be saved, but there are no more buttons "Delete" and "Cancel". Also they cannot be assigned to a parent page.

Further assigning a page to a parent sometimes fails, after this the page also shows without the buttons "Delete" and "Cancel", and it can no more be assigned to a parent page.

No idea when this happens.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.