DEV Community

Cover image for How I built my first Open Source project with ChatGPT and Next.js. 10k users in 24 hours 🤯
Iuliia Shnai
Iuliia Shnai

Posted on • Updated on

How I built my first Open Source project with ChatGPT and Next.js. 10k users in 24 hours 🤯

Small intro, I never coded before and it looked super hard to me and 2 months ago I decided why not now.🤷‍♀️

My friends suggested me to start with Open Source projects and also helped me with first simple steps for the set up.

I used ChatGpt practically for every move I made from figuring out how to set smth up, install, connect API to what the code means, how to rewrite the functions or change the sizes.

Now I am gonna tell a bit more about the first project I build.

What you will find in this article?

What am I doing GIF

Me evolving from 🥚 to 🐥

🥚 Step 1. Setup environment
🥚 Step 2. Find open source projects and build on top
🐣 Step.3 Figuring out the code
🐣 Step 4 Building the project
🐥 Step 5 Pushing the project
🐥 Step 6.Sharing on social (stats here)

It took me a week to figure out everything and launch the project on Linkedin. From moment I set up things (which was quick, 1-2 hours with some help). Then managing existing code from OS projects (3-4 days). And push to Github and Vercel (took one day).

What is the project I built?

Linkedin Post Generator - post generator to create AI generated posts on LinkedIn. https://www.postgenerator.app

On GitHub https://github.com/shnai0/linkedin-post-generator
Use it to build your own post generator.
👀 for new forks and stars :)

Linkedin Post Generator

Below I share all the stats for first days of launch and becoming viral on LinkedIn.

Why Linkedin Post Generator?

First I was experimenting with Linkedin platform for quite some time.

I spend a lot of time for writing posts on linkedin, like 1 hour per post at least and was thinking on shortcut.🤯

So, I analysed 100+ different creators and 300+ different prompts to find the ways to generate more effective posts faster.

So, here I am gonna share the basics of what I did step by step.

🥚 Step 1. Setup environment

Set up tea

Before I get started, I get recommendation to set up a package manager, like tea to handle development environment.

🥹 These words are still unknown at this point "a package manager"

