Giter VIP home page Giter VIP logo

pico_edit's Introduction

PROJECT UNMAINTAINED

This project is not maintained anymore

THIS FORK: modified for latest (2.1) Pico, plus...


Pico edit - An admin interface for Pico CMS

A small Back-end for Pico CMS.

Install

  1. Clone the Github repo into your 'plugins' directory (so you get a 'pico_edit' subdirectory) OR extract the zip into your 'plugins' directory (and rename the new directory to 'pico_edit')
  2. Open the Pico config.php file and insert your sha256 hashed password
  3. Visit http://www.yoursite.com/pico_edit and login

If pages editing doesn't work check file/dir permissions of 'content' folder.

About

Pico Edit provides a back-end interface to edit Pico pages. Additionally, it has the ability to perform some basic Git operations such as commit, push/pull etc.

Features:

  • Simple and clean interface

  • Page create/edit/delete

  • Markdown preview (top right icon in the editor)

  • Edit 404 page (aka "page not found")

  • Edit Pico options

Options (include in "config/config.yml", or add "config/custom.yml"):

##
# Pico_Edit settings
#
pico_edit_404: true
pico_edit_options: false        # Disallow options editing
pico_edit_default_author: Me    # Default author for new pages

Screenshot

Editing Pico options

To override a string option simply write a line with: theme = default

To override a boolean option use: my_option ! true

Other types of options are not supported.

Git functions

The general use-case is for one or more content editors to have a Git repo cloned onto their laptops. They can then go ahead and create or edit content, saving it to their local machine as required. When they're happy, they can commit to their local Git repo. How they publish the content is up to the administrator, but one method is to have a post-update hook on the Git server that publishes the content into the DocumentRoot of the webserver(s). Obviously, editors can Git-pull the changes other editors have made to their local machines so that they stay up to date. Depending on how you set things up, it's possible editors could even edit pages directly on the public website (and commit those to the Git repo from there).

Git features are only shown in the editor UI if the server has a Git binary available, and the content is in a Git repo. Push/pull functions are only available if the repo has one or more remote servers configured into it.

History

  • Pico Edit is a fork + modifications of Peeked. It contains minor improvements and some new feature like ability to edit 404 page and Pico options.

  • Peeked is a fork + modifications of the Pico Editor, written by Gilbert Pellegrom. It contains a few bug fixes and some functional changes, most particularly the addition of some Git capabilities.


My website: https://blocknot.es/

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.