PraneshJs commited on
Commit
be100b6
·
verified ·
1 Parent(s): 2c4e2ee

changed word count

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -56,15 +56,15 @@ def build_structured_prompt(user_prompt, repo_data=None):
56
  "Use Emojies that relates"
57
  ],
58
  "link_format": "Plain text only - write 'GitHub: [INSERT YOUR GITHUB LINK HERE]' or 'Live Demo: [INSERT DEMO LINK HERE]'",
59
- "meta_commentary": "Never include section labels like (Opening Hook) or (First 250 words) in the final output"
60
  },
61
  "requirements": {
62
- "word_count": "Strictly 500-800 words",
63
  "tone": "Authentic, reflective, inspiring, conversational with strong storytelling",
64
  "style": "Narrative-driven, informative, slightly persuasive",
65
  "emoji_usage": "Use 8-15 emojis naturally distributed throughout the post (not clustered)",
66
  "readability": "Add blank lines between every major paragraph for easy scrolling",
67
- "opening_strategy": "First 250 words MUST be a complete, standalone hook that stops scrolling - no meta-commentary, just pure engaging content"
68
  },
69
  "structure_and_flow": {
70
  "paragraph_1": "Powerful hook - Start with a relatable question, bold statement, or common pain point (3-5 sentences)",
@@ -79,7 +79,7 @@ def build_structured_prompt(user_prompt, repo_data=None):
79
  "paragraph_10": "Actionable advice - 2-4 specific tips readers can apply (numbered naturally)",
80
  "paragraph_11": "Call to action - End with an engaging question that invites comments",
81
  "paragraph_12": "Links section - Plain text format:\n\nGitHub Repository: [INSERT YOUR GITHUB LINK HERE]\nLive Demo: [INSERT YOUR LIVE DEMO LINK HERE]",
82
- "paragraph_13": "Hashtags - 18-20 relevant hashtags in a single line or grouped naturally"
83
  },
84
  "content_requirements": {
85
  "first_250_words": {
@@ -127,12 +127,12 @@ def build_structured_prompt(user_prompt, repo_data=None):
127
  "must_avoid": "Generic CTAs like 'Let me know what you think' or 'Thanks for reading'"
128
  },
129
  "hashtag_strategy": {
130
- "quantity": "18-20 hashtags exactly",
131
  "mix": [
132
- "5-7 broad trending tech hashtags (#AI #MachineLearning #TechInnovation)",
133
- "5-7 specific technology/tool hashtags (#FastAPI #React #PostgreSQL)",
134
- "3-4 community hashtags (#BuildInPublic #100DaysOfCode #DevCommunity)",
135
- "2-3 action/mindset hashtags (#LearnByBuilding #ProblemSolving #Innovation)"
136
  ],
137
  "format": "All hashtags in one line or naturally grouped, separated by spaces",
138
  "relevance": "Every hashtag must be directly related to the project or broader tech community"
@@ -140,10 +140,10 @@ def build_structured_prompt(user_prompt, repo_data=None):
140
  "quality_checklist": {
141
  "before_output": [
142
  "Verify zero markdown symbols anywhere in the text",
143
- "Count words - must be 500-800",
144
- "Count emojis - must be 8-15",
145
- "Count hashtags - must be 18-20",
146
- "Check first 250 words - must be hook-only, no meta-commentary",
147
  "Verify blank lines between paragraphs for readability",
148
  "Ensure links are in plain text format with placeholder instructions",
149
  "Confirm tech stack uses • or numbers without markdown",
 
56
  "Use Emojies that relates"
57
  ],
58
  "link_format": "Plain text only - write 'GitHub: [INSERT YOUR GITHUB LINK HERE]' or 'Live Demo: [INSERT DEMO LINK HERE]'",
59
+ "meta_commentary": "Never include section labels like (Opening Hook) or (First 150 words) in the final output"
60
  },
61
  "requirements": {
62
+ "word_count": "Strictly 400-500 words",
63
  "tone": "Authentic, reflective, inspiring, conversational with strong storytelling",
64
  "style": "Narrative-driven, informative, slightly persuasive",
65
  "emoji_usage": "Use 8-15 emojis naturally distributed throughout the post (not clustered)",
66
  "readability": "Add blank lines between every major paragraph for easy scrolling",
67
+ "opening_strategy": "First 150 words MUST be a complete, standalone hook that stops scrolling - no meta-commentary, just pure engaging content"
68
  },
69
  "structure_and_flow": {
70
  "paragraph_1": "Powerful hook - Start with a relatable question, bold statement, or common pain point (3-5 sentences)",
 
79
  "paragraph_10": "Actionable advice - 2-4 specific tips readers can apply (numbered naturally)",
80
  "paragraph_11": "Call to action - End with an engaging question that invites comments",
81
  "paragraph_12": "Links section - Plain text format:\n\nGitHub Repository: [INSERT YOUR GITHUB LINK HERE]\nLive Demo: [INSERT YOUR LIVE DEMO LINK HERE]",
82
+ "paragraph_13": "Hashtags - 20-25 relevant hashtags in a single line or grouped naturally"
83
  },
84
  "content_requirements": {
85
  "first_250_words": {
 
127
  "must_avoid": "Generic CTAs like 'Let me know what you think' or 'Thanks for reading'"
128
  },
129
  "hashtag_strategy": {
130
+ "quantity": "20-25 hashtags exactly",
131
  "mix": [
132
+ "7-10 broad trending tech hashtags (#AI #MachineLearning #TechInnovation)",
133
+ "7-12 specific technology/tool hashtags (#FastAPI #React #PostgreSQL)",
134
+ "4-6 community hashtags (#BuildInPublic #100DaysOfCode #DevCommunity)",
135
+ "3-6 action/mindset hashtags (#LearnByBuilding #ProblemSolving #Innovation)"
136
  ],
137
  "format": "All hashtags in one line or naturally grouped, separated by spaces",
138
  "relevance": "Every hashtag must be directly related to the project or broader tech community"
 
140
  "quality_checklist": {
141
  "before_output": [
142
  "Verify zero markdown symbols anywhere in the text",
143
+ "Count words - must be 400-500",
144
+ "Count emojis - must be 10-15",
145
+ "Count hashtags - must be 20-25",
146
+ "Check first 150 words - must be hook-only, no meta-commentary",
147
  "Verify blank lines between paragraphs for readability",
148
  "Ensure links are in plain text format with placeholder instructions",
149
  "Confirm tech stack uses • or numbers without markdown",