sh <(curl https://tea.xyz)

# --- OR ---
# using brew
brew install tea

Enter fullscreen mode Exit fullscreen mode

As I get it tea help installing node, npm, vercel and any other packages I need for development.

So all in one.

Setting up Next.js with TypeScript and Tailwindcss

I had a basic understanding that I need smth for front end.

I was taught to start by generating a new Next.js project. Also using TypeScript and Tailwind CSS, so followed these steps:

npx create-next-app

# ---
# you'll be asked the following prompts
What is your project named?  my-app
Would you like to add TypeScript with this project?  Y/N
# select `Y` for typescript
Would you like to use ESLint with this project?  Y/N
# select `Y` for ESLint
Would you like to use Tailwind CSS with this project? Y/N
# select `Y` for Tailwind CSS
Would you like to use the `src/ directory` with this project? Y/N
# select `N` for `src/` directory
What import alias would you like configured? `@/*`
# enter `@/*` for import alias
Enter fullscreen mode Exit fullscreen mode

🥚 Step 2. Find open source projects and build on top

I used these two Open Source projects:

  1. Twitter Alghoritm https://github.com/coryetzkorn/twitter-algorithm So I could rate the post input from users based of what is the algorithm of Linkedin.

Twitte alghoritm

2.Twitter Bio generator

https://github.com/Nutlope/twitterbio
This one helped me to figure out how to connect Open.AI and generate with it posts for Linkedin. In current code it generated BIO

Twitter Bio generator

To set and open each of the projects separately I downloaded them as zip on my computer

Start with open source

🐣 Step.3 Figuring out the code

So I kind of was shocked with what I see and could not figure out anything in the beggining.

So what I did I asked ChatGPT about basic structure of my application.

I copied every page code in it and ask what it does, and basically ask how to make changes. So I start getting a better idea, where is front of application, where is CSS.

I still have no full idea of everything and missing the stuff but I think it is definitely quick learning.

Some of the request I made to ChatGPT were super basic, and now look really clear to me, at those point I asked everything, all stupid questions.

Change color request in ChatGPT

🐣 Step 4 Building the project

So after figuring out some basics I move on making my own changes. start building application on top of these projects.

It has two parts =Ranking + Generator

Linkedin Post Generator Alghoritm

Ranking is ranking your post based on different criteria which increase performance.

I adapted algorithm for what is know for Linkedin, using the functions:

  1. Function to detect multiple hashtags
  2. Function to detect image or video
  3. Function to detect urls in post
  4. Function to favor posts that use emojis
  5. Function to promote negative content
  6. Function to prioritize break like post formatting.
  7. Function to reduce line length
  8. Function to ask questions

In comparison with Twitter algorithm, Linkedin is not public.


// function to detect multiple hashtags
function multipleHashtags({ post }: PostData): Rank {
  const regex = /#[\w-]+/g;
  const hashtags = post.match(regex);
  const lowerCasePost = post.toLowerCase();

  if (hashtags && hashtags.length > 3) {
    return {
      score: 0.5,
      message: `Too many hashtags.`,
    };
  }
  if (hashtags && hashtags.length <= 3) {
    if (
      lowerCasePost.includes("#follow") ||
      lowerCasePost.includes("#comment") ||
      lowerCasePost.includes("#like")
    ) {
      return {
        score: 0.5,
        message: `Avoid using hashtags like "follow," "comment," or "like".`,
      };
    }
    return {
      score: 1,
      message: `Combine general and specific hashtags.`,
    };
  }

  return {
    score: 1.0,
  };
}

// function to detect image or video
function imageVideoBoost({ postMedia }: PostData): Rank {
  const has_media = postMedia;
  if (has_media) {
    return {
      score: 2.0,
      // message: `Contains image or video.`,
    };
  }
  return {
    score: 1.0,
  };
}


// function to detect urls in post
function postHasUrl({ post }: PostData): Rank {
  const regex =
    /https?:\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:/~+#-]*[\w@?^=%&amp;/~+#-])?/g;
  const urls = post.match(regex);
  if (urls && urls.length > 0) {
    return {
      score: 0.5,
      message: `Remove the link from post and add in comments.`,
    };
  }
  return {
    score: 1.0,
  };
}


/**
 * Function to favor posts that use emojis 
 */
function emojis({ post, sentiment }: PostData): Rank {
  const regex = new RegExp("[\uD800-\uDBFF][\uDC00-\uDFFF]", "g");
  const emojis = post.match(regex) || [];
  const totalMatches = emojis.length;
  if (totalMatches > 0) {
    return {
      score: 1.5,
      // message: `Included ${totalMatches} emojis in the post.`,
    };
  }
  return {
    score: 1,
    message: "No emojis found in the post.",
    type: "negative"
  };
}


/**
 * Promote negative content because it's more likely to go viral.
 * Hide anything positive or uplifting.
 */
function sentiment({ post, sentiment }: PostData): Rank {
  if (sentiment.comparative >= 0.5) {
    if (sentiment.comparative > 1.5) {
      return {
        score: 1.5,
        // message: `Exceptionally positive.`,
      };
    } else {
      return {
        score: 1.1,
        // message: `Positive sentiment.`,
      };
    }
  } else if (sentiment.comparative <= -0.5) {
    if (sentiment.comparative < -1.5) {
      return {
        score: 0.5,
        // message: `Exceptionally negative.`,
      };
    } else {
      return {
        score: 0.9,
        // message: `Negative sentiment.`,
      };
    }
  } else {
    return {
      score: 1,
    };
  }
}

/**
 * Prioritize break like post formatting.
 */
function lineBreaks({ post, sentiment }: PostData): Rank {
  const breaks = post.split(/\n\s*\n/);
  const totalBreaks = breaks.length - 1;
  if (totalBreaks >= 1) {

    return {
      score: 1.5,
      // message: `Used ${totalBreaks} line breaks.`,
    };
  } else {
    return {
      score: 1,
      message: `Add line breaks between the lines.`,
      type: "negative"
    };
  }
}

/**
 * Reduce line length
 */
function lineLength({ post }: PostData): Rank {
  const lines = post.split('\n');
  let score = 1.0;
  for (let i = 0; i < lines.length; i++) {
    if (lines[i].length > 200) {
      return {
        score: 0.9,
        message: `Reduce line length to improve readability (200 characters).`,
      };
    }
  }
  return {
    score: 1,
    // message: `Good, keep line length 200 characters or less.`,
    type: "positive"
  };
}
/**
* Function to ask questions
*/
function questions({ post, sentiment }: PostData): Rank {
  if (post.includes("?")) {
    return {
      score: 1.5,
      // message: "Great! Questions can help to activate discussion"
    };
  } else {
    return {
      score: 1,
      message: "Add questions to activate discussion",
      type: "negative"
    };
  }
}

Enter fullscreen mode Exit fullscreen mode

User interface of algorithm

It detect all function in the above code and for some of them shows how to improve post. I did not adjust it for all functions.

  return (
    <>
      <div>
        <div className="slider bg-gray-300 h-4 rounded-full relative overflow-hidden">
          <div
            className={classNames(
              "absolute top-0 transition-width duration-250 ease-linear h-20",
              sliderColor
            )}
            style={{ width: percentage }}
          />
        </div>
        {/* <p className="explanation text-gray-600 italic text-sm mt-2">
          Positive rankings result in greater reach 
        </p> */}

        <ul className="mt-5 p-0">
          {positive.map((item, index) => (
            <li
              className="positive text-green-600 flex items-center space-x-2 list-style-none my-5 text-sm"
              key={`positive-${index}`}
            >
              <span>👍</span>
              <span>{item.message.replace(/\(\s*[+-]?\d+\s*\)/, '')}</span>
            </li>
          ))}
          {negative.map((item, index) => (
            <li
              className="negative text-red-600 flex items-center space-x-2 list-style-none my-1 text-sm"
              key={`negative-${index}`}
            >
              <span>👎</span>
              <span>{item.message.replace(/\(\s*[+-]?\d+\s*\)/, '')}</span>
            </li>
          ))}
        </ul>
      </div>
      <style jsx>{`
        .slider:after {
          content: " ";
          display: block;
          width: 2px;
          height: 20px;
          position: absolute;
          top: 0;
          left: calc(25% - 1px);
          background: #000;
        }
      `}</style>
    </>
  );
};

