• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    PHP
  • License
    GNU Affero Genera...
  • Created about 7 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ—ƒ Integrate Pico CMS and let your users manage their own websites

Pico CMS for Nextcloud

License: AGPL v3 Latest Release Build Status Scrutinizer Code Quality

About

Pico CMS for Nextcloud combines the power of Pico and Nextcloud to create simple, secure, shareable and amazingly powerful websites with just a few clicks. Pico is a stupidly simple, blazing fast, flat file CMS - making the web easy!

  • ๐Ÿ““ Start a blog
  • ๐Ÿš€ Share your resume with the world
  • ๐Ÿ˜ˆ Create a plan for world domination and only share with the right friends
  • :neckbeard: Build a knowledge base and let the smart ones among your colleagues help out

Installing Pico CMS for Nextcloud allows your users to create and manage their own websites. Creating a new page with Pico is no more than creating a simple text file in a users' Nextcloud files. No config is required, no utterly complex management interfaces - just files. It's the perfect match with Nextcloud. Secure Sharing, Collaboration, Access Control - not just for your files, but also your websites, all made possible by Pico CMS for Nextcloud! Breaking the boundaries between your Mobile & Desktop devices and your Server.

Websites will be accessible through URLs like https://cloud.example.com/sites/my_site/ and consist of just a bunch of .md text files in a user's Nextcloud files. .md stands for Markdown - a super simple and intuitive markup to create headings, paragraphs, text formatting, lists, images and links. But don't despair - you don't have to learn yet another language if you don't want to. Consider enabling Nextcloud's Markdown Editor app to make easy things stupidly simple. Please note that Nextcloud's built-in Text editor is incompatible with Pico CMS for Nextcloud. But what about meta data like a page's title or release date? Guess right, it's all in one place. At the top of your Markdown files you can place a block with such meta data - called the YAML Front Matter. Creating websites can't be easierโ€ฆ

But that wasn't everythingโ€ฆ Pico CMS for Nextcloud is highly customizable. You can change Picoโ€™s appearance by using custom themes and add new functionality by using custom plugins. For security reasons users can neither add custom themes nor plugins on their own - but as an admin you can. Plugins and themes arenโ€™t just new "skins" or "widgets", the underlying technologies are powerful frameworks you can leverage to make your users' websites truly unique. However, with great power comes great responsibility. Pico CMS for Nextcloud does its best to prevent users from including scripts into websites, since this might bear security risks (so called "Cross Scripting"). Since this risk doesn't apply to Pico itself, 3rd-party developers of plugins and themes might not be aware of this issue - so be careful when installing custom plugins and themes.

You want to learn more about Pico CMS for Nextcloud? Easy! Just download and enable the app from Nextcloud's App Store and navigate to Nextcloud's settings page. As an admin you'll find two "Pico CMS" sections in your Nextcloud settings - one below "Personal", another below "Administration". The latter allows you to add custom themes, plugins and templates to Pico, as well as tweaking some advanced settings. The "Pico CMS" section below "Personal" exists for all Nextcloud users and allows one to create personal websites. Simply create your first personal website and choose "sample_pico" as website template. Pico's sample contents will explain all you need to knowโ€ฆ ๐Ÿ‘‹

Installation

App Store

Pico CMS for Nextcloud can be found in Nextcloud's App Store. Installing the app using the app store is super easy: Simply navigate to the Apps management page of your Nextcloud and either search for "Pico CMS" or check the "Tools" section to find Pico CMS for Nextcloud. Hit the "Download and enable" button and you're ready to go!

Manually

  1. Open a shell and navigate to Nextcloud's install directory (e.g. /var/www/html/nextcloud). Clone Pico CMS for Nextcloud's Git repository to your apps/cms_pico/ directory:

    $ git clone https://github.com/nextcloud/cms_pico.git apps/cms_pico
    
  2. Run composer install to install the app's dependencies. If you haven't installed Composer yet, you must download it first.

    $ cd apps/cms_pico/
    $ curl -sSL https://getcomposer.org/installer | php
    $ php composer.phar install
    
  3. Make sure that your webserver has write permissions on the app's appdata_public/ directory. You can ensure this by matching the permissions (owner, group and permissions) of Nextcloud's data/ directory:

    $ chown --reference=../../data/ appdata_public
    $ chmod --reference=../../data/ appdata_public
    

Known limitations

HTML in Markdown files

One of Markdown's key features is that users can use arbitrary HTML in their Markdown files to enable more advanced contents. However, since all websites of Pico CMS for Nextcloud run under the same domain as Nextcloud, this bears a huge security risk: Users with some knowledge could attack other users of your Nextcloud, including you, the Nextcloud admin (so called "Cross Scripting"). Pico CMS for Nextcloud follows a "Better safe than sorry" mentality, thus we let HTMLPurifier remove any potentially active content from Markdown files.

