Share your repls and programming experiences

← Back to all posts
Jam Submission: Code Daily
h
amasad

Code Daily

Code Daily is an app that encourages you to code daily. I remember reading about the comedian Jerry Seinfeld and how he stopped procrastinating writing jokes by having a calendar where he marked the days that he wrote and because he didn't want to break his streak, he would be motivated to write every day!

So to motivate you to code every day and to become the Seinfeld of programming I made this app. Basically, you open it every day -- maybe it's even your browser homepage -- and you simply say what you're hacking on and check-in! The app will calculate your streak and will show you how many days you've coded in a row. It also maintains a log of your check-ins that will be fun to read in the future.

I had a lot more ideas for the app but:

  • my coding is rusty because I've been doing more business and management lately
  • I had some family obligations

But that's all excuses! Here is my roadmap -- if you're interested in helping, let me know in the comments and I'll invite you:

  • Send emails or notifications before the day is over so you don't miss a day
  • Render a calendar to show you which days you coded
  • Allow you to add friends and keep each other accountable
  • Give you awards or prizes for hitting streaks and let you share on social media

Let me know what you think!

UPDATE: Announcing leaderboard

On the landing page, you'll now see a leaderboard with the programmers with the most check-ins (please do not spam it on purpose to get to the top, I will find out). If you're logged in you can also go to /leaders to see the leaderboard.

UPDATE 2: Domain and Team

Voters
PixiGem
mollthecoder
SiddhantKcode
Nayoar
figglediggle
MarcusWeinberger
pewpewpiedipie
AgastyaSandhuja
Highwayman
objobj
Comments
hotnewtop
PyCoder01

@amasad Did the devs make the dark mode yet for the website? (repl.it)

shawnpj83

@PyCoder01
Just logged back in after like a year and that's the first thing I started wondering too!

Bookie0
PyCoder01
Bookie0
PyCoder01

@Bookie0 I will not view anything of mat1. His repl's are cursed!

Bookie0
HarperframeInc

@PyCoder01 haha I can do that too.

amasad
HarperframeInc

@amasad shhh - The file system in repl.it is really just ~/repl-name-here, therefore you can treat your repl as just a directory/folder - doing rm main.sh will remove the file.

I use it as a space saving strategy sometimes.

HarperframeInc

@PyCoder01 Yes, yes he is.

HarperframeInc

@Bookie0 Tapermonkey script is broken

Bookie0

@HarperframeInc huh it works for me

Coder100

wowowow pog amasad used my template?

Codemonkey51
PyCoder01

@Coder100 POGCHAMP

Kudos

@Coder100
What I'm looking at right now is genius HTML syntax highlighting for ejs!

JBloves27
realTronsi

@Coder100 no thats just a way of using ejs with express

Coder100

@realTronsi hm, i mean not really

realTronsi

@Coder100 Yes really, when I was a web dev I used that and I didn't even know you had some "ejs template" which you probably just used preexisting code you found on the internet/books and mashed it together

Coder100

nah, I made that template myself @realTronsi

realTronsi
realTronsi

@Coder100 unless you're the inventor of express and added app.engine then contributed to the ejs source code and then wrote that article, I'm 99% sure you did not invent app.engine("html", ejs.renderFile)

realTronsi

@Coder100 so could you improvise by what you mean as "I made that template myself"?

HarperframeInc

@realTronsi So all your asking is proof

realTronsi

@HarperframeInc he was talking about how he came up with

rediar

@realTronsi I think he meant repl.it templates
https://repl.it/templates

Codemonkey51

cool, a wild @amasad in its natrual habitat: replit

RayhanADev
PyCoder01
Whippingdot
darknew

Just ~ How??
clean, simple, efficient, (slow af), perfect

amasad

@darknew Thanks! How I made it? And what is slow?

darknew

@amasad Ahah the how was my reaction when I saw the replit login, and yes, it was a bit slow to load (I thought it was broken at first). But in general, I find it really clean and classy

generationXcode

I actually needed this. Thanks! also could you add a feature (maybe later) where I can schedule what I would want to do in the future? That would be epic

generationXcode

adding to that also make it so that I can see all the logs of the day instead of one per day?

amasad

@generationXcode good point, let me try to fix this right now and make it support multiple check-ins per day.

generationXcode

@amasad thanks!

amasad

@generationXcode okay fixed!

realTronsi

@amasad to add on, maybe removing entries as well?

generationXcode

@amasad hehe sorry for overloading you with feature requests but can you make it so that two messages that are the same one after the other show up as one? or you can start a github repo so I can work on that if u dont have time. Thanks

