m1k1o / blog Goto Github PK
View Code? Open in Web Editor NEWLightweight self-hosted facebook-styled PHP blog.
Home Page: https://blog.m1k1o.net
License: GNU General Public License v3.0
Lightweight self-hosted facebook-styled PHP blog.
Home Page: https://blog.m1k1o.net
License: GNU General Public License v3.0
Mobile photos are posting sideways. Seems to be a common thing for blogs and posting from your phone. If you can fix that you have a winner!
When i click on the demo blog in the readme it shows a 404 page not found error
This blogging system would be perfect for hosting on a Raspberry Pi (4).
I tried it, but doesn't work.
my docker-compose.yml
version: "3"
services:
webserver:
image: m1k1o/blog:latest
container_name: blog_apache
environment:
TZ: Asia/Taipei
BLOG_DB_CONNECTION: mysql
BLOG_MYSQL_HOST: mariadb
BLOG_MYSQL_PORT: 3306
BLOG_MYSQL_USER: blog
BLOG_MYSQL_PASS: blog
BLOG_DB_NAME: blog
BLOG_NICK: blog
BLOG_PASS: blog
restart: unless-stopped
ports:
- 82:80
volumes:
- ./data:/var/www/html/data
mariadb:
image: mariadb:10.1
container_name: blog_mariadb
environment:
MYSQL_USER: blog
MYSQL_PASSWORD: blog
MYSQL_DATABASE: blog
MYSQL_ROOT_PASSWORD: root
restart: unless-stopped
volumes:
- mariadb:/var/lib/mysql
- ./app/db/mysql:/docker-entrypoint-initdb.d:ro
volumes:
mariadb:
I could login , but can not post anything
error message
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blog.posts' doesn't exist
any suggestions ?
Hi.
Sorry for posting here.
I would like to ask is there upcoming changelogs like below:
Features request:
Create Dockerfile
or/and docker-compose
. Support Docker plug'n'play.
Bugs
z-index
./data
is not working as expected.parse_link
requesting from non-residental IPs, it could fail to get proper content. Maybe is problem with user_agent
Enhancements
parse_link
should be saved.youtube-dl
for storing videos, should be as option)src
directory.New user trying to set things up here. Just set up the docker-compose using postgres. When opening the webpage, I get the error "SQLSTATE[08006] [7] invalid connection option "unix_socket"" as a red popup in the bottom left. I can log in, but I can't post.
If you need more information, let me know! I could give you my folder structure, docker-compose, or the logs from either container if necessary. I just want to make sure if this is something wrong on my end or not, I'm getting more used to docker but I'm not great with linux :s
Pokiaľ vznikne chyba počas behu skriptu, nieje nijak odchytená, a zobrazí sa v Ajaxe. Tým pádom už nieje výstup ajaxu platný JSON.
It's almost 8 years since initial release of this project, and there are some reasons why this project might be outdated in the current context. Although it is still fully functional and well satisfies the initial usecase, the times have changed and following features would be raelly beneficial for at least the upcomming decade to keep this project alive (sorted by importance):
Having implemented at least the first 4 points would be considered that this project is not outdated.
After editing long text, view more appers twice.
Thanks for this great pice of software. It's pretty much perfect for my little blog, but I have three questions.
This is in no way a change request, just questions if it's easily achievable, or maybe it already possible and I just don't know it.
url.com/sort=reverse
, the link then should be located in the cover (head-banner).Thx a lot!
Hey I'm losing my mind trying to figure out how to set dark mode. I've tried "theme02-dark" since thats the filename of the dark screenshot but have had no luck.
I know there are a lot of BBCode cheatsheets out there, but is there any documentation for what does/doesn't work within Blog?
For example, [b]Bold[/b], [i]Italicize[/i], and [u]Underline[/u] work, but not [s]Strike-through[/s] or any of the list formats I've seen, such as:
[list]
[*] Item A
[*] Item B
[*] Item C
[/list]
EDIT: If it's not clear, I'm not asking you to add in more features- I just want to know if there's documentation for the BBcode that we already have. Thanks!
How to set the default privacy mode to for example public.
I will only post public posts and it would be handy if the privacy settings persist or is change able
Currently, HEIC images are not supported. They should be supported, and converted to JPEG on upload.
Since the time zone cannot be specified anywhere, the wrong time zone is always saved when writing a post. In my case two hours early.
Duplicate of https://github.com/m1k1o/blog/issues/28
Config:
version: "3"
services:
webserver:
image: m1k1o/blog:latest
container_name: blog_apache
environment:
TZ: Europe/Moscow
BLOG_DB_CONNECTION: mysql
BLOG_MYSQL_HOST: mariadb
BLOG_MYSQL_PORT: 3306
BLOG_MYSQL_USER: blog
BLOG_MYSQL_PASS: blog # use secure password
BLOG_DB_NAME: blog
restart: unless-stopped
ports:
- 9999:80
volumes:
- ${DATA-./data}:/var/www/html/data
mariadb:
image: mariadb:10.1
container_name: blog_mariadb
environment:
MYSQL_USER: blog
MYSQL_PASSWORD: blog # use secure password
MYSQL_DATABASE: blog
MYSQL_ROOT_PASSWORD: root # use secure password
restart: unless-stopped
volumes:
- mariadb:/var/lib/mysql
- ./app/db/mysql:/docker-entrypoint-initdb.d:ro
volumes:
mariadb:
Running standard docker-compose.yaml on Synology NAS Docker.
Error and restarting [:crit] [pid 1] (38)Function not implemented: AH00141: Could not initialize random number generator
Not starting. Tried with different credentials.
I used:
version: "3"
services:
blog:
image: m1k1o/blog:latest
restart: unless-stopped
environment:
TZ: Europe/Zurich
BLOG_TITLE: MyName
BLOG_NAME: user
BLOG_NICK: nick
BLOG_PASS: password
BLOG_LANG: en
ports:
- 8033:80
volumes:
- /volume1/docker/blog/data:/var/www/html/data
Hello. I'm Korean. (S.Korea)
Sorry for posting here ...
I would like to ask is there upcoming changelogs like below :
Features request :
Please ... ( T-T )
Hello.
I have Truenas Scale and when I install this app, I can't do anything
when I open app, error >
SQLSTABLE[42P01]: Undefined tanle: 7 error: relation "post" does not exist LINE 5: FROM "posts"
when I tried to post > SQLSTABLE[42P01]: Undefined tanle: 7 error: relation "post" does not exist LINE 1: INSERT INTO "posts" ("text", "plain_text", "feeling", "perso...
can you help me? I tried dataset with permisions on www-data, root, apps, even me and nothing working.
Hello! Thanks for your job the blog is nice! Could you add support of PostgreSQL?
Hi,
I'm running blog in docker with sqlite.
Is there a way to change the favicon? Didn't find anything in the config.ini.
Thanks a lot!
I can see the page but on other devices I get "403 - Forbidden: Access is Denied. You do not have permission to view this directory or page." Guessing there's a setting somewhere to allow access to it?
Hey there! I hope you're well!
I've updated the latest image and I have had a problem. The button login has been lost, also I can't see my posts. Screenshot here - https://ibb.co/y03GRL3
The browser console is empty, has no errors. I see no errors in my logs too.
Any ideas?
There won't be collected metadata about youtube videos:
Youtube must have changed something, because open.spotify.com works.
Hello again!
I've deployed your blog in Kube with my own Postgres it works fine! Thanks! But it has a problem with tags
SQLSTATE[42P18]: Indeterminate datatype: 7 ERROR: could not determine data type of parameter $1
The same bad issue with location :(
It would be more useful if you put video installation and explanation.
sqlite is used by default, But it still shows the error
If there is something admin wants to show to its viewers always (eg.: public login username and password), regardless of what kind of stuff the user puts there after, a pin would come in handy.
I don't understand after reading the readme how it determines who is friend vs who is public.
Please document what you mean by this and how we control who friends are.
Add SQLite support, so this can be installed out of the box, without need for DB container. Ideal for small blogs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.