For this reason you cannot use HTML features like <iframe>, <audio>, <video> and <script> in your Markdown files - on purpose! These limitations don't apply to themes, so if you know what you're doing, you can create a custom theme to include any advanced features you need (for example a video player). However, please be careful not to introduce security risks!

Nextcloud's Text App

Nextcloud's official Text app is incompatible with Pico CMS for Nextcloud, as is destroys otherwise valid Markdown files (it e.g. removes YAML Front Matters). Unfortunately we cannot do anything about this, it's a rather complex issue in the realm of the Text app. Please see #116 for more info.

In the meantime we recommend using Nextcloud's Markdown editor app or the Plain text editor app. Please note that Nextcloud's Text app will still interfere with your Nextcloud install (also see App behaviors), thus we recommend you to disable the Text app altogether.

App incompatibilities

Due to how Nextcloud and most other PHP applications handle dependencies, there's a huge potential of dependency conflicts. Due to this some Nextcloud apps have known incompatibilities with Pico CMS for Nextcloud. This is no-one's fault, neither are Nextcloud nor the conflicting apps to blame, this is just some technical limitation of Nextcloud's app infrastructure we cannot solve in the short term. Please see #97 for more info.

In the meantime you must remove all conflicting apps. Known conflicting apps are Issue Template and Terms of service. If you see the error "Call to undefined method ParsedownExtra::textElements()" in Nextcloud's log even though you've removed all conflicting apps, please don't hesitate to open a new Issue on GitHub with a copy of the error including its stack trace and a complete list of all apps installed.

Getting help

Something went wrong? You need help? No worries, we will help!

If you want to get started using Pico, please refer to Pico's user docs. You can find officially supported plugins and themes on Pico's website. A greater choice of third-party plugins and themes can be found in Pico's wiki on the plugins or themes pages respectively. If you want to create your own plugin or theme, please refer to the โ€œGetting Help as a developerโ€ section of Pico's docs.

When the docs cannot answer your question, you can get help by either joining us on #picocms on Libera.Chat (logs), or by creating a new thread on Nextcloud Help. When youโ€™re experiencing problems with Pico CMS for Nextcloud, please donโ€™t hesitate to create a new Issue on GitHub. Concerning problems with Pico, open a new Issue on Pico's GitHub repository. If you have problems with plugins or themes, please refer to the website of the developer of this plugin or theme.

Before creating a new Issue, please make sure the problem wasnโ€™t reported yet using GitHubs search engine on both the nextcloud/cms_pico and picocms/Pico repos, as well as the search of Nextcloud Help. Please describe your issue as clear as possible and always include the exact error message (if any) as well as all related messages in Nextcloud's logs. Also include the exact Nextcloud version and the version of Pico CMS for Nextcloud youโ€™re using. Provided that youโ€™re using custom plugins and/or themes, include a list of them too. We need information about the actual and expected behavior , the steps to reproduce the problem, and what steps you have taken to resolve the problem by yourself (i.e. your own troubleshooting).

More Repositories

1

server

โ˜๏ธ Nextcloud server, a safe home for all your data
PHP
26,522
star
2

docker

โ›ด Docker image of Nextcloud
Shell
5,826
star
3

all-in-one

๐Ÿ“ฆ The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
PHP
5,228
star
4

android

๐Ÿ“ฑ Nextcloud Android app
Java
4,144
star
5

desktop

๐Ÿ’ป Desktop sync client for Nextcloud
C++
2,966
star
6

nextcloudpi

๐Ÿ“ฆ Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
Shell
2,508
star
7

ios

๐Ÿ“ฑ Nextcloud iOS App
Swift
1,936
star
8

spreed

๐Ÿ—จ๏ธ Nextcloud Talk โ€“ chat, video & audio calls for Nextcloud
JavaScript
1,441
star
9

vm

๐Ÿ’ปโ˜๐Ÿ“ฆ The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained.
Shell
1,306
star
10

deck

๐Ÿ—‚ Kanban-style project & personal management tool for Nextcloud, similar to Trello
JavaScript
1,203
star
11

bookmarks

๐Ÿ”– Bookmark app for Nextcloud
JavaScript
1,006
star
12

notes-android

โœŽ Android client for Nextcloud Notes app.
Java
937
star
13

calendar

๐Ÿ“† Calendar app for Nextcloud
JavaScript
887
star
14

news

๐Ÿ“ฐ RSS/Atom feed reader
JavaScript
852
star
15

mail

