r/opensource • • Jul 18 '20

Citadel - an open source project management tool

691 Upvotes

78 comments sorted by

62

u/thenightwolf51 Jul 18 '20 edited Aug 07 '20

This is Citadel, a project management system inspired by Trello!

The frontend is written in React and a Golang GraphQL API.

You can find the source here!

I've got some very installation docs written but I'm still working on making them better!

FAQ

Why did you make this?

I wanted a Kanban based project tool that worked exactly the way I wanted it to!

Another part was to learn several new technologies.

In past projects I've used REST based API's and this time I wanted to work with GraphQL to see the difference between the too. I also used this project to experiment with different technologies or processes that I haven't used in this past.

For example

  • Typescript w/ React

  • Not using an ORM

  • React hooks

If you're curious about some interesting things I've learned while working on this, check out the associated devlogs

First devlog post

Second devlog post

How is this different from Trello?

It's got dark mode built in!

First off, it's open source (unlike Trello) - so you're free to run on your own servers!

Second, many of the planned future features are features that Trello might already offer but they're through 3rd party power-ups that often don't feel native to Trello itself. Any example would be Ghantt charts.

Finally, there are several planned features that Trello doesn't offer at all (as far as I know)!

Current planned features:

  • Calendar

  • Ghantt chart (w/ swimlanes)

  • Progress section

  • Rule automation

  • Custom fields

  • Custom backgrounds

  • Wiki section

  • Keyboard shortcuts for common tasks (adding members, labels, etc)

  • List view

  • Description markdown preview?

  • Timetracking?

  • Multi project overview (portfolio)

  • There are many other planned features as well that I track in my private instance of Citadel

Why is it called Citadel?

Because I like the word Citadel & I needed to call it something! :)

It has now been renamed to Taskcafe (since there was already a project named Citadel!)

27

u/diseasealert Jul 18 '20

Why is it called Citadel?

Because I like the word Citadel & I needed to call it something! :)

Did you look for existing projects named Citadel?

13

u/thenightwolf51 Jul 18 '20

I did a quick Google and didn't find anything named citadel that did something similar to this.

I had always planned on finding a better name, I just never found something I liked better

4

u/4IFMU Jul 19 '20

Sequencium? A spin on the word sequence. I suck at naming things.

3

u/mechanicalAI Jul 20 '20

If I am not mistaken, Citadel is the name of email reader or frontend of webmail package or something. I don't know. Cool name though. Reminds me Rick's place, right after web-based email.

1

u/Sir-Simon-Spamalot Jul 19 '20

Citadel, a BBS program from the 80s

Citadel/UX, collaboration suite based on Citadel

1

u/UnfairerThree2 Jul 20 '20

Doesn’t look like anyone would use that old project though.

1

u/unixchato Jul 20 '20

Citadel

Citadel/QL

7

u/twenty7forty2 Jul 18 '20

I wanted to work with GraphQL to see the difference

Thoughts? GraphQL seems like too much of an application on top of my application so I've avoided it so far.

6

u/thenightwolf51 Jul 18 '20

So far I've enjoyed working with it! The biggest two benefits is that I can use Apollo (which has been a blast to use with regards to working with an external API source) and I can get the data that I need!

In previous projects where I've used REST, I had to always implement some kind of custom solution to embed additional fields but with GraphQL that sort of behavior is built it.