Enter fullscreen mode Exit fullscreen mode

Ranking results

Open AI Api and Prompts Generator

I use handle Prompt to generate the post. Also there were filter for types, so I had 5 different prompts based on type.
I just connected my OpenAI API for it.

const handlePrompt = () => {
    let prompt;
    switch (vibe) {

Enter fullscreen mode Exit fullscreen mode

Prompt below

 prompt = `Generate post using this prompt, based on ${post}.  You are a LinkedinGPT, a large language model that generates viral posts for Linkedin. You are given a prompt of a post and must generate a post that is more likely to be liked and reposted than the original post.
The Linkedin algorithm contains boosts and demotions based on what you are writing. Positive boosts are:

- in each post add emoji
- 200 characters in sentence maximum
- Start each sentecnce from new line and ad numbers in first 2 lines
- add 3 hashtags which 2 are generic and one very specific (at the end) Tags relate to post theme
- add a question at the end of the post to start a discussion. Before the hashtags
- first two lines should be catchy
- Dont add links - links are not good.
- If post copied in the field contain some numbers keep them the same.

Add idea about which image or visual can be added at the end of the post (this text is not counted as part of post)
${post}
---
Generated post length must be more than 800-1200 characters
---
Between each line must be a space
---
Keep all mentions of people in there
---
Start the firs line from smth like: I did smth, In year, I do, Tired of, Sometimes it is just, A path toward, Because this is not,I've been struggling,  (change the begginign depends on the context )
---
Add emoji if it fits
---
It should be a story`;
Enter fullscreen mode Exit fullscreen mode

Generator interface

This is my index file. From of the post generator.


      <main>
        <nav className="bg-blue-900 text-white ">
          <div className="px-5">
            <div className="max-w-5xl mx-auto">
              <div className="flex justify-between items-center h-16 ">
                <div className="flex items-center text-base ">
                  <a target="_blank"
                    href="https://www.linkedin.com/in/iuliia-shnai/"
                    rel="noreferrer"
                    className="text-white flex max-w-fit items-center justify-center space-x-2 text-xl"
                  >
                    <p>👩‍💼</p>

                  </a>
                </div>

              </div>
            </div>
          </div>
        </nav>
        <section className="py-10 lg:py-20 ">
          {/* bg-[url('/image1.svg')] */}
          <div className="px-4">
            <div className="max-w-5xl mx-auto">
              <div className="w-full mx-auto">
                <h1 className="text-6xl text-center font-bold pb-1 text-slate-900">

                  Linkedin Post Generator  🚀
                </h1>
                <p className="mt-3 mb-10 text-center">
                  See how your post performs and generate a better one with AI. Time to go viral. <br />

                </p>
                <div className="flex flex-col md:flex-row w-full md:space-x-20">
                  <div className="flex md:w-1/2 flex-col">
                    <h2 className="text-xl font-bold">
                      Your Ranking
                    </h2>
                    <div className="pt-1">
                      <Ranking ranking={ranking} />
                    </div>

                    <div className="w-full my-1 mx-auto">
                      <Post
                        post={post}
                        setPost={setPost}
                        media={media}
                        setMedia={setMedia}
                      />
                    </div>

                    <div className="flex mb-5 items-center space-x-3">


                    </div>
                    <div className="block">
                      <DropDown vibe={vibe} setVibe={setVibe} />
                    </div>
                    <div className="my-4">
                      <button
                        disabled={loading}
                        onClick={(e) => optimizePost(e)}
                        className="bg-blue-800 font-medium rounded-md w-full text-white px-4 py-2 hover:bg-blue-600 disabled:bg-blue-800"
                      >
                        {loading && <LoadingDots color="white" style="large" />}
                        {!loading && `Generate new post `}
                      </button>
                    </div>

                  </div>
                  <div className="flex md:w-1/2 md:flex-col">
                    <Toaster
                      position="top-right"
                      reverseOrder={false}
                      toastOptions={{ duration: 2000 }}
                    />
                    {optimizedPost && (
                      <div className="my-1">
                        <div className="flex justify-between items-center pb-2 border-b border-gray-300">
                          <h2 className="text-xl font-bold">
                            Your Generated Post
                          </h2>
                        </div>
                        <div className="max-w-2xl my-4 mx-auto">
                          <div
                            className="bg-white rounded-xl shadow-md p-4 hover:bg-gray-100 transition cursor-copy border"
                            onClick={() => {
                              navigator.clipboard.write([
                                new ClipboardItem({
                                  "text/html": new Blob([optimizedPost], { type: "text/html" }),
                                }),
                              ]);
                              toast("Post copied to clipboard", {
                                icon: "📋",
                              });
                            }}
                            key={optimizedPost}
                          >
                            <p className="text-black-700" dangerouslySetInnerHTML={{ __html: optimizedPost }} />
                          </div>
                        </div>
                      </div>
                    )}

                  </div>
                </div>
              </div>
            </div>
          </div>
        </section>
        <div className="max-w-5xl mx-auto">
          <Footer />
        </div>
      </main>
    </>
  );
}