๐Ÿ’Œ Mail app for Nextcloud
JavaScript
830
star
16

passman

๐Ÿ” Open source password manager with Nextcloud integration
JavaScript
786
star
17

news-android

๐Ÿ“ฑ๐Ÿ—ž๏ธ Android client for the Nextcloud news/feed reader app
Java
682
star
18

notes

โœŽ Distraction-free notes and writing
JavaScript
604
star
19

photos

๐Ÿ“ธ Your memories under your control
JavaScript
574
star
20

contacts

๐Ÿ“‡ Contacts app for Nextcloud
JavaScript
565
star
21

tasks

โœ… Tasks app for Nextcloud
JavaScript
563
star
22

text

๐Ÿ“‘ Collaborative document editing using Markdown
JavaScript
546
star
23

cookbook

๐Ÿฒ A library for all your recipes
HTML
532
star
24

recognize

๐Ÿ‘ ๐Ÿ‘‚ Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres
PHP
532
star
25

maps

๐ŸŒ๐ŸŒ๐ŸŒŽ The whole world fits inside your cloud!
JavaScript
490
star
26

documentation

๐Ÿ“˜ Nextcloud documentation
HTML
490
star
27

social

๐ŸŽ‰ Social can be used for work, or to connect to the fediverse!
PHP
464
star
28

talk-android

๐Ÿ“ฑ๐Ÿ˜€ Video & audio calls through Nextcloud on Android
Kotlin
461
star
29

previewgenerator

Nextcloud app to do preview generation in the background.
PHP
456
star
30

richdocuments

๐Ÿ“‘ Collabora Online for Nextcloud
PHP
353
star
31

forms

๐Ÿ“ Simple form & survey app for Nextcloud
JavaScript
316
star
32

helm

A community maintained helm chart for deploying Nextcloud on Kubernetes.
Smarty
315
star
33

twofactor_totp

๐Ÿ”‘ Second factor TOTP (RFC 6238) provider for Nextcloud
JavaScript
286
star
34

groupfolders

๐Ÿ“๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
PHP
279
star
35

end_to_end_encryption

๐Ÿ” Server API to support End-to-End Encryption
PHP
275
star
36

appstore

๐Ÿช App Store for Nextcloud
Python
262
star
37

polls

๐Ÿ—ณ๏ธ Polls app for Nextcloud
JavaScript
255
star
38

providers

community-maintained list of Nextcloud providers
234
star
39

nextcloud.com

๐ŸŒ Our website
PHP
208
star
40

notify_push

Update notifications for nextcloud clients
Rust
202
star
41

backup

Backup now. Restore later.
PHP
202
star
42

nextcloud-vue

๐Ÿฑ Vue.js components for Nextcloud app development โœŒ https://npmjs.org/@nextcloud/vue
Vue
198
star
43

client_theming

๐Ÿ’ป Nextcloud themed desktop client - Moved over to https://github.com/nextcloud/desktop
Shell
197
star
44

fulltextsearch

๐Ÿ” Core of the full-text search framework for Nextcloud
PHP
197
star
45

ocsms

๐Ÿ“ฑ Nextcloud/ownCloud PhoneSync server application
JavaScript
189
star
46

tables

๐Ÿฑ Nextcloud tables app
JavaScript
144
star
47

circles

๐Ÿ‘ช Create groups with other users on a Nextcloud instance and share with them
PHP
143
star
48

ansible-collection-nextcloud-admin

The ansible galaxy for your nextcloud administrative needs.
Jinja
138
star
49

registration

User registration app for Nextcloud
JavaScript
136
star
50

documentserver_community

Document server for onlyoffice
PHP
128
star
51

talk-ios

๐Ÿ“ฑ๐Ÿ˜€ Video & audio calls through Nextcloud on iOS
Objective-C
123
star
52

neon

A framework for building convergent cross-platform Nextcloud clients using Flutter.
Dart
122
star
53

passman-webextension

Webextension for the Passman Nextcloud app. Also offers browser extension & Android app.
JavaScript
115
star
54

activity

โšก Activity app for Nextcloud
JavaScript
115
star
55

twofactor_u2f

๐Ÿ”‘ U2F second factor provider for Nextcloud
JavaScript
112
star
56

talk-desktop

๐Ÿ’ฌ๐Ÿ’ป Nextcloud Talk Desktop Client Preview
JavaScript
110
star
57

gallery

DEPRECATED Gallery app was replaced by Photos
JavaScript
110
star
58

twofactor_gateway

๐Ÿ”‘ Second factor provider using an external messaging gateway (SMS, Telegram, Signal)
PHP
109
star
59

external

๐ŸŒ Embed external sites in your Nextcloud
JavaScript
104
star
60

