Skip to content
← Back to Community
Community Rules and Guidelines [README]
Profile icon
h
has Hacker Plan
TheDrone7

Rules

Welcome!

The Replit community is a place for users to share code, ask questions, and discuss coding-related subjects. We're committed to making it a fun and cool space for both aspiring and experienced programmers. To that end, we need to lay down some ground rules.

  • General Rules
  • Share Section
  • Ask Section
  • Tutorial Section
  • Templates Sections
  • Extra Information

General Rules

Don't plagiarize

Don't pretend you made something you didn't make. When people find out, they'll lose respect for your work. Instead, if you forked someone's repl or based your code off an existing project, then give credit to the original author.

Here's the section from Replit's ToS on plagiarism:

We respect the intellectual property rights of others. It is our policy to respond to any claim that User Content posted on the Service infringes on the copyright or other intellectual property rights ("Infringement") of any person or entity.

This means at the very least we'll take down plagiarized posts and repls, and if this persists we will take action against the user.

You can learn more about plagiarism here.

Replit ToS

You are required to follow all of Replit's Terms of Service. This includes promoting no illegal activity, even unintentionally. We also disallow sharing proxies and similar stuff for the same reason.

Be friendly

Be kind to your fellow replers. Never insult people or their work. We have zero-tolerance towards bullying.

Keep it SFW

Keep it clean, or SFW (safe for work). If you wouldn't show it to a 10-year-old or your grandma, don't post it. This includes swearing.

Zero tolerance for hate speech

Any abusive or threatening writing that expresses prejudice against a particular group, especially based on race, religion, or sexual orientation, will result in an immediate ban.

No controversial posts

We have people from all around the world with their own different opinions on different subjects. Therefore, we ask you to not discuss anything that can give rise to heated arguments such as politics or religion.

Don't advertise

Don't make posts or comments advertising non-programming creations or sites.

Don't farm cycles

Do not make alternate accounts to upvote your own posts or comments. Do not ask people to upvote your comments or posts or ask people to mark your answer as the right one. Replit ensures all this is clearly visible and even people who are new to the platform know it right away. If you do so, you are only annoying the other person so don't do it.

Don't mass upvote people's posts or comments

Do not upvote every comment or post on a person's profile for the sole purpose of giving them more cycles.

Other languages

We have recently decided to allow people to post in all languages starting now, you can create a post in any language you prefer. We currently do not have moderators for all languages, therefore, if we receive a report about your post for some other reason, you will be definitely warned or even banned right away.

Age

If you are found to be underage, you will be banned. However, if you show some sort of parental consent to [email protected] or [email protected], you can be unbanned.

Therefore, if someone is under 13, they can still continue to use the services with parental consent and supervision.

Common sense

Common sense applies to all these rules. There are no "bending the rules". Don't try to find a flaw in the wording and use it to your advantage.


Share Section

An awesome feature of Replit is sharing your code with the community!

However, posts have to meet a certain standard, otherwise, they will be unlisted.

Posts are judged by moderators on a case to case basis, but there are some general guidelines:

  1. Have a proper description - tell us what your repl is about, why you made it, how we should interact with it, etc.

  2. Show a decent amount of quality - Low-quality repls will be unlisted. Since this is subjective, posts will be judged on a case-to-case basis.

  3. Be creative - don't post homework assignments, we want to see your creativity!

Trying to go through some of the hot/top posts of Replit to get a sense of what's accepted and what's not.


Ask Section

When asking a question, make sure to be descriptive, but also concise about your problem. Tell us where the error is, and also how you expect your repl to run. Linking your repl also helps a lot.

Make sure to also have a specific problem. Vague questions or questions that ask others to write code for them will be unlisted.

Example of a bad question:

My C++ code isn't working. When I run it, it shows an error. Please help.

Example of a good question:

My C++ code is producing an error in file lib.hpp and function parse(). When I run it, the exception invalid_argument is thrown. After some debugging, I think it has to do with me using stoi on line 47, but I'm not sure why. How can I fix this?

It is also important to be open to constructive criticism. If you're asking for help with your code, you should expect some level of critique.

This also goes for answering questions. Try to fully answer their problem or give critiques about their code, while also being respectful at the same time.

