DEV Community

Armaan
Armaan

Posted on

KodeStyle: Let's style the way we code and show!

This is a submission for the Cloudflare AI Challenge.

NOTE: I started editing this 10 mins before the deadline and now editing it at 3:37 pm IST, after 3 hours 37 minutes of the deadline, some features may not work now because of a revoked token, and please do NOT abuse the usage because the api only allows us the usage of 10k neurons, <- editing after help from an amazing developer from the cloudfare discord server!

What I Built

KodeStyle is a platform for developer that uses amazing AI models provided by cloudfare to do operational works to showcase our project ( devs' pov ), it helps us with creating customized beautiful readmes, analyse code, manage our social media posts, summarizes docs from a webpage using beautifulsoup, and let the developers have custom api keys and apis to run the following using python or any other programming language, it also has the feature to push readme directly to the repos using github rest apis!

Demo

Image description

Image description

Image description

Image description

Image description

Image description

Image description

Try it out here!

https://kode-style.vercel.app/

My Code

https://github.com/0Armaan025/kodestyle
https://github.com/0Armaan025/kodestyle-api
https://github.com/0Armaan025/kodestyle-ai-api

Journey

The journey started when I learned that there is this hackathon/event going on, I was really interested to polish my react skills with making something that will be really useful, so came the idea of making kodestyle, at the exact moment when I saw that we had to publish a blog about our project! it's been a tough journey because of assignments, late nights, and overflowing bugs.

Multiple Models and/or Triple Task Types

Our project uses these models:

@cf/stabilityai/stable-diffusion-xl-base-1.0 = used before to create images
@cf/openchat/openchat-3.5-0106 = tried to summarize docs
@cf/google/gemma-7b-it-lora = used for code review and analysis, and docs/readmes making
@cf/meta/llama-2-7b-chat-fp16 = used for posts (social media)

Made by me!

Thanks for organizing an amazing event, Dev.to and cloudfare team, thanks!

Top comments (0)