A livery sharing collection/database website for PB Formula Truck, similar to Trading Paints for iRacing. Written in Go using Gin
ChatGPT, Github Copilot for code assistance/review + tab completion
A livery sharing collection/database website for PB Formula Truck, similar to Trading Paints for iRacing. Written in Go using Gin
ChatGPT, Github Copilot for code assistance/review + tab completion
ftpaints is an website/app for sharing and storing livery data such as images, roblox texture id, etc for the PB formula truck league. Works in a really simple way, you login via Roblox OAuth2, and then you can upload your own liveries, and you don’t need to be logged in to view other liveries. I hate docker setup, I will never be doing it again, it was a waste of about 35 minutes of my life. Using gin is really nice, it’s really simple, writing middleware is easy, it has everything I needed. Obviously comparing Go to something like next.js is comparing a living cow compared to an already made cheeseburger, in Go you have to control the flow, next.js has everything set up nicely for you. Overall I’m happy with how it turned out with the time, I procrastinated on it too much, but still got it finished. Go and Gin are awesome
Final devlog probably, at last, after an all nighter, procrasting on this project till the very last hour, I have gotten everything working. Not everything was added but I shall still claim victory and feat. Overall very proud of this tho, golang is good, probably not the best choice for websites like this, tbh performance is good so it probably is worth it, but still.
I hate docker but im only using it because containerization
Very awesomesauce
Log in to leave a comment
Wow
Idk if I can add the individual post delete button in time but I shall try
Log in to leave a comment
Final stretch 3am lets get this done fr
Some stuff left to do:
peak fr
Log in to leave a comment
A lot of work in this one and very awesomesauce progress ts tuff on fonem
The layout kinda sucks but I don’t have any better design ideas and it does it’s job, so good enough. I guess the next logical thing to work on is the livery collection frontpage with sorts and allat
I also gotta actually add the logo as a favicon.ico cause rn it doesnt exist and no favicon looks ugly in browsers ofc
I still don’t regret golang and gin for this despite it taking way longer than it would’ve with svelte or next.js or whatever. Trust the process
Log in to leave a comment
Got the SQL and upload working now, epic
Uploaded images are available via /uploads (or /public/uploads), no frontend for viewing the published liveries exists yet, so I have the choice of working on either the individual livery view, or the collection view first, I’ll prolly just do the individual view first.
Log in to leave a comment
Progress on getting uploads working:

Log in to leave a comment
Time to speedrun ts since flavortown ends in 2 days and exams are over for me so I actually have time now
Very awesome changes and stuff working woah:
Stuff to do next probably:
Kaboom
Log in to leave a comment
Finished up the OAuth woohoo
Pretty much hard stuff is done now, I think, so I can start actually working on the frontend and handling uploads and yadayada, and I’ll also have to figure out the best way to do reusable components, aweeeeeeesome
Log in to leave a comment
Progress update, i kinda fucked up and lost about 35ish minutes of work because I was working on the project on my laptop, I was also trying out GoLand (which sucks, I’m sticking to VSC), anyways I committed the files to git, BUT, i forgot to push, and then alas, I switched from fedora to cachyos because my laptop is a tractor, and then when I tried to git pull on my PC, it said it’s up to date, I check my laptop, the project files aren’t there, so that’s great. Anyways, current progress is working on getting the login to work and be persistent, I had a docker-compose file on the laptop, which I’ll have to recreate, to use postgresql as the database, goose for SQL migrations, and ofc I gotta finish up this unfinished oauth callback and then I’ll see what’s next
Log in to leave a comment
Aight so I decided to make this project/website because the ro-racing league I’m in supports making custom liveries for some cars, but there’s no “database” or anything similar to keep track of, or share liveries reliably, so why not make something similar to Trading Paints (a iracing livery collection/app) to keep liveries with data such as texture id, tags, which car type, team, etc. I decided to go with golang for this since gin-gonic (basically express.js for Go) makes stuff hella easy, and using templates is nice as well, I could’ve used next.js but that’s lame and boring and next.js consumes 1gb ram something something. Anyways, plan is to use: Gin-gonic, postgres, and get minio setup on my homelab for screenshot uploads and such. Only concern is how I’ll figure out reusable components like the navbar and footer and allat since react would make that easy but ofc I can’t use react here, only pure html+css+js. Anyways, so far I’ve setup some basic stuff, such as a uptime tracker, router setup, readme and license, very minimal stuff. So that’s that, Go is very cool. 
Log in to leave a comment