Enter fullscreen mode Exit fullscreen mode

Main generator page

🐥 Step 5 Pushing the project

Final step, I was ready to push.

I create repository on GitHub

$ git remote add origin .. 
git branch -M main
git push -u origin main
Enter fullscreen mode Exit fullscreen mode

And further on created account on Vercel, to push it with Vercel and check errors.

Every updates than I pushed via

git add .

git commit -m “fix type”

git push
Enter fullscreen mode Exit fullscreen mode

For checking errors I used, so that I dont push with all errors. ChatGPT helped with fixing errors a lot, while I did not even understand how to find them.

npm run build
Enter fullscreen mode Exit fullscreen mode

🐥 Step 6.Sharing on social and gathering feedback

As it was linkedin project I dropped the post there. and it got Viral with 200k views and haters even:)

Link to post
https://www.linkedin.com/feed/update/urn:li:activity:7053373191133499392/

Stats in first 24 h:
⭐️ 20000 Linkedin impressions
⭐️ 7000 website views
⭐️ 600 likes
⭐️ 11000+ posts generated
⭐️ 3+ haters
⭐️ 3+ joint project offers

Image description

What am I doing now?

I am building different micro-tools and contributing to existing open source projects.

If you like this article and would like to support me on my coding journey, here one of the new open source project I am on.

