GithubHelp home page GithubHelp logo

bluzky / orangecms Goto Github PK

View Code? Open in Web Editor NEW
60.0 2.0 3.0 1.4 MB

Admin interface for your static site

Home Page: https://orangecms.fly.dev

Elixir 80.28% CSS 1.18% JavaScript 6.86% HTML 10.73% Svelte 0.31% Dockerfile 0.58% Shell 0.04% Batchfile 0.02% Euphoria 0.01%
cms elixir phoenix phoenix-liveview

orangecms's Introduction

OrangeCMS - CMS admin for your static site

Demo post page

OrangeCMS is a admin app for static site on github. Instead of creating/editing file on your local and push to git repo. You are now can manage your content with Web UI and your content editors don't have to know anything about git

DEMO

Start dev server

  • Requirement: elixir, nodejs installed on your machine. Nodejs is used to build assets only

  • Install dependencies mix setup

  • Start project mix phx.server

Build release

  • Manual build mix assets.deploy && mix release
  • Build docker docker build -t orangecms .

Deploy with Fly.io

fly cli installation guide here https://fly.io/docs/flyctl/

Then run fly launch

Roadmap

  • Project

    • Creat project
    • Setup project flow
    • Project scope query
    • Encrypt github secret
  • Content type

    • Extract content type from markdown frontmatter
    • Add/edit/remove field from frontmatter schema
    • Add new content type and sync from github
    • Cofig image upload, use relative image path
    • Add default field for github file: file_name and file_dir
    • Reorder content type's field
    • Resync button to force sync latest data from github
  • Content entry

    • Import content from github
    • Create/edit/delete content entry
    • Publish (update/create) content to github
    • Markdown editor
    • Block editors
    • improve frontmatter form
    • Delete content both in database and on repo
    • Search, filter post
  • User

    • first time setup create user
    • Manage user
    • Assign user to project
    • RBAC
    • Update User profile and password
    • Login / logout
  • Integration

    • Cloudinary image upload
    • Manage API token
  • API

    • API load collection
    • API load single content entry
    • Token authentication

This project is impossible without these excellenct works:

orangecms's People

Contributors

bluzky avatar twistingtwists avatar

Stargazers

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

Watchers

 avatar  avatar

orangecms's Issues

Improve editor

  • Button toggle show/hide frontmatter form
  • Remove border editor
  • text read only for main title

Resource access policy

Implement some basic access rule

  • only admin can manage user
  • only owner can manage project member
  • when create project, set creator as owner
  • user can only access project which they are assigned
  • user can only access to content, content type, setting ... on project they are assigned

if user does not have permission, render 403 page

Role-based access for project

Add user role for projects

  • owner: can do everything
  • admin: can read/update all
  • editor: can read/update content entry only

Improve editor UI

  • Implement fixed action bar for publish
  • Implement edit title directly
  • toast for auto save successfully

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.