However there are some downsides that I've found such as:

  • Can't use it for everything, such as authentication (the graphql library I use doesn't let me set cookies in resolvers) and file uploads (the spec isn't fully fleshed out for that yet)

  • Still haven't figured out how I'm going to handle authorization yet

2

u/acrogenesis Jul 19 '20

For authentication I have a login mutation where you send the user and password and it returns a token. Then in react I save that token and every request sends the Authorization header with that token.

2

u/thenightwolf51 Jul 19 '20

Sadly that process wouldn't work for me :(

I use a combination of an access token and a refresh token. The refresh token is an opaque token (just a uuid) that is stored in the database and is only set as to the client as a HttpOnly cookie (so is can't interact with it) and its got a long lifetime (7 days)

The refresh token is used by the client to get an JWT token which does get sent via an authorization header (like yours is) but it's only stored in memory on the client, never persisted.

While gqlgen would let me send the access token, I cant set the refresh cookie through it :( so I just have all authentication done through a rest api

3

u/Nowaker Jul 19 '20

inspired by Trello

Is it inspired by Trello, or is it a plagiarism of Trello's UI? Looking at the video, I see no difference from Trello UI at a first glance. Everything looks like it's Trello. It's not about the code but it's about the design. Every single UI element of Trello is exactly in the same place. Every single behavior of Trello UI is the same. It's even a pixel perfect clone of Trello in many places. Anyone who knows Trello and sees it will think it's Trello. It looks as if Citadel was created by looking at Trello on a second monitor and recreating it. It's pretty risky IMO, Atlassian would likely prevail with a DMCA request and/or in court. I suggest making Citadel visually distinct from Trello. Not just colors/dark mode. It's about the whole design concept.

It's a great job nonetheless!

3

u/chirmer Jul 20 '20

This. Open Source is great. IP theft/design plagiarism is not.

1

u/warmaster Jul 20 '20

Custom Fields + Gantt + Time tracking = Level nearing Zenkit killer

I think it would only lack a table view for it to be a real contender.

1

u/[deleted] May 31 '23

I will use it instead of a todo list app. Thanks

30

u/xtifr Jul 18 '20

Citadel is the name of an existing open-source groupware system that's been around for ages, and is already included in Debian and who-knows how many other Linux systems.

http://www.citadel.org/

https://packages.debian.org/sid/citadel-server

5

u/thenightwolf51 Aug 07 '20 edited Aug 07 '20

In response to this, I have updated the name to Taskcafé!

3

u/MaxKowalski Aug 07 '20

Discovered that earlier today when I was attempting to install.

I like it.

2

u/xtifr Aug 09 '20

Nice! I like it!

7

u/thenightwolf51 Jul 18 '20

Oh! I did not know that

5

u/Agnusl Jul 19 '20

I sugest to call your project Cittadella then. It's citadel, but in italian, and sounds way more epic.

5

u/gremolata Jul 19 '20

Rhymes well with Salmonella.

1

u/jarfil Jul 19 '20 edited Dec 02 '23

CENSORED

1

u/Agnusl Jul 19 '20

Fritzgerald?

0

u/[deleted] Jul 19 '20

[deleted]

12

u/xtifr Jul 19 '20

:facepalm:

Yeah, I'm certainly not here to endorse the system or anything. Just pointing out that the name is in use.

2

u/mezzzolino Jul 19 '20

I guess, if your project is 32 years old and based on a community system, there is nothing wrong in saying that you'd like to keep the development inside your community.

It's open source/GPL, anyone can still fork it and develop in an environment that seems more suitable.

1

u/[deleted] Jul 19 '20

Based

1

u/CyberPoliceUnit1312 Jul 25 '20

the citadel authors sound triggered xD

-1

u/duc123 Jul 19 '20

best code of conduct ever. This need to adapt

22

u/TheBloodyStormking Jul 18 '20

looks good. adding a dockerfile would go a long way to help people try it out.

19

u/thenightwolf51 Jul 18 '20

A dockerfile with docker-compose has been added (along with instructions in the readme)!

2

u/3pintsplease Jul 22 '20 edited Jul 22 '20

Thanks for sharing this, and putting all the effort into the project. Looks awesome! Probably just another n00b issue, but I'm getting the following error when I run the initial docker-compose cmd.

Status: Downloaded newer image for postgres:12.3-alpine

Building web

ERROR: Cannot locate specified Dockerfile: Dockerfile

edit: Confirmed... I'm an idiot. If one wants to query Dockerfile. Make sure Dockerfile exists. ugh

7

u/thenightwolf51 Jul 18 '20

A dockerfile (and a docker-compose file) is something I'll be adding very soon for that exact reason!

1

u/Dizzybro Jul 21 '20 edited Apr 17 '25

This post was modified due to age limitations by myself for my anonymity ydohjo3DZeIwVFTd0GZmrd486IYxjhqQNUWY5ExfgzvHrSp1fh

2

u/TionisNagir Aug 13 '20

Hey, just a Heads Up, you now got competition in the modern open source kanban market: https://github.com/plankanban/planka .

10

u/xcassiusotg Jul 19 '20

Cool project, how is it different from https://wekan.github.io/?

2

u/gymbry Jul 19 '20

also wondering!

2

u/CreepingUponMe Jul 19 '20

I have tried Wekan (and Taiga), they all do the same thing, I think the UI of Citadel looks the best.

4

u/[deleted] Jul 19 '20

What I really like about your project is the drag-and-drop functionality which is very smooth. I currently use Kanboard because it has lots of plugins, automation etc., but the UX of Kanboard is gewöhnungsbedürftig.

There's also the following Kanban boards which can be selfhosted:

I really like the Kanban methodology, seems other people think the same :)

It evades me how people still use proprietary services which track them and cost lots of money for "premium" features FOSS gives you basically for free (or like 2€/month for a small VPS).

1

u/TionisNagir Jul 21 '20

How was your experience with Graphql so far? Was it worth the effort for a project of this scope or would you say it was mainly a learning exercise and you would switch to a different technology if you reimplemented it.

I'm currently trying to learn Graphql but it always seems to daunting and complicated. I never know where to start!

2

u/thenightwolf51 Jul 22 '20

Honestly I really have enjoyed working with graphql (outside a few issues) and it was worth the effort!

I've used rest in past projects and comparing that to using graphql, I've really enjoyed consuming the graphql api from a front end client

Getting started was an issue for me, though part of that was I had trouble finding a good library for it in golang.

If you're using golang to learn it, I'd recommend that library that this project uses which is called gqlgen.

The main issues I've had with it so far has many been with authorization and file uploads

3

u/marineo02cro Jul 18 '20

looks awesome! Going to check it out.

1

u/Trollw00t Jul 18 '20

wow, this looks exactly what I'm looking for!

Can users register and do they all have their private boards? Also then, I can share one of my boards with specific users?

If you, this would be an awesome app I'd like to host on my server!

A docker image is not currently in the planning, I guess? :)

2

u/thenightwolf51 Jul 18 '20

Currently I don't have user registration implemented (existing admins can add new users though) but it will eventually be an option. Private boards are also not implemented (I was debating on whether or not I even wanted to add them) but I most likely will. Once they are implemented they will only be seen by the owner (whoever created them) as well as whoever they share the board with. Also possibly system admins as well (not sure on this part).

A docker image (with a docker-compose.yml file) is planned (most likely I'll add one tomorrow if I have time)!

2

u/Trollw00t Jul 18 '20

very nice to hear your thoughts on it! :)

well if a user-system (with private boards) is implemented, I totally will host it for myself and a few friends :D

what would be the best channel to keep uptodate with your software?

2

u/thenightwolf51 Jul 18 '20

A dockerfile with docker-compose has been added (along with instructions in the readme)!

1

u/jarfil Jul 19 '20 edited Dec 02 '23

CENSORED

1

u/thenightwolf51 Jul 19 '20

I've always preferred mage over make files (Im not a fan of make's syntax for anything complicated) however the mage commands for interacting with docker are just helpers for interacting with a docker-compose.yml and the docker-compose.migrate.yml.

