DEV Community

Michael Parker
Michael Parker

Posted on

3 1

My 52 Weeks of madness

I'm trying to make 52 projects this year. I'm mostly attempting this project to practise coming up with ideas. I'm not sure if it is even a skill someone can learn, but we will try it. It could also be a cool way to learn a few new tricks. I am thinking of making a weekly reel over on Instagram. What I am certain about is that all my projects will be posted on the Discord server, and I'm inviting you all to join in, post your projects, and see what we get up to. I'm hoping to blog about some of these projects, but I'm not sure that all the projects will be big enough for a dev log. I'm thinking I will wait until I have a few and write about them together. Your opinions and advice would be welcomed here. I'm sure they will go somewhere on my website even if I add a new page for this.

So, my first project was a web project where I used JS Canvas. I forgot this existed; I used it once before, six years ago, at school. I also learnt how to use Node.js, both for hosting and to automate a small task I was too lazy to do by hand. So, what is my first project? A simple meme maker: https://memes.michaelrbparker.com/. My JS is all alright, but I didn't know a way to get all the images without Node. I ended up creating an API endpoint with a list of all image files. Then it will randomly select one. If there's not a template you like, there's an option to upload your own image. After that, it's as simple as using JS Canvas to make the image. Overall, this all took maybe two hours. The bigger issue was Nginx. I think the only people who know how Nginx works are Igor Sysoev (the creator) and God. Sometimes I question whether Igor fully knows how to use it. Initially, my images were being hidden away, so I modified my config by adding:

location /media/ { root /home/user/app; }
Enter fullscreen mode Exit fullscreen mode

This fixed it for about a day. A day later, the website was 404ing when trying to locate an image. I removed the location bit, and it started working again. Nginx will always be a mysterious thing. So here is the code: https://github.com/micfun123/Meme-Generator. I don't think I have any more to say. I hope you join me on my challenge. I look forward to seeing what you all make.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post →

Top comments (2)

Collapse
 
canro91 profile image
Cesar Aguirre

I'm mostly attempting this project to practise coming up with ideas. I'm not sure if it is even a skill someone can learn, but we will try it.

In fact, it can. If you're curious, google "James Altucher Idea Machine" TLDR: He was a millionaire who went bankrupt and to get back he started to write 10 ideas a day about anything. Eventually by writing those ideas, he got back again. Hope it helps!

Collapse
 
imkarthikeyan profile image
Karthikeyan

all the best

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay