Giter VIP home page Giter VIP logo

ngeblog's Introduction

GitHub Actions Workflow Status License

Ngeblog

It helps you to quickly set up a simple Blogging System for your existing or brand-new Laravel application. Ngeblog provides a simple and elegant admin panel built with Vue and Daisy UI as a Modern SPA App.

Features

  • BlogPost with Tiptap Editor.
  • Tagging feature.
  • Dashboard.
  • Starter Page.
  • and more...

Screenshot

Preview of Dashboard page.

Ngeblog Screenshot

Preview of Starter page.

Ngeblog Screenshot

Installation

composer require antoniputra/ngeblog

Resolve the installation:

php artisan ngeblog:install

Configuration

After installation, by default will provide an admin panel at https://your-web.test/ngeblog and only available for authenticated user.

Follow below section to customize as you wish.

Change Admin Panel URL

Go to your .env and put new key value:

NGEBLOG_PATH='blog-admin-panel'

Protect Admin Panel

You can add your own protection logic like below:

// App/Providers/AppServiceProvider.php

Gate::define('accessNgeblogAdmin', function ($user) {
	return in_array($user->email, [
		// list of whitelisted emails...
	]);
});

Contributing Guide

I glad to see you here on this section. Whether you're a seasoned developer or new to open source, your participation is valuable. Let's collaborate and learn together! ๐Ÿš€

Follow the steps below to get started.

Back-end Dependencies:

  • Laravel 11
  • Pest, Testbench

Front-end Dependencies:

  • Vue 3 & VueRouter (script-setup)
  • Tailwind & DaisyUI.
  • Tiptap Editor, HeadlessUI, VueUse, FloatingUI.

Steps to Contribute:

  1. Fork and clone the repo, then navigate to the project folder.
  2. Install dependencies: composer install & npm install.
  3. Run the app: composer serve.

Asset Building:

  • For development (rebuilds on save):
    npm run watch
  • Before pushing code (minified version):
    npm run build

Credits

License

Ngeblog is open-sourced software licensed under the MIT license.

Built with love by @antoni_putra12 and made better by you.

ngeblog's People

Contributors

antoniputra avatar arryanggaputra avatar nafiesl avatar yusupp11maulana avatar

Stargazers

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

Watchers

 avatar  avatar

ngeblog's Issues

Artisan file tidak ditemukan

Saya menginstall sesuai cara namun namanya bukan ngeblog tp berubah jadi vendor dan tidak ditemukan artisan file

Tombol delete tidak bekerja

Terima kasih sudah bikin paket ini, mas Antoni. Saya sudah mencoba paket ini dan sudah jalan baik. Tapi ada sedikit problem saat kita mau hapus item blog dan item kategori.

Ketika kita klik tombol Hapus, munculnya hanya halaman blank. Setelah dicek, ternyata actionnya masuknya ke controller BlogsController@show, bukan ke BlogsController@destroy.

Sehingga recordnya tidak terhapus dari database.

Terima kasih.

shutter_20171206-008

Cannot create blog post with same Title

In every blogging platform, we able to create multiple post with duplication blog title, unfortunately this feature is not implemented now.

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'lorem-ipsum' for key 'ngeblog_blogs_slug_unique' (SQL: insert into `ngeblog_blogs` (`title`, `category_id`, `status`, `editor_type`, `content`, `user_id`, `slug`, `updated_at`, `created_at`) values (lorem ipsum, 1, publish, quill, <p>asdfasd asdf asdf asdf</p>, 0, generate-tahanan-lebih-dari-81-hari, 2017-12-10 01:50:59, 2017-12-10 01:50:59))

Maybe we can add some random unique number when generate the slug value, like this ๐Ÿ‘

// src/Repositories/BlogRepository.php
$model->slug = str_random(5).'-'.str_slug($data['title']);
//or
$model->slug = time().'-'.str_slug($data['title']);

interface link error

ngeblog's interface doesn't work and the buttons function. although I have checked the paths. can you help me
image
image

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.