Skip to content

Commit 0904d35

Browse files
committed
Rename whole project
1 parent a74f0bc commit 0904d35

File tree

9 files changed

+36
-36
lines changed

9 files changed

+36
-36
lines changed
File renamed without changes.

LinkedInAi/asgi.py renamed to Linkedrite/asgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
ASGI config for LinkedinRewrite project.
2+
ASGI config for Linkedrite project.
33
44
It exposes the ASGI callable as a module-level variable named ``application``.
55
@@ -11,6 +11,6 @@
1111

1212
from django.core.asgi import get_asgi_application
1313

14-
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "LinkedinRewrite.settings")
14+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Linkedrite.settings")
1515

1616
application = get_asgi_application()

LinkedInAi/settings.py renamed to Linkedrite/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Django settings for LinkedInAi project.
2+
Django settings for Linkedrite project.
33
44
Generated by 'django-admin startproject' using Django 4.2.10.
55
@@ -56,7 +56,7 @@
5656
"django.middleware.clickjacking.XFrameOptionsMiddleware",
5757
]
5858

59-
ROOT_URLCONF = "LinkedInAi.urls"
59+
ROOT_URLCONF = "Linkedrite.urls"
6060

6161

6262
TEMPLATES = [
@@ -75,7 +75,7 @@
7575
},
7676
]
7777

78-
WSGI_APPLICATION = "LinkedInAi.wsgi.application"
78+
WSGI_APPLICATION = "Linkedrite.wsgi.application"
7979

8080

8181
# Database
@@ -142,5 +142,5 @@
142142
"rest_framework.throttling.AnonRateThrottle",
143143
"rest_framework.throttling.UserRateThrottle",
144144
],
145-
"DEFAULT_THROTTLE_RATES": {"anon": "50/day", "user": "50/day"},
145+
"DEFAULT_THROTTLE_RATES": {"anon": "10/day", "user": "50/day"},
146146
}

LinkedInAi/urls.py renamed to Linkedrite/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
URL configuration for LinkedinRewrite project.
2+
URL configuration for Linkedrite project.
33
44
The `urlpatterns` list routes URLs to views. For more information please see:
55
https://docs.djangoproject.com/en/4.2/topics/http/urls/

LinkedInAi/wsgi.py renamed to Linkedrite/wsgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
WSGI config for LinkedinRewrite project.
2+
WSGI config for Linkedrite project.
33
44
It exposes the WSGI callable as a module-level variable named ``application``.
55
@@ -11,6 +11,6 @@
1111

1212
from django.core.wsgi import get_wsgi_application
1313

14-
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "LinkedInAi.settings")
14+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Linkedrite.settings")
1515

1616
application = get_wsgi_application()

docs/Readme.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
<div align="center">
2-
<img src="icon.png" alt="LinkedInAi">
2+
<img src="icon.png" alt="Linkedrite">
33
</div>
44

5-
![GitHub commit activity](https://img.shields.io/github/commit-activity/:interval/zpratikpathak/LinkedinAI)
6-
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/zpratikpathak/https%3A%2F%2Fgithub.com%2Fzpratikpathak%2FLinkedinAI/Deploy%20to%20server)
5+
<!-- ![GitHub commit activity](https://img.shields.io/github/commit-activity/:interval/zpratikpathak/Linkedrite) -->
6+
<!-- ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/zpratikpathak/https%3A%2F%2Fgithub.com%2Fzpratikpathak%2FLinkedrite/Deploy%20to%20server) -->
77

88

99

