nikitalogos / birthday_greetings_ai

Create outstanding birthday greetings for your loved ones, friends and colleagues! Use them right away, or take them as templates to spark your own creativity. Welcome to the present! Your birthday present! 🎁

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copter with a present

Birthday Greetings AI

Create outstanding birthday greetings for your loved ones, friends and colleagues! Use them right away, or take them as templates to spark your own creativity. Welcome to the future present! Your birthday present! 🎁

How to use

  1. Navigate to https://logosnikita.com/birthday_greetings_ai/
  2. Obtain a token from Replicate and paste it into the corresponding field
    1. You can skip this step and copy prompt for your favourite chatbot
  3. Click "Next" to get to "Params" tab
  4. Fill in data about a person you want to congratulate.
    1. You can just enter name and that will be enough, but to get more personalized greeting you may want to fill in other fields
    2. Params you enter will result in a prompt for AI model. You can see it below the input form.
  5. Press "Create greeting" to generate a greeting with Llama 2.
    1. You will get to "AI Response" tab. Please wait until AI creates a response.
    2. You can copy response to clipboard, regenerate response or export the entire dialogue as .txt or .json
  6. On "Params" page you can either copy prompt to clipboard to paste it into a different chatbot.
    1. For example: ChatGPT, Claude 2

Example results

Although this app uses Llama 2 as a language model, you can achive better results in bigger, but yet less accessible :( models.

For example, here's what I've managed to generate in OpenAI's GPT-4:

  1. Samurai Tiger's Birthday πŸ―πŸŽ‚ (verbose)
  2. Tiger's Samurai Birthday πŸ―πŸŽ‚βš”οΈ (laconic)

Integrations

Birthday Greetings AI supports passing params in url query:

https://logosnikita.com/birthday_greetings_ai/?name=Victor&date_of_birth=1798-07-30&use_age=false&use_zodiac_sign=true

Supported params

Parameter Format Example
name URL encoded Victor+Frankenstein
date_of_birth YYYY-MM-DD 1798-07-30
use_age true or false false
use_zodiac_sign true or false true

If you need more params for your application, feel free to contact me :)

Example integration

My another project, Birthday Reminder has integration with Birthday Greetings AI.

It creates birthday events in Google Calendar and adds a link to this app with pre-computed name, date_of_birth, etc. fields into the event description, so you can just click it from calendar or from email notification.

Tech specs

This app uses Python3 aiohttp server hosted at fly.io as a backend.

Frontend is built with Nuxt 3 framework and uses Vue 3, Pug and Sass. It also uses a few packages defined in package.json and some parts of Semantic.ui UI framework. It is hosted via Github Pages.

Licences

This app is licenced under MIT licence.

It uses Llama 2 language model developed by Meta, which is licenced under Llama 2 Community License Agreement

Llama 2 is served by Replicate.com under Replicate Terms of Use

Arts for web page were generated via Stable Diffusion XL at Clipdrop.co

Cover for this README.md was generated with Leonardo.Ai.

Support

If you like this project, leave star on GitHub :)

Related

If you like this project, you may also like my another project - Birthday Reminder!

This is a simple app to keep track of all birthdays you don't want to miss out.

About

Create outstanding birthday greetings for your loved ones, friends and colleagues! Use them right away, or take them as templates to spark your own creativity. Welcome to the present! Your birthday present! 🎁

License:MIT License


Languages

Language:CSS 50.7%Language:Vue 16.4%Language:Python 13.0%Language:TypeScript 11.6%Language:SCSS 6.6%Language:Makefile 1.0%Language:Shell 0.6%Language:Dockerfile 0.2%Language:JavaScript 0.1%