The docker-compose.dev.yml is just for email testing as well as what I'll be using when working on new features (such as the reminder system)

As far as migrations on startup, I feel that they're best done in a separate, manual step rather than automatically done. That way in case something goes wrong during the install it an upgrade it's a lot more noticeable. Plus if someone ever wanted to run more than instance of citadel on the same server, things might get a little weird with multiple migrations trying to happen all at once.

I haven't published an image to docker hub yet but I plan on doing so soon

I have no idea if it works on ARM but I don't see why it shouldn't if you tell go to compile for it (if you need help with compiling for ARM let me know)

1

u/jarfil Jul 19 '20 edited Dec 02 '23

CENSORED

2

u/thenightwolf51 Jul 19 '20 edited Jul 19 '20

Issue #7 has been fixed!

I've noticed that building the frontend is pretty heavy. In the latest commit, I've gone through and removed some unused dependencies so that might help some.

Will have to some spend some time researching to see if I can speed up the build time for the frontend!

2

u/jarfil Jul 21 '20 edited Dec 02 '23

CENSORED

1

u/thenightwolf51 Jul 21 '20

Sure! I'm working on a contribution doc for helping on-board those that wish to help but it might be a bit before that's ready.

Is there anny specific options you would want to implement and I can point you in the right direction?

1