If the question author has forgotten to select your comment as the answer after acknowledging that it was the correct solution, you may remind them to press the checkmark. In any other situation, it is not acceptable to ask for your comment to be selected as the answer.


Tutorial Section

Want to help people learn? Here's the place for you! In this section, you can post tutorials on anything programming-related for the community to learn from!

However, make sure your tutorial covers a specific topic and is fairly descriptive in a readable and concise manner.

Providing code snippets along the way, or linking a repl can be extremely helpful as well. Images and screenshots can also work towards helping readers.

Try to think from the reader's point of view: What might be confusing or what questions might they have?

And be ready to provide support. Readers might ask questions or give you feedback. Engaging with your users is a great way to become a better writer.

Tutorials that are messy and do not present themselves in a proper format will be unlisted.

Here is an example of a good tutorial.


Templates section

Have some interesting code that you think other people might use? Made a useful function for interfacing with Replit's DB, or logging an object's state? The template section is for you!

Also note if it is good enough, we may also add it to our official templates which you can check out for what qualifies as a good template.

It is important to make sure that your template is actually a template. If you made a game, post it on share.

It also helps to provide a detailed description of your template, and how to customize it or use it.


Extra Information

If you've found a bug on the website, want to contact Replit support, OR want to share some feedback, submit it using the "Get help" (Question mark icon) button on the sidebar.

If you want to report a user, or you believe you were unfairly warned/banned, submit an appeal at https://contact.moderation.repl.co/ If you feel like the mods are still being unfair, feel free to E-Mail [email protected]

These rules are ever-evolving, and the last update to them was on May 11th, 2021.

Voters
Profile icon
EnZon3
Profile icon
TheDrone7
Comments
hotnewtop
Profile icon
Bookie0

Yay new rules!

