DEV Community

loading...
Cover image for Code of Conduct generator!

Code of Conduct generator!

mvoloskov profile image Miloslav Voloskov Updated on ・1 min read

Tl;dr: I've just launched The Code of Conduct Generator!

When I was asked to write a code of conduct for the first time, I really thought it was easy.

I was wrong.

So, being a programmer, I created The Code of Conduct Generator, so everyone could generate one themselves.

It's really easy: you just type in your community or company name, the reporting email and check some checkboxes. Boom, you're good to go.

Facts

  • Time spent on the whole project: two hours

  • Time spent fiddling around with that button gradient and box-shadow: almost one hour

  • Food eaten during creating this: one BigMac Bacon

  • Hosting: Netlify

  • Framework: there's no framework, just newest JavaScript and some templates.

  • Hey, I want you to teach me how to create that tiny projects smoothly. Is it possible? Yes. Just send me an email at hello@miloslav.website.

Be kind to others.

Discussion (18)

pic
Editor guide
Collapse
drbearhands profile image
DrBearhands

Ok I'll bite.

I'm curious why you've chosen to make some sections "mandatory" (such as Not being respectful to reasonable communication boundaries, such as 'leave me alone,' 'go away,' or 'I’m not discussing this with you.') but not others (such as The usage of sexualised language or imagery and unwelcome sexual attention or advances).

I'm also not sure if actions that are downright illegal (doxxing) should be in a CoC. I gather it's generally a party foul for ToS and similar legally binding documents.

Collapse
mvoloskov profile image
Miloslav Voloskov Author

Sexual content presence is heavily opinionated. There’s a large part of dev community that thinks it’s okay.

Collapse
ogrotten profile image
ogrotten

Good one.

Collapse
codemouse92 profile image
Jason C. McDonald • Edited

Great start. This will be helpful for a lot of people!

There are several things that CoCs usually cover that this omits, however, especially in areas like "how to answer questions." You may take a look at these, and see if there is anything worth borrowing:

Collapse
mvoloskov profile image
Miloslav Voloskov Author

Oh thanks! Definitely will take a look.

Collapse
jorgecc profile image
Jorge Castro

Code of Conduct is quite useless, you can't please everybody and usually, a CoC is a way to angry all and sundry.

For example, the Linux's CoC.

Collapse
ramblingenzyme profile image
Satvik Sharma

Well, you've managed to be on dev.to for 11 months, and there's a CoC. You seem to be doing just fine and happy to be here.

The idea is to be able to exclude the small number of people that will exclude a larger number with their presence, which is what happens if you say you'll allow everyone regardless of behaviour.

Collapse
jorgecc profile image
Jorge Castro

Well, you've managed to be on dev.to for 11 months, and there's a CoC. You seem to be doing just fine and happy to be here.

I am as happy as to pay taxes every month.

Collapse
remotesynth profile image
Brian Rinaldi

Good concept. It can be tough to write these and this is a great start. I'd make a few suggestions for improvement:

  • Make some of the recommended items default to being checked. For example, I think sexual behavior or imagery and graphics and disturbing content, inequality of any kind may be ones that you want to default to checking even if the person can choose to uncheck them (though I'm not sure I see the point of a CoC that doesn't do at least the minimum).
  • You might have options for an in-person conference/event/meetup, online conference/event, or web site. For example, in the case of a conference, there might be mention of offensive imagery or language on slides or by speakers and not just attendees.
  • Along those lines, I generally recommend that CoC's for in-person events include a phone to call or text so that people can report issues immediately and even potentially anonymously. Some in person may also have staff available for reporting. Also, for in person events especially, the contact information, in my opinion, should be early and immediately accessible rather than at the bottom.

Again, just suggestions, but I like the work so far.

Collapse
mvoloskov profile image
Miloslav Voloskov Author

Oh, some valuable stuff here! Thanks a lot! I’ll think about that.

Collapse
andresreyesdev profile image
Andrés Reyes Galgani

Thank you so much!

Collapse
jess profile image
Collapse
mvoloskov profile image
Miloslav Voloskov Author

Thanks! I really appreciate that!

Collapse
diegohce profile image
diegohce

Brilliant!