u/thenightwolf51 Jul 18 '20

Either here on r/opensource or watching the repository for new releases!

2

u/TionisNagir Jul 21 '20

Why were you thinking about not implementing private boards? I think they are a core feature for many people trying to migrate from trello.

On another note any plans to implement something similar to trellos butler or will you simply expose an API?

1

u/thenightwolf51 Jul 21 '20

I think I probably will implement private projects at first but I think I likely will - the one thing I have yet to decide is if system admins will be able to see them as well or not.

Automation (like Butler) is something I plan on adding in the future!

2

u/TionisNagir Jul 21 '20

Very cool!

I personally would hide private boards per default from the admin, but allow them to access them over a special url or button (maybe even add a config option to toggle that behavior)

1

u/thenightwolf51 Jul 21 '20

I think that would probably be the way to go as well. I appreciate the feedback!

2

u/player_meh Jul 18 '20

I’ve been looking for something like this!! Great project!!! Gonna check it out

2

u/EducationalGrass Jul 18 '20

Wow, this is wonderful! I have a handful of mid-stream projects (in school and working full time, so nothing gets done "on time") and I've been really needing a personal project tracker to speed up my task completion when I start something I haven't touched in a month. Thanks so much!!

2

u/ingenioutor Jul 19 '20

all these are great but then I end up never using them depending on availability on mobile devices.

3

u/GrbavaCigla Jul 18 '20

Nice, I was searching for trello alternative

1

u/albsen Jul 20 '20

golang, react, graphql and night mode! thank you sir. this is awesome, finally I can move all my Trello boards to something running on my pi.

1

u/micha_x Jul 20 '20

Looks really good! Not on your roadmap yet, but I’d love to have recurring tasks support, so that it can be used as a PM-tool and issue tracker.

1

u/r0bbie Jul 20 '20

This looks great from the gif. Design looks clean and modern. I've used Wekan in the past which is a good project and feature-rich (for the most part) but often feels a bit unstable, and has some inconsitency in its UI.

Excited to try this out as an alternative, and see how this progresses - especially with the roadmap you've set out.

1

u/mausebacke123 Jul 22 '20

Hi

what about Resource management, do you plan to integrate it somehow?

1

u/polQnis Jul 24 '20

Hi I installed this and nearly nothing works, half of the options are super unresponsive or not working and completely unsuited for a working environment.

The entire user management tab doesn't work. Changing ur password doesnt work. Registering an account after the admin account doesnt work. Sometimes when you assign someone to a card it gets assigned a different user. When you try to remove the user you didnt assigned the values are mixed up and removes the person you want to assign to the card. Attachments don't work, adding any attachment anywhere simply doesn't work. Upload a user image doesn't work.

At 14 seconds into the video, you see the user putting in a checklist with some icons that appear on hover (IE the "Hello!" check list), none of those actually work except for the trash button. "Cover" doesn't work and I dont even know what that does. Adding new users requires the admin to manually create the user with his/her password.

1

u/benizzy1 Mar 08 '23

Love it! I worked on Trello way back in the day (lol, my highest reach code ever was the Trello good ability to have custom board backgrounds, stickers, and emoji — I’ve been building ML platforms ever since)

1

u/tott88_ Jul 19 '20

This looks amazing and attractive especially since it's also open source. However a direct Milanote competitor is needed and one that is open source (unlike Milanote). You can check it out here.

Anyhow, the project looks really promising and the future plans look great.

-4

u/lrs231 Jul 18 '20

This looks like Trello though?

1

u/[deleted] Jul 19 '20

Are you asking a question or making a statement?

2

u/lrs231 Jul 19 '20

Making a statement. Sorry but gotta be honest thought. It looks amazing anyway!