amasad

@generationXcode I just added you to the development team, see the update above for more info

generationXcode

@amasad epic. I'll work on it during my free time.

BobTheTomatoPie

man i expected there to be more js, this is cool af

amasad

@BobTheTomatoPie the only frontend JS I have is for auth!

BobTheTomatoPie

damn nice dude @amasad

PyCoder01

@BobTheTomatoPie Fun fact: amasad us the CEO and is chill with pings, ping him as much as you want!

BobTheTomatoPie

i dont get it man, you got some kind of problem? I ping him 2 times on his own post man, and im fully aware hes the ceo, i dont see why you gotta be sarcastic about this, why dont you go comment this on every comment on this post. Because just by responding to me you pinged him and just by commenting anyone will ping him if its on his post, and i dont see that he had a problem with my compliment @PyCoder01

sooparch

Me: I’m going to login
Repl.it: An Error occured:
Failed to authenticate :(

amasad

@sooparch are you on safari

RayhanADev

oh @amasad, why does Repl Auth not like Safari
and if possible, can you make the modal customizable xd

Codemonkey51

safari hates repl auth. (Also can I help out?) @amasad

[deleted]

lol i have most entries

mathurahravigul

Hi @amasad, I am interested in joining the development team! I love the concept of this website. I've developed these two websites in the past: https://mathu-learns.netlify.com/ - to track the things I'm learning every day and also https://we-all-learn.netlify.app/ for others to track the things they are learning in the browser. I'd love to apply what I learned from these projects to encourage people to continue practicing their development craft consistently.

AgastyaSandhuja

epic

TigLearner

It seems to be no longer available.

GEISTCODER

U R GOOD

sushritha1

Wow! It's awesome!

TalinSharma

Maybe I can help with the email thing... Cool!
PHP

programmeruser

@TalinSharma the PHP mail function is insecure, and doesn't work on repl.it

TalinSharma

Oh... Thanks for letting me know.
@programmeruser

LingWu1

How does everyone do this...I'm literally going mad.

RicardoGonzlez1

i wanty an invite

JBloves27

Pretty cool!

Kudos

You could add

At the end of all the HTTP handlers and add a 404.html file to create a 404 page.

RayhanADev

@Kudos or even better:

ofc at the end of all handlers!

Kudos

@RayhanADev
You're quite the #backticklover

Jackbaklava

How did you make it in only 2 days?!? BTW, # POG website

Plorzon

I love it! As someone who procrastinates writing code and instead watches youtube.com videos, this is really great!

TheCheeseCoder

cool!

Whippingdot

I pinned this, thanks a LOT maker of Repl. You are AWESOME!

Codemonkey51

Hiya @amasad, I know you get lotsa pings (and emails), could I help out with the project. thx. Have a great day

amasad

@Codemonkey51 yes I'm thinking about the best way to collaborate. I'm thinking of creating a development fork of the repl and invite people who want to contribute and then when we're ready I copy over the code.

Unless you have other ideas?

I'll do it tomorrow.

amasad

@Codemonkey51 I just added you to the development team, see the update above for more info

Codemonkey51

@amasad ok thx for adding me!!!!

PyCoder01

@amasad You should buy a domain for the website, like replcodedaily.com

PyCoder01

@amasad Or add it to repl.it like codedaily.repl.it

amasad
PyCoder01

@amasad the website is so freaking slow

PyCoder01

@amasad btw, how do you use repl auth

firefish

@PyCoder01 well i can show (must use express however)

Smart0ne

Wow! :D

Bookie0

Also @amasad maybe a max number of chars? or adjust the border of the table because I, uhh, spammed, a bit lol!!

And small thing (might be me overreacting) but perhaps add space between -- and table, and capitalize the t of `table? :))))

badst
Bookie0
amasad

@Bookie0 I just added you to the development team, see the update above for more info. Feel free to fix.

Bookie0

Thanks! :D unfortunately, I don’t rly do web development, but I’ll read the readME and add my suggestions! ;) @amasad

Bookie0

yay nice, amasad is back in repl talk pog!!

Suggestion: when you're on this page:

mebbe option to log out/go back to homescreen to check out other people's leaderboards! :D

EpicRaisin

@Bookie0 You can go to /leaders as well

Scoder12

Using { extended: true } with bodyParser can lead to type confusion. And you don't need it anyway since its built into express app.use(express.urlencoded()).

[deleted]

me with microsoft excel: ._.

HahaYes

HahaYes this is pog