10-
LinkedInAi 🤖 is a tool designed to help you craft professional LinkedIn posts. It can correct grammar, generate relatable context, add emojis 😃, format your post, and much more. You can use LinkedInAi in two ways: either by installing the extension or by visiting our website, [LinkedInAi](https://linkedinai.pratikpathak.com).
10+
Linkedrite 🤖 is a tool designed to help you craft professional LinkedIn posts. It can correct grammar, generate relatable context, add emojis 😃, format your post, and much more. You can use Linkedrite in two ways: either by installing the extension or by visiting our website, [Linkedrite](https://linkedrite.pratikpathak.com).
1111

1212
# Features 🌟
1313

14-
LinkedInAi offers a range of features to help you craft professional LinkedIn posts:
14+
Linkedrite offers a range of features to help you craft professional LinkedIn posts:
1515

16-
1. **Engaging First Line**: LinkedInAi writes an engaging first line that grabs the reader's attention and compels them to read the entire article. With AI-generated suggestions, you can create a captivating opening that piques curiosity and entices readers to explore the rest of your content.
17-
2. **Grammar Correction**: LinkedInAi can correct grammatical errors in your posts to ensure they are professional and polished.
18-
3. **Context Generation**: LinkedInAi can generate relatable context for your posts based on the initial input.
19-
4. **Emoji Addition**: LinkedInAi can add relevant emojis to your posts to make them more engaging.
20-
5. **Post Formatting**: LinkedInAi can format your posts to ensure they are easy to read and professional-looking.
16+
1. **Engaging First Line**: Linkedrite writes an engaging first line that grabs the reader's attention and compels them to read the entire article. With AI-generated suggestions, you can create a captivating opening that piques curiosity and entices readers to explore the rest of your content.
17+
2. **Grammar Correction**: Linkedrite can correct grammatical errors in your posts to ensure they are professional and polished.
18+
3. **Context Generation**: Linkedrite can generate relatable context for your posts based on the initial input.
19+
4. **Emoji Addition**: Linkedrite can add relevant emojis to your posts to make them more engaging.
20+
5. **Post Formatting**: Linkedrite can format your posts to ensure they are easy to read and professional-looking.
2121

2222
# Usage 🚀
2323

24-
Here's how you can use LinkedInAi:
24+
Here's how you can use Linkedrite:
2525

26-
1. **Install the Extension**: Install the LinkedInAi extension in your browser. Once installed, you can use LinkedInAi directly from your LinkedIn post editor.
27-
2. **Use the Website**: Visit [LinkedInAi](https://linkedinai.pratikpathak.com) and enter your initial post. LinkedInAi will generate a professional post for you.
26+
1. **Install the Extension**: Install the Linkedrite extension in your browser. Once installed, you can use Linkedrite directly from your LinkedIn post editor.
27+
2. **Use the Website**: Visit [Linkedrite](https://Linkedrite.pratikpathak.com) and enter your initial post. Linkedrite will generate a professional post for you.
2828

2929
For detailed usage instructions, please refer to the Installation section.
3030

3131

3232
# Installation 🛠️
3333

34-
You can install LinkedInAi using either Poetry or the requirements.txt file.
34+
You can install Linkedrite using either Poetry or the requirements.txt file.
3535

3636
## Install via Poetry 📚
3737

manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
def main():
88
"""Run administrative tasks."""
9-
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "LinkedInAi.settings")
9+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Linkedrite.settings")
1010
try:
1111
from django.core.management import execute_from_command_line
1212
except ImportError as exc:

rewrite/templates/rewrite/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<head>
66
<meta charset="UTF-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>LinkedIn AI Rewrite</title>
8+
<title>Linkedrite - AI Rewrite</title>
99
<link rel="icon" href="{% static './favicon.ico' %}" />
1010
<link rel="stylesheet" href="{% static './rewrite/style.css' %}" />
11-
<meta name="description" content="LinkedIn AI Rewrite is your go-to LinkedIn Post Generator. Generate professional, engaging, and AI-optimized LinkedIn posts with ease.">
11+
<meta name="description" content="Linkedrite - AI powered writer is your go-to LinkedIn Post Generator. Generate professional, engaging, and AI-optimized LinkedIn posts with ease.">
1212
</head>
1313
<body>
1414
<div class="post-box">
@@ -18,7 +18,7 @@
1818
alt="LinkedIn Post Generator Profile Picture"
1919
class="profile-pic"
2020
/>
21-
<span class="name">LinkedIn Rewrite</span>
21+
<span class="name">Linkedrite - AI Post Writer</span>
2222
<span class="privacy">Post to Anyone</span>
2323
</div>
2424
<div class="input-area">
@@ -68,20 +68,20 @@
6868

6969
<div class="blog-content">
7070
<div class="blog-header">
71-
<h1>LinkedIn AI Rewrite: Your LinkedIn Post Generator 🚀</h1>
71+
<h1>Linkedrite - AI powered writer : Your LinkedIn Post Generator 🚀</h1>
7272
<p>Generate professional LinkedIn posts with AI 🤖</p>
7373
</div>
7474

7575
<section>
7676
<p>
77-
Want to increase your LinkedIn engagement? LinkedIn AI Rewrite, your LinkedIn Post Generator, can help you generate professional posts with the help of AI. Simply enter your initial post input, and let the AI rewrite it in a more professional and engaging manner. Enhance your LinkedIn presence with LinkedIn AI Rewrite today! 🎉
77+
Want to increase your LinkedIn engagement? Linkedrite - AI powered writer , your LinkedIn Post Generator, can help you generate professional posts with the help of AI. Simply enter your initial post input, and let the AI rewrite it in a more professional and engaging manner. Enhance your LinkedIn presence with Linkedrite - AI powered writer today! 🎉
7878
</p>
7979
</section>
8080

8181
<section>
8282
<h2>About the Project 📖</h2>
8383
<p>
84-
LinkedIn AI Rewrite is a project aimed at helping LinkedIn users generate professional posts with the help of AI. It takes your initial post input and rewrites it in a more professional and engaging manner, enhancing your LinkedIn presence. It's your go-to LinkedIn Post Generator.
84+
Linkedrite - AI powered writer is a project aimed at helping LinkedIn users generate professional posts with the help of AI. It takes your initial post input and rewrites it in a more professional and engaging manner, enhancing your LinkedIn presence. It's your go-to LinkedIn Post Generator.
8585
</p>
8686
</section>
8787

@@ -107,9 +107,9 @@ <h2>Why You Should Write Posts on LinkedIn? 🖊️</h2>
107107
</section>
108108

109109
<section>
110-
<h2>Why Use LinkedIn AI Rewrite? 🤔</h2>
110+
<h2>Why Use Linkedrite - AI powered writer ? 🤔</h2>
111111
<p>
112-
LinkedIn AI Rewrite, your LinkedIn Post Generator, offers several benefits to users, including:
112+
Linkedrite - AI powered writer , your LinkedIn Post Generator, offers several benefits to users, including:
113113
<ol>
114114
<li>🤖 AI-Powered Content: Generate professional, engaging, and AI-optimized LinkedIn posts.</li>
115115
<li>🚀 Enhance Your Online Presence: Improve your LinkedIn profile visibility and reach with high-quality content.</li>
@@ -123,7 +123,7 @@ <h2>Why Use LinkedIn AI Rewrite? 🤔</h2>
123123
<section>
124124
<h2>How to Install 🛠️</h2>
125125
<p>
126-
You can install LinkedIn AI Rewrite, your LinkedIn Post Generator, by following these steps:
126+
You can install Linkedrite - AI powered writer , your LinkedIn Post Generator, by following these steps:
127127
<ol>
128128
<li>📚 <strong>Install via Poetry:</strong> Run the command <code>poetry run</code>. Make sure you have already installed Poetry. If not, run this command <code>pip install poetry</code><br>
129129
<div align="center"><strong>🔄 OR </strong></div><strong>Install via Requirements.txt:</strong> Run the command <code>pip install -r requirements.txt</code>.</li>
@@ -143,7 +143,7 @@ <h2>How to Install 🛠️</h2>
143143
<section>
144144
<h2>How It Works 🧠</h2>
145145
<p>
146-
LinkedIn AI Rewrite, your LinkedIn Post Generator, works by leveraging advanced AI algorithms to rewrite your LinkedIn posts. Here's a brief overview of how it works:
146+
Linkedrite - AI powered writer , your LinkedIn Post Generator, works by leveraging advanced AI algorithms to rewrite your LinkedIn posts. Here's a brief overview of how it works:
147147
<ol>
148148
<li>It uses GPT4 to analyse your post 📝</li>
149149
<li>After analysing, it finds common mistakes and improves them ✅</li>

rewrite/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def post(self, request):
8585
else:
8686
prompt += " Do not add hashtags."
8787
prompt += "\n Now rewrite this text: " + data["postInput"]
88-
print("Prompt:", prompt)
88+
# print("Prompt:", prompt)
8989

9090
# prompt = "Rewrite the following LinkedIn post to make it more engaging, attractive, and professional. Correct any grammar errors, maintain the same number of paragraphs and format, and use indirect speech. The post is public, so it should be clear and precise. Do not enclose the text in quotes or add blank spaces at the start or end of the text."
9191
# if data["emojiNeeded"]:
@@ -104,7 +104,7 @@ def post(self, request):
104104
prompt=prompt,
105105
max_tokens=1000,
106106
)
107-
print("Answer", response.choices[0].text)
107+
# print("Answer", response.choices[0].text)
108108
# removing starting and ending blank lines
109109
response.choices[0].text = response.choices[0].text.strip()
110110

0 commit comments

Comments
 (0)