Papermark.io - open source alternative to Docsend

Give us a star ⭐️

Image description

It is a document/Pitchdeck sharing with analytics build in. I had so many troubles with Docsend before, when I was trying to raise capital that it annoyed me a lot.

So I think, it would be cool to have Open Source alternative, if project will grow.

If you are building something in Open Source, share, I am curious to fork it 👀

Follow my journey, more micro-projects here https://linktr.ee/shnai

My Twitter https://twitter.com/shnai0

Top comments (71)

Collapse
 
iskandarreza profile image
Iskandar Reza

"Some of the request I made to ChatGPT were super basic, and now look really clear to me, at those point I asked everything, all stupid questions."

If you only knew what my (and probably many others who call ourselves"IT professionals ") Google queries used to be when I code, and now I'm doing the same thing with ChatGPT lmao

Collapse
 
incrementis profile image
Akin C.

Yes, and sometimes I'll ask Bard a question and then google to see if Bard is telling the truth. I still have "trust issues" with AI when it comes to professional work :).

Collapse
 
iskandarreza profile image
Iskandar Reza

Yes, the public chat versions are not to be trusted completely, especially for things where some guesswork may present itself. I think it's because they set the "temperature" parameter to a figure above 0. It's what gives it that generative AI imagination (or we call them hallucinations if it's supposed to generate non-fiction).

If you send a request to the API endpoint with the temperature set to 0, the model will not try to be so creative. It's pretty decent with code generation as long as the tasks are broken down to smaller steps and you ask it to solve each step individually.

Collapse
 
shnai0 profile image
Iuliia Shnai

That is smart. I did not have any issues though, as I have no idea fully what I am doing:) So ChatGPT was all I had:)

Thread Thread
 
olddutchcap profile image
Onorio Catenacci

That's part of the problem with ChatGPT. If you ask it a question which you know the answer to: "Who was the 16th President of the United States?" and it gives you the wrong answer: "Andrew Jackson" well that's easy to tell that ChatGPT got it wrong. But what about a question you don't know the answer to? Then how do you tell if ChatGPT is correct or not?

Have you seen this news story? A Man Avianca Airline. His Lawyer Used ChatGPT This was a legal professional who should have known better but he trusted ChatGPT when he shouldn't have. ChatGPT can simply make up stuff that simply isn't true. And if you can't tell that it's not true then you can be responsible for peddling falsehoods.

I know the pride of accomplishment of building something and having people use it and I'm sure not trying to rain on your parade. But you need to be aware that ChatGPT has some very real limitations about telling reality from fiction and if you can't sort out what's true and what isn't ChatGPT can't do that for you.

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks for sharing Iskander! Sometimes I feel I am the only one who ask so many basic things there. or like trying to figure out very general stuff.

Collapse
 
lyfewyse profile image
lyfewyse

Hah, python newbie over here. If you only saw my ChatGPT history, you're not alone 😆

Thread Thread
 
shnai0 profile image
Iuliia Shnai

hahahahah love it

Collapse
 
dwn77 profile image
dwn77

