und0ck3d

und0ck3d

Contento: an open source CMS built with Elixir, Phoenix and Postgresql

Hello everyone!

A few days ago I’ve created a topic here about how people were creating CMSs with Elixir and Phoenix. I’ve been studying some available work such as Changelog CMS (a very specific podcasts CMS built by and for Changelog.com) and Thesis (a lightweight CMS that can be plugged in into any Phoenix application and enables easy content edition and dynamic pages).

Although those are great projects from which I’ve taken some ideas and learnt some things, what I was looking for isn’t nothing like any of these projects. Instead I was looking for something more “Wordpress-ish” in the sense that I download it, install a theme into it, setup database and :tada: a new website was born. Why not Wordpress? I simply don’t like PHP and I’m in love with Elixir!

So, I put my hands to work, and I’ve started building Contento an open source CMS built with the power of Elixir, Phoenix and Postgresql (and, of course, the awesome community behind those).

It doesn’t have much features, it isn’t production-ready (nor near it) and it isn’t very fancy (yet!). I’m not looking for users, I’m looking for people that would like to see such project gain life and contribute to it!

The goals for this project are few and simple:

  1. Create a powerful CMS with Elixir/Phoenix/Postgresql that can be extended with different themes and plugins.
  2. Make it easier to anyone, independently if they have programming knowledge or not, to create their own website.
  3. Spread the word about Elixir, Phoenix and all the awesomeness that’s around them!

Give it a try (check the repo here) and let me know your opinion, ideas and suggestions!

Thanks in advance!

P.S.: If you wish to discuss more about this project, I’ve created a #contento channel in Elixir Slack.

Most Liked

und0ck3d

und0ck3d

Hello everybody!

I’ve been making several updates to what will be the initial version which hopefully will come out soon for everyone to test and get a better feeling of what’s intended for this project.

There are some things I’d appreciate community’s opinion to make sure the best approach is being applied. Such things are:

  • The tool created to help (mostly non-technical) users create a new Contento-based project, like: mix contento.new [dest] (read more about it here)
  • The themes structure (there isn’t yet any documentation on it, but it’s on it’s way soon), which you can check in the default theme repo Simplo
  • How a theme’s template is compiled (on-request at runtime), you can check ContentoWeb.Themer.
  • And how theme’s assets are served (take a look)

There are some pages available already to help anyone interested getting started, here are some useful links:

Currently I’m not making any updates to the code itself, I’m just documenting code and creating the User Guides.

Thanks everyone in advance!

outlog

outlog

wonder if it would make sense to use something like liquid for the templates so they can be made “safe” and available for end user editing, but maybe I am wrong to assume that eex should not be made available to the end user…

elixir lib:

OvermindDL1

OvermindDL1

Yeeeah I definitely would not expose eex to the end user. ^.^;

Where Next?

Popular in Discussions Top

andre1sk
A big advantage to Elixir is all the distributed goodness but for many applications running on multiple nodes having integrated Etcd, Zoo...
New
arcanemachine
https://nitter.net/josevalim/status/1744395345872683471 https://twitter.com/josevalim/status/1744395345872683471
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
axelson
Decided against including more info in the title, but the gist is that Plataformatec sponsored projects will continue with the assets bei...
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18122 126
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New
shishini
I think this twitter post and youtube video didn’t get as much attention as I hoped I am still new to Elixir, so can’t really judge ...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
kostonstyle
Hi all How can I compare haskell with elixir, included tools, webservices, ect. Thanks
New

Other popular topics Top

johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
vegabook
I'm brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 47849 226
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement