Git Product home page Git Product logo

wblog's Introduction

WBlog

Build Status Maintainability Test Coverage

The missing open source blog system on Ruby on Rails 6.1.

WBlog is open source blog which built for mobile first, it's licenced on MIT, use it for free!

New: WBlog is using Ruby on Rails 6.1 now.

中文说明文档

Characteristic:

  • Modern clean reading feelings
  • Markdown support, give nice formatted articles
  • Mobile first, responsive page for iPhone, iPad, iMac.
  • Independent comment system, subscribe system, picture manage system

A real example comes from my own blog( Chinese ): https://yafeilee.com

Some screenshots

System dependencies

  • Ruby ( >= 3.0.1 )
  • Postgresql ( >= 9.x )
  • Nginx ( >= 1.4 )

Features

  • Responsive, iPhone, iPad, Notebook, PC, all are supported
  • QR Code, Like button make your article easily sharing with your friends
  • Inpendent comment system, subscribe system, that all belong to you
  • Markdown supported, code highlight, especially for programmer, like you
  • Personalize it, commercialize it, it all depends on you

Goal

Make it to the best Ruby on Rails Blog system in the world.

Running in development mode

WBlog MUST run in Linux or OSX. I assume you are using OS X 10.

You can run it like a Ruby on Rails project as usual:

  1. Check dependencies
ruby -v
# 3.0.1
postgres  --version
# 9.x.x
  1. Clone it

git clone [email protected]:windy/wblog.git

cd wblog

  1. Install dependencies & configure
gem install bundler
bundle install
cp config/application.yml.example config/application.yml
cp config/database.yml.example config/database.yml

Update application.yml & database.yml 's content as you need

  1. Start it
rails s

Open browser with http://localhost:3000

If there is any error found, please check your database's user and password.

  1. Post the first blog

visit: http://localhost:3000/admin, input your username and password configurated in application.yml. then, post a new article.

OK, That's all.

Deployment

WBlog uses mina as automation deployment tool, uses puma as the Rack container.

WBlog recommends nginx as reverse proxy server.

It will be very fast.

Ruby on Rails project deployment is another topic, I would NOT talk it here.

You can read WBlog wiki for more information: WBlog 的发布流程(Chinese only now)

Stack

  • Ruby on Rails 6.1
  • Ruby 3.0.1
  • Turbo
  • Bootstrap 4
  • mina
  • slim
  • puma
  • Postgresql

Related open source blog systems

License

MIT.

Screenshots

Home Page:

screenshot home

Home Page for mobile:

screenshot home small

Home Page Hover Status for mobile:

screenshot home hover

Blog Show Page:

screenshot post

Blog Show Page Hover Status:

screenshot post hover

Admin Login Page:

screenshot admin

Admin Dashboard Page:

screenshot admin

Admin New Blog Page:

screenshot admin

Admin Blogs Manage Page:

screenshot admin

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.