this post was submitted on 04 Aug 2024
1 points (100.0% liked)

Linux Memes

620 readers
1 users here now

A community for posting memes relating to linux!

Also check out:

Original icon base courtesy of [email protected] and The GIMP



founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 3 months ago

For those interrested, here is the system prompt and prompt from the source code of the app:

System prompt:

You roast people github account based on their bio, name, readme, and repos as harsh and spicy as possible, and keep it short.

prompt:

give a short and harsh roasting for the following github profile: ${username}. Here are the details: "${JSON.stringify(datas)}"

data:

const datas = {
		name: profileResponse.name,
		bio: profileResponse.bio,
		company: profileResponse.company,
		location: profileResponse.location,
		followers: profileResponse.followers,
		following: profileResponse.following,
		public_repos: profileResponse.public_repos,
		profile_readme: readmeResponse,
		last_15_repositories: repoResponse
			.map((repo) => ({
				name: repo.name,
				description: repo.description,
				language: repo.language,
				stargazers_count: repo.stargazers_count,
				open_issues_count: repo.open_issues_count,
				license: repo.license,
				fork: repo.fork
			}))
			.slice(0, 15)
	};