A few things I'd add as I see them very often:

  • For tutorials (or anytime you include code), if you include code blocks, please add syntax highlighting by adding the language name after the 3 backticks (`):

Screen Shot 2021-04-19 at 11.06.37 AM

print("Hello World!") # syntax highlighting is pog!

(Python: py, C++: cpp, Javascript: js, HTML: html, CSS: CSS, etc.)


  • When you post a quesiton in the ask board, please include a repl, don't just paste all your code on the post

Also, I've seen many posts asking where the .env files are, I'm just putting it here so hopefully they can see it:

You can't make .env files anymore, you'll have to use this new GUI by clicking the lock icon in the sidebar (near where the files are kept). Then you just enter the name of a key and its value. And in the repl, you do import os, and my_secret = os.environ['name of your key here']. Good luck! :)
Screen Shot 2021-04-15 at 8.08.10 PM

  • Finally, useful links that people never seem to find on their own:

Bugs:

In sidebar on left, press Get help:
Screen Shot 2021-04-19 at 11.11.55 AM

Click Report a bug and fill in the form.

Screen Shot 2021-04-19 at 11.12.24 AM

Feedback

https://replit.canny.io/general-feedback

Introduce yourself

https://repl.it/talk/announcements/Introduce-yourself/16061

CLI to change username, recover deleted repls, change fav langs, view warns, etc.

https://replit.com/~/cli

Replit discord server

https://discord.com/invite/5gcPC6B

Well that's about all! :)

Profile icon
[deleted]

@Bookie0
Please support .env again.
I am using an application requiring leveldb, and I can't store data in secrets like this. It's inefficient and requires elevation.
That's why I use .env files for this reason. They should usually be hidden in most cases.

Profile icon
Th3Coder

Hello, I'd like to ask a question:

Age

You are not allowed to use Replit if you're under the age of 13. If you are found to be underage, you will be banned. However, if you show some sort of parental consent to [email protected] or [email protected], you can be unbanned.

Wait, so people under the age of 13 can't even use Replit for coding? I thought they simply can't use Replit Talk... is this just a mistake or have the rules been updated?

Thanks!

Profile icon
TheDrone7

@Th3Coder it's only applicable to talk and they can use talk too if they have parental consent. If they don't have parental consent, they get an education account that lets them go through the posts but not create or comment on posts.

Profile icon
TheDrone7

@mechtank I don't really know the details as I'm not a dev but I know the IP is logged for every community interaction.

Profile icon
StringentDev

@TheDrone7 Some details of the TOS are a bit vague:

[DO NOT ] Use the Service to "mine" bitcoins and other cryptocurrencies;

if you:

  • create your own crypto currency
  • create a miner for it
  • make it use little resources
    But you also:
  • Redirect users to set up their miner on a hosting platform like Vercel or locally
  • Only use repl.it for the project when it is at a small scale like testing and education
  • Give a cut to any repl.it mods and employees (because why not?)

Would it be allowed to create the cryptocurrency?

PS I already asked @CodingCactus but he redirected me to the tos which was not helpful in the slightest (sorry CodingCactus but I do read the tos)

A perfectionist walked into a bar...

  • apparently, the bar wasn’t set high enough.
Profile icon
PatrickAtReplit

@StringentDev Patrick from Replit here. Feel free to do cryto-related projects on Replit, but do not use Replit for mining. We pay attention to high resource consumption repls and if they're being used to mine crypto, we'll limit your resources or remove you from the site (after giving a warning).

Profile icon
StringentDev

@PatrickAtReplit ok thanks. My idea was to get users to try not to use replit, like compiling the repl for local system use (on thier own computer) or on a different platform if it allows it.

Profile icon
StringentDev

@PatrickAtReplit im currently trying to 1) reduce resource footprints and 2) add a smart way to set up a minter (purposeful misspelling as the cypto im making is called Mint.) I am trying to take precautions as much as possible as ik blockchaining is a process intensive task, meaning im currently researching ways to limit CPU usage. Sadly i cannot monitor the the CPU usage to i had to install via install-pkg HTOP.

Profile icon
StringentDev

@PatrickAtReplit Ok, Good news, i have managed to CPU limit the script (minter.js) to only 15% max by using the cpulimit npm module

Profile icon
PatrickAtReplit

@StringentDev Appreciate you taking that precaution, but even at reduced CPU usage, mining is still against the ToS. If you're just learning/hacking around, keep everything on Replit. Once you (or others) start doing actual mining, please use another service for that portion of the project. Someone could always easily fork your miner and remove the CPU limit.

Profile icon
StringentDev

@PatrickAtReplit thats exactly my point. Plus, if someone does edit it, then it is not really my problem as it is a SEP (somebody else's problem). All i can say is forking from github; users still take responsibility for forking it as it is still thier action. I cannot control that factor due to Github not allowing me to get the Education Pack because I moved my Github account and the email (I only have one school email.) This means I cannot set my repls to private.

Once you (or others) start doing actual mining, please use another service for that portion of the project.

I have basically stated the same thing for the actions i will take:

[...] compiling the repl for local system use (on thier own computer) or on a different platform if it allows it.

I do not intend to mine on replit as I only use it for 2 things, developing applications and hosting webpages as replit is my only IDE and does a good job at what it is supposed to do. I'd also have more luck on a Pentium D.

I am only testing in short, spursed intervals for bug checking.

In short, I am only using replit for testing and developing this project, not mining or hosting a miner in any shape or form.

Profile icon
PatrickAtReplit

@StringentDev That sounds perfect,thanks.

Profile icon
DungeonMaster00

@StringentDev use your own machine for cryptomining. however, good luck finding an rtx 3090 to mine it. and also, do some gaming as well so you are not a huge problem for people who want to build the gaming pc of their dreams.

Profile icon
StringentDev

@DungeonMaster00 mate, cpu mining is a thing.

Profile icon
bigbotboi

@DungeonMaster00 just get make a internet bot and scrape them up, lol

Profile icon
StringentDev
retracted for misunderstanding
Profile icon
Antelear

@StringentDev Yeah, makes sense. But, why crypto-mine on a website, either way? Even if I don't understand crypto-mining well, I do know for sure a better way is to mine it on your PC locally, not that I'm saying it's the best, but it definitely works from what I understand.

Furthermore, crypto-mining on a website is confusing enough, why would you do that in any scenario..? It's honestly dumb if you ask me, lol.

Profile icon
StringentDev

@Opalmime It is more for building the crypto-currency.

Profile icon
Evanlicious

@StringentDev Sorry for necroposting, but I believe the person named "bigbotboi" is talking about scraping prices/listing for graphics cards, not related to crypto-mining. Unless they're talking about what you said where they are getting hashes that are posted online, but it would make more sense if they were talking about the graphics cards being scalped.

Profile icon
StringentDev

oops, sorry @Evanlicious @bigbotboi for the confusion. It's just that it can mean either thing, so i probs misinterpreted that. (Im such an idiot for both confusing the message and acting in the way i did.)

Profile icon
Evanlicious

@StringentDev Everybody makes mistakes! I can understand where you got confused at. You're not an idiot for making a simple mistake, the only thing that can make a person an idiot is not learning from their mistakes.

Profile icon
StringentDev

@Evanlicious

the only thing that can make a person an idiot is not learning from their mistakes.

Well true.

Profile icon
ch1ck3n

@StringentDev stop arguing everyone

Profile icon
StringentDev

@ch1ck3n (Last time i did that was a pretty long time ago, but ik what you're pointing at)

I have now retracted the statement.

Also, i have a bunch of ideas but being a perfectionist is a pain so I always end up withdrawing them for not "being good enough" or "having the potential to be used by others". Currently I'm planning out a donation platform like BuyMeACoffee, Kofee and Patreon with some of its own features and I'm afraid I'll end up withdrawing it again meaning I don't get anything out there. I do not know how to approach this, does anyone have any ideas of how I can deal with this?

^ that looks like bad SPAG waiting to happen
Profile icon
StringentDev

@ch1ck3n @Evanlicious @bigbotboi sorry for the way i reacted , i do acknowledge that there where better ways to react.

Profile icon
bigbotboi
Profile icon
StringentDev
Profile icon
Pokecrazy

@PatrickAtReplit How is it that you can use the solidarity starter template even though it's an ethreum mining tool. I have not tried much with it but does it do some other strange thing or does it actually use Replit servers.

Profile icon
PatrickAtReplit

@Pokecrazy you're welcome to code miners on replit (if it's helpful to use our IDE for collaboration/sharing/forking), but you can't run the miners on our platform. we monitor for mining repls and shut them down

Profile icon
StringentDev

@PatrickAtReplit Wait, what if you are debugging?

Profile icon
CooperS16

Biggest man

Profile icon
Blackout4344

I have a question, I tried to change my email for my account but whenever I try it, it says you've already set your email once. Can someone help me?

Profile icon
Blackout4344

also this is my first time trying to change my email @Blackout4344

Profile icon
hoadao3493

Your article is very good and useful, thank you for sharing, https://mig8.asia/ hopes that next time you will have more good articles to send to all readers.

Profile icon
reshiramcoderr

Hi! there are so many people violating this rule it saddens me. just scroll on the welcome (fox/dog gif) post a few lines and more:
Keep it SFW

Keep it clean, or SFW (safe for work). SOOOOOOOOOOOOOO many ppl swear/say innapropriate things here it infuriates me
sorry for the rant guys u_u but happy coding and wear your seatbelt! (theodd1sout!)

Profile icon
reshiramcoderr

@reshiramcoderr correction: dog Introduce yourself! dog instead of welcome but check both

Profile icon
CooperS16

cringe

Profile icon
Fweak

Love the rules! Quick question: how the frick am I supposed to join the Discord Server, when

  1. Nayoar#1242 has tons of friend requests therefore mine doesnt get accepted
  2. They're the person to talk to when you have a issue on the discord linking to replit part
  3. I can't link my discord because an old account is linked and there's no way to remove it. So im stuck with a ghost account.
    Lmk if theres anything I can do.
    Discord: chris*#4284
Profile icon
JustinGrant

I do a lot of technical writing, and IMHO this post is the best-written example of community rules that I've ever seen. Each sentence has clearly been reviewed and polished to a shine; nothing wasted in there. Best of all, it explains clearly why each rule exists in language that kids (and adults too!) can relate to, e.g. "When people find out, they'll lose respect for your work." Really great work! Thanks for putting in what I'm sure was a lot of effort to get it right.

Profile icon
TimeDragon

Hello. I have one quick question: Why do the ToS say to be 13+?

Profile icon
TheDrone7

@TimeDragon As per American Laws, it is illegal to store the personal data of people under the age of 13. Since replit is USA-based and does store personal data, a user needs to be 13 years or older. Although it has been designed so certain parts of the website do NOT track your data. This was done to allow the young to explore the world of coding as well.

Profile icon
TimeDragon