Hello! Like many here, I asked my questions to GPT, about codes and others, I was trying to create a facial recognition app, for here at the entrance to my house! At first I found it interesting, many things worked and others didn't, I was trying to solve this and that, and then the question came to me, does gpt understand the functionality of the code now, since its learning was in 2021 for a short period of time and we are in 2023! How did you manage to solve this, when building your code?
My congratulations for the creativity!

Collapse
 
shnai0 profile image
Iuliia Shnai

Hi! Actually a good point.

I face couple of problems like that.

When I install smth of new version but code was for older version as written with ChatGPT.

I than solve it installing previous version.

Which is not great.

But alternatively need to check the installation online.

Also I wanna start now with GitHub copilot , maybe it gives more fresh recommendations. Do u know?

Collapse
 
dwn77 profile image
dwn77

Hey! You're right, installing a previous version is a "good way out and option to consider!" if it does not conflict with other, more current applications.
I've been looking today for tutorials that help me solve things like that in a more practical way, and from what I've noticed, many opt for virtual machines to solve this! in own dev.to found something, about it! Take a look, maybe this will help you too!
dev.to/victorosilva/setup-ubuntu-f...

Regarding github co-pilot, I have nothing to tell you, I'm walking that road too! If you get something great, I appreciate it if you can share it with me!

Collapse
 
tleperou profile image
Thomas Lepérou

Beneficial to your learning process, I'll invite you to deepen your reading of customising Tailwind. Interesting and essential topic I think.

👉 tailwindcss.com/docs/customizing-c...

Pretty funny way to get into that field. Inspiring!

Collapse
 
shnai0 profile image
Iuliia Shnai

Nice!
Is this one will let me have more custom colors?

I used everywhere bg-blue-600 ( I mean couple of numbers of this one blue) and black and white.
Also in other project i used slate.

Collapse
 
tleperou profile image
Thomas Lepérou

Correct. By customising Tailwind at the build level, you open your project to infinite possibilities

🚀

Thread Thread
 
shnai0 profile image
Iuliia Shnai

I need to advise with my coding assistant about "build level meaning and details:))) But cool I will try to use these custom colors for new project.

Thanks Thomas.

Thread Thread
 
shnai0 profile image
Iuliia Shnai

Oh I get it about color now.
Actually the results it gives did. not work.

I did not manage to set at the end custom colors. Now looked at the screenshot in the article and understand that don’t remember it even:)

Collapse
 
codingjlu profile image
codingjlu

The progress in 2 months is absolutely insane. 🚀

Collapse
 
shnai0 profile image
Iuliia Shnai

This one was build in 1 week. 🤩

But of course the last 2 months I am kind of figuring out still how to code and build similar projects :)

Collapse
 
codingjlu profile image
codingjlu

Best of luck!

Thread Thread
 
shnai0 profile image
Iuliia Shnai

Thanks so much! I will share it goes:)

Collapse
 
sauraodalvi profile image
Saurao Dalvi

Did you read or watching something specific like some good resources you would like to share?

Thread Thread
 
shnai0 profile image
Iuliia Shnai

Actually main resource was ChatGPT 4 which I asked all questions while figuring out the code.

I did not actually watch tutorials. It gives me all, installation, suggestions on how to push and resolve issues.

Collapse
 
pixelpowerweb profile image
Jeremy Blanchard

Agreed!

Collapse
 
annetawamono profile image
Anneta Wamono

Thanks for sharing and I really appreciate how you explained your thought process when learning from ChatGPT. Recently I asked it to help me with frontend testing with Python and Selenium (both I'm unfamiliar with) and within 30 minutes I had program running. There is something very empowering about starting from 0 knowledge to having enough to actually build something.

Collapse
 
shnai0 profile image
Iuliia Shnai • Edited

Annette agree 100%

What I think is important it can help to really learn faster as you use real project here as a learning.

Not online course. And just in place trying to figure out the things

Yes you know 0 first but if you persistent can learn the things much faster.

Collapse
 
sasidhar_gadepalli profile image
sasidhar Gadepalli

Very interesting article, thanks for sharing. Btw, where did you get all the memes/Gifs from ?

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks for support.

Giphy of course, but I am customizing them there:)