notifications

๐Ÿ”” Notifications app for Nextcloud
PHP
102
star
61

user_external

๐Ÿ‘ฅ External user authentication methods like IMAP, SMB and FTP
PHP
101
star
62

news-updater

๐Ÿ“ฐ Fast, parallel feed updater for the News app; written in Python
Python
100
star
63

integration_google

๐Ÿ‡ฌ Google integration into Nextcloud
JavaScript
98
star
64

nextcloud-filelink

โœ‰๏ธ ๐Ÿ“ค "Nextcloud for Filelink" is a Thunderbird extension which makes it easy to send large attachments with Thunderbird by uploading them first to a Nextcloud server and by then inserting the link into the body of your email.
JavaScript
96
star
65

serverinfo

๐Ÿ“Š A monitoring app which creates a server info dashboard for admins
JavaScript
94
star
66

user_saml

๐Ÿ”’ App for authenticating Nextcloud users using SAML https://apps.nextcloud.com/apps/user_saml
PHP
93
star
67

collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
JavaScript
93
star
68

health

Nextcloud health app
JavaScript
92
star
69

passman-android

๐Ÿ”‘ Android app for Passman.
C++
92
star
70

files_videoplayer

๐Ÿ“ผ Old video viewer for Nextcloud
JavaScript
91
star
71

android-library

โ˜Ž๏ธ Nextcloud Android library
Java
85
star
72

files_pdfviewer

๐Ÿ“– A PDF viewer for Nextcloud
JavaScript
85
star
73

suspicious_login

Detect and warn about suspicious IPs logging into Nextcloud
PHP
84
star
74

viewer

๐Ÿ–ผ Simple file viewer with slideshow for media
JavaScript
83
star
75

unsplash

๐Ÿ“ธ๐Ÿ”€โ˜๏ธ Random Nextcloud log in background from Unsplash
JavaScript
82
star
76

fulltextsearch_elasticsearch

๐Ÿ” Use Elasticsearch to index the content of your Nextcloud
PHP
77
star
77

user_oidc

OIDC connect user backend for Nextcloud
PHP
76
star
78

files_antivirus

๐Ÿ‘พ Antivirus app for Nextcloud Files
JavaScript
74
star
79

files_texteditor

๐Ÿ“„ Text editor for plaintext files
JavaScript
71
star
80

Android-SingleSignOn

Single sign-on for Nextcloud (Android Library Project)
Java
70
star
81

user_sql

๐Ÿ”’ App for authenticating Nextcloud users using SQL
PHP
66
star
82

workflow_script

Rule based processing of files through specified external scripts
PHP
65
star
83

files_rightclick

๐Ÿ‘‰ Right click menu for Nextcloud
JavaScript
64
star
84

ransomware_protection

An app that prevents uploading files that have names that are linked to known ransomware
PHP
62
star
85

windows-universal

๐Ÿ“ฑ Nextcloud Windows Mobile app
C#
59
star
86

security-advisories

๐Ÿ‘ฎ Security advisories of Nextcloud
PHP
59
star
87

dashboard

ARCHIVED, new Dashboard is in the server
PHP
58
star
88

integration_openproject

Integration of OpenProject project manager in Nextcloud
PHP
56
star
89

integration_whiteboard

โœ A whiteboard for Nextcloud, using Spacedeck
PHP
53
star
90

encryption-recovery-tools

This project contains tools to recover files that have been encrypted with the Nextcloud End-to-End Encryption or Nextcloud Server-Side Encryption.
PHP
53
star
91

files_automatedtagging

๐Ÿ”– An app for Nextcloud that assigns tags to newly uploaded files based on some conditions
JavaScript
53
star
92

logreader

๐Ÿ“œ Log reader for Nextcloud
JavaScript
52
star
93

calendar_resource_management

Resources back-end for the Nextcloud CalDAV server
PHP
52
star
94

impersonate

๐Ÿ‘ป Allow administrators to become a different user
JavaScript
52
star
95

cdav-library

๐Ÿ“… ๐Ÿ“‡ CalDAV and CardDAV client library for JavaScript
JavaScript
51
star
96

3rdparty

๐Ÿ”‹ 3rd party libraries that are needed to run Nextcloud
PHP
51
star
97

files_fulltextsearch

๐Ÿ” Index the content of your files
PHP
50
star
98

files_accesscontrol

๐Ÿšซ App to manage access control for files
PHP
49
star
99

bruteforcesettings

๐Ÿ•ต Allow admins to configure the brute force settings
JavaScript
49
star
100

twofactor_webauthn

WebAuthn Two-Factor Provider for Nextcloud
PHP
49
star