Collapse
 
pixelpowerweb profile image
Jeremy Blanchard • Edited

The only stupid questions are the ones not asked. If it helped you figure something out (albeit basic) then I think it's good to ask questions. Congrats on your project! Super exciting stuff! Fascinating read 🤘

Also, makes me want to be more involved in open source projects! Must be very satisfying 😊

Collapse
 
shnai0 profile image
Iuliia Shnai

Very satisfying! 100%

Thank you for feedback Jeremy! Definitely lets build more in Open Source space.

Collapse
 
aqsa81 profile image
Aqsa81

Congratulations on successfully building your first Open Source project with ChatGPT and Next.js! It's impressive to see how you attracted 10k users in just 24 hours. Your blog post provides valuable insights into your journey and the challenges you faced. Keep up the great work, and I look forward to seeing your future projects!

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks:)

There is no clear idea how it attracted so many users.

I launched after other projects and they did not. So vitality is a mystery.

Collapse
 
adityasbook profile image
adityasbook

Thank you, @shnai0! You are truly an inspiration to me. You provide clear guidance on how to start and what to do. Please keep posting—I'll be sure to follow you. :)

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks for support!
I will continue posting:)

Collapse
 
maurerkrisztian profile image
Krisztián Maurer

Congrats! Thanks for sharing

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks Krisztian!
Making my first steps:)

Collapse
 
biagruot profile image
Biagio Ruotolo

Nice job!
I'm wondering how much are you spending in OpenAI APIs and how do you think to monetize it to have at least a return :)

Collapse
 
shnai0 profile image
Iuliia Shnai

Around 1$ per day - it is 1000 generations.

I actually have no idea, I feel like to make payment getaway does not worth it, so not enough value with product in it state.

It can be a good side project to attract more traffic to main business related to social, which I dont have. So no idea yet:))

Any thoughts?

Collapse
 
oferlis profile image
Ofer Lis

What an amazing progress! well done!

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks Ofer!

Collapse
 
bennycode profile image
Benny Code

I very much like the outcome of it. Thanks for sharing your micro-project with us. ❤️

Collapse
 
shnai0 profile image
Iuliia Shnai

Thanks for support Benny!

Collapse
 
shaichikorel profile image
Shai

Great ! Thanks for sharing

Collapse
 
shnai0 profile image
Iuliia Shnai

🤩

Collapse
 
derlin profile image
Lucy Linder

This is great, and congrats!

But am I the only developer here feeling upset about this?

I mean, you spend years working on your skills, you make open source projects on your spare time and try to craft good articles on your own to get maybe 23 stars on github and 5 reactions on dev.to. And then you see posts like this (awesome, don't get me wrong), 2k+ stars and everyone excited.

I don't like using GPT, as I have no satisfaction whatsoever on the results when most of the work is not mine. But I guess it is my problem, and I need to start looking for new hobbies, because obviously I can't compete with that anymore. It saddens me, but I really want to give up.

I hope that what is such a bad thing for me will at least be a good thing for the society at large.

Anyhow, congrats again, and sorry for my rumblings.

Collapse
 
iskandarreza profile image
Iskandar Reza

Yeah I was skeptical with GPT when it first came out last year. I've been coding for donkeys years too. But the first time I asked it for ideas to accomplish some task that would probably require some programming, it gave me a solution that I would never have considered because I was completely ignorant that such a thing exists. The initial code it generated was crap, but there was enough there to give me a good idea of how it works, so I just had to break it down to smaller parts and fiddle around with the prompts I fed it, and I was able to complete a custom tool to run the task in a couple of hours. It would have taken me two days of Googling with dozens of open tabs to stack overflow to just figure my first step.

Collapse
 
iegort profile image
Iegor Timukhin

Hi, don't be upset :) software development is about human interaction, understanding and describing business requirements and constraints, and creating complex solutions. And any AI can't do this by itself, yet :)