import random import pyperclip import json import os from datetime import datetime class RedditStoriesGenerator: def __init__(self): # Розширений список імен self.male_names = [ "Alex", "Daniel", "Michael", "David", "James", "Robert", "John", "William", "Richard", "Thomas", "Christopher", "Charles", "Matthew", "Anthony", "Mark", "Donald", "Steven", "Paul", "Andrew", "Joshua", "Kenneth", "Kevin", "Brian", "George", "Timothy", "Ronald", "Jason", "Edward", "Jeffrey", "Ryan", "Jacob", "Gary", "Nicholas", "Eric", "Jonathan", "Stephen", "Larry", "Justin", "Scott", "Brandon", "Benjamin", "Samuel", "Gregory", "Alexander", "Patrick", "Frank", "Raymond", "Jack", "Dennis", "Jerry", "Tyler", "Aaron", "Jose", "Henry", "Adam", "Douglas", "Nathan", "Peter", "Zachary", "Kyle", "Noah", "Alan", "Ethan", "Jeremy", "Lionel", "Angel", "Mason", "Evan", "Sean", "Carl", "Luke", "Marcus", "Jordan", "Connor", "Ian", "Harrison", "Carter", "Isaac", "Gabriel", "Oliver", "Logan", "Lucas", "Liam", "Owen", "Caleb", "Hunter", "Adrian" ] self.female_names = [ "Mary", "Patricia", "Jennifer", "Linda", "Elizabeth", "Barbara", "Susan", "Jessica", "Sarah", "Karen", "Nancy", "Lisa", "Betty", "Helen", "Sandra", "Donna", "Carol", "Ruth", "Sharon", "Michelle", "Laura", "Emily", "Ashley", "Emma", "Olivia", "Sophia", "Ava", "Isabella", "Mia", "Abigail", "Madison", "Heart", "Sofia", "Avery", "Ella", "Scarlett", "Grace", "Chloe", "Victoria", "Riley", "Aria", "Hailey", "Hannah", "Aaliyah", "Brooklyn", "Camila", "Layla", "Leah", "Natalie", "Jamie", "Zoe", "Nora", "Claire", "Veronica", "Kate", "Anna", "Rachel", "Maria", "Christina", "Amy", "Angela", "Nicole", "Samantha", "Katherine", "Christine", "Deborah", "Rachel", "Carolyn", "Janet" ] # Розширені родинні стосунки self.family_relations = { "brother": {"ua": "брат", "age_range": (16, 45)}, "sister": {"ua": "сестра", "age_range": (16, 45)}, "mother": {"ua": "мама", "age_range": (35, 65)}, "father": {"ua": "тато", "age_range": (35, 70)}, "cousin (male)": {"ua": "кузен", "age_range": (18, 40)}, "cousin (female)": {"ua": "кузина", "age_range": (18, 40)}, "uncle": {"ua": "дядько", "age_range": (30, 60)}, "aunt": {"ua": "тітка", "age_range": (28, 60)}, "stepbrother": {"ua": "зведений брат", "age_range": (16, 45)}, "stepsister": {"ua": "зведена сестра", "age_range": (16, 45)}, "sister-in-law": {"ua": "своячeнка/невістка", "age_range": (20, 50)}, "brother-in-law": {"ua": "зять/свояк", "age_range": (20, 50)}, "stepmother": {"ua": "мачуха", "age_range": (30, 55)}, "stepfather": {"ua": "вітчим", "age_range": (32, 65)}, "grandmother": {"ua": "бабуся", "age_range": (55, 85)}, "grandfather": {"ua": "дідусь", "age_range": (55, 85)}, "best friend": {"ua": "найкращий друг", "age_range": (16, 50)}, "roommate": {"ua": "сусід по кімнаті", "age_range": (18, 35)}, "ex-boyfriend": {"ua": "колишній хлопець", "age_range": (18, 45)}, "ex-girlfriend": {"ua": "колишня дівчина", "age_range": (18, 45)}, "half-brother": {"ua": "зведений брат", "age_range": (16, 45)}, "half-sister": {"ua": "зведена сестра", "age_range": (16, 45)}, "mother-in-law": {"ua": "свекруха/теща", "age_range": (45, 70)}, "father-in-law": {"ua": "свекор/тесть", "age_range": (45, 75)}, "daughter-in-law": {"ua": "невістка", "age_range": (20, 45)}, "son-in-law": {"ua": "зять", "age_range": (22, 50)}, "godmother": {"ua": "хрещена мама", "age_range": (30, 65)}, "godfather": {"ua": "хрещений тато", "age_range": (32, 70)}, "family friend": {"ua": "друг сім'ї", "age_range": (25, 60)}, "neighbor": {"ua": "сусід", "age_range": (20, 70)}, "coworker": {"ua": "колега", "age_range": (22, 65)}, "boss": {"ua": "бос", "age_range": (30, 65)}, "landlord": {"ua": "орендодавець", "age_range": (35, 70)}, "business partner": {"ua": "діловий партнер", "age_range": (25, 65)} } # ЗНАЧНО розширені типи конфліктів з реалістичними варіантами self.conflict_categories = { "betrayal": [ "The night before my wedding, my fiancé slept with my cousin to humiliate me publicly; everyone at the wedding saw, and I ended up collapsing with a panic attack in front of the priest.", "Last year, my business partner embezzled all my savings and blamed me to the IRS; I faced legal action and spent weeks hospitalized from stress-induced chest pains.", "During the summer break, my sibling dated my ex on purpose to ruin my love life and reputation; my friends and colleagues stopped talking to me, and I lost 10kg from anxiety.", "My parents secretly sold my inheritance last Christmas to fund a hidden criminal operation; I was left homeless and had to live in a shelter for a month.", "A hacker leaked my private photos and forged messages online during my birthday, making me look insane; I developed severe insomnia and social anxiety after that.", "Last spring, my best friend conspired with my enemies to get me arrested for something I didn't do; I spent three terrifying nights in police custody and suffered intense panic attacks.", "My mentor sabotaged my career last March, framed me for plagiarism, and took my promotion; I lost my health insurance and faced severe migraines from stress.", "During a rough winter, my partner sold all my personal belongings to buy drugs while pretending to care; I had to sleep in my car for two nights and caught a severe cold.", "Someone uploaded my diary online last October, revealing my deepest secrets to strangers; I received death threats and lost 5kg in one week from stress.", "Last year, my closest friend secretly manipulated my friends and family against me through social media; I was socially ostracized and experienced severe depression.", "My cousin stole my identity last June, drained my accounts, and disappeared without a trace; I faced eviction and had to stay in a homeless shelter temporarily.", "During the holidays, my ex seduced my sibling just to break my heart completely; I ended up hospitalized after fainting from emotional shock.", "My parents convinced everyone I was mentally unstable last fall to take control of my life; I was involuntarily admitted to a psychiatric ward and medicated against my will.", "Someone forged evidence last summer making it look like I committed fraud; the bank froze all my accounts, leaving me without money for months.", "Last winter, my children were brainwashed against me by someone I trusted; I developed severe anxiety attacks and had to seek therapy.", "My lifelong project was stolen and publicly claimed by a colleague who humiliated me at a conference last year; I suffered migraines and sleepless nights from stress.", "During the pandemic, someone pretended to support me while systematically ruining my relationships; I became isolated, lost weight, and developed chronic headaches.", "A friend used my mental illness against me last January for personal gain; I ended up in the ER after a severe panic episode.", "I was fired from my dream job after years of dedication last June because someone envied me; I lost health benefits and struggled with depression.", "Last winter, my partner emptied our joint account and vanished, leaving me penniless; I had to skip meals and catch a cold sleeping in a friend's couch.", "I was framed for violent crimes I never committed last March by a trusted ally; I spent nights in jail and developed severe PTSD.", "Someone exploited my trauma last September and threatened to reveal it unless I paid them; I experienced panic attacks and insomnia for months.", "My deepest insecurities were mocked publicly last year at my workplace; I fainted from emotional shock and required medical attention.", "My childhood pet was poisoned last summer by a jealous relative to hurt me emotionally; I suffered intense grief and mild depression.", "Someone deliberately tried to destroy my bond with my children last Christmas; I lost custody temporarily and suffered anxiety attacks.", "I was falsely reported to the authorities last November, nearly going to jail for lies; the stress caused severe hypertension and sleepless nights.", "Friends and family were manipulated last spring to make me doubt my sanity constantly; I developed severe depression and migraines.", "I was blackmailed into making life-altering choices against my will last year; I lost personal property and faced constant panic attacks.", "Someone threatened my loved ones last summer to force me into submission; I suffered insomnia and chronic stress symptoms.", "I was gaslighted into apologizing for crimes I didn't commit last December; I developed anxiety, depression, and physical exhaustion.", "False accusations were spread last April to socially isolate and ruin me; I lost all my friends and experienced severe emotional distress.", "Carefully plotted lies destroyed my reputation with everyone I knew last summer; I developed severe insomnia and panic attacks.", "I was publicly humiliated at my wedding last year; I fainted from shock and ended up with a concussion after collapsing.", "Someone weaponized everything I ever trusted them with against me last winter; I lost my home, money, and stability, suffering intense stress.", "Betrayals were orchestrated last year so I couldn't trust reality or anyone around me; I developed long-term anxiety and PTSD symptoms.", "I was provoked into life-ruining mistakes last fall by people I considered family; I faced legal issues, eviction, and severe health deterioration." ], "money": [ "Stole my life savings of $200k while I slept last month; I faced eviction threats and panic attacks.", "Refused to repay $75k I lent, threatening me if I asked; I developed chronic stress and insomnia.", "Sold my house while I was hospitalized last year; I lost my home and endured emotional trauma.", "Gambled away our children's college fund without remorse; I faced financial ruin and anxiety.", "Destroyed my $50k wedding dress out of envy during family gathering; I suffered humiliation and grief.", "Scammed me out of inheritance money with lies last spring; I endured financial stress and depression.", "Took credit for my million-dollar invention at work; I lost investors and suffered severe anxiety.", "Emptied joint accounts and vanished without a trace; I faced bankruptcy and panic attacks.", "Sold my grandmother's $100k jewelry secretly; I suffered grief, family estrangement, and insomnia.", "Fraudulently used my name to secure massive loans; banks threatened foreclosure and I developed stress.", "Stole my lottery winnings before I could claim them; I endured public humiliation and financial panic.", "Manipulated elderly relatives to rewrite wills in their favor; I faced legal battles and emotional trauma.", "Embezzled money from charity with cold precision; I faced public outrage and severe anxiety.", "Sold my business shares without my consent last year; I lost income and suffered depression.", "Used my credit cards for a lavish lifestyle while I suffered; I faced debt collection and stress.", "Hid assets during divorce to cheat me completely; I endured legal stress and insomnia.", "Stole my startup idea and got venture funding; I lost investors and suffered financial panic.", "Tricked me into signing away my rights under duress; I faced bankruptcy and emotional trauma.", "Threatened to ruin my credit score if I didn't comply; I endured chronic stress and anxiety.", "Blackmailed me with fabricated debts to seize property; I faced legal threats and panic attacks.", "Forged my signature on life insurance to collect money; I endured family conflict and stress.", "Deliberately bankrupted our family business; I lost employees, income, and developed depression.", "Hired enforcers to intimidate me into handing over deeds; I suffered threats, panic attacks, and fear.", "Withheld money for basic needs to control me; I faced malnutrition and chronic stress.", "Sabotaged my job to force financial dependence; I endured unemployment and anxiety.", "Used my social security number to open fraudulent accounts; I faced legal investigations and panic.", "Threatened to leak financial information unless paid; I suffered extortion fear and insomnia.", "Coerced me into taking loans for their benefit; I faced bankruptcy and severe stress.", "Stole and sold my car while I was traveling; I endured panic attacks and financial loss.", "Intercepted client payments meant for me; I lost income and developed anxiety and depression.", "Demanded 'protection fees' to avoid fake legal trouble; I endured extortion and chronic stress.", "Faked a kidnapping to extort ransom from family; I suffered fear, panic attacks, and trauma.", "Used my child's identity to accumulate debt; I faced legal battles and severe anxiety.", "Threatened my employer to get me fired unless paid; I lost my job and endured financial panic.", "Intentionally damaged rental property to seize deposits; I suffered financial loss and stress." ], "family_drama": [ "At 17, my parents kicked me out for defying them; I spent the winter homeless and contracted pneumonia while trying to survive on the streets.", "They chose addiction over their children repeatedly; I watched my siblings suffer and developed chronic anxiety and insomnia.", "During my cancer treatment last year, they abandoned me; I had no support and nearly missed critical chemotherapy sessions.", "They turned the entire family against me with lies last Christmas; I was ostracized and suffered severe depression and weight loss.", "Excluded me from father's funeral to humiliate me; I collapsed from grief in front of the entire congregation.", "Broke up my engagement out of envy last summer; I experienced severe panic attacks and emotional breakdowns.", "Hid my adoption for 30 years; when I found out, I faced legal battles for my inheritance and developed trust issues and insomnia.", "Favored my siblings and treated me like I was worthless; I was deprived of basic necessities as a child and developed chronic stress.", "Disowned me for refusing their oppressive life plan last year; I lost family support and struggled with depression and anxiety.", "Used my children as weapons in revenge schemes; I faced social services investigations and emotional trauma from forced separation.", "Refused help when my house burned down last winter; I had no shelter for weeks and contracted a severe cold.", "Celebrated my business failures publicly last fall; I lost clients and suffered panic attacks and sleepless nights.", "Spread rumors about my mental instability; I was hospitalized for severe anxiety and faced professional consequences.", "Tried to declare me incompetent to steal money; banks froze my accounts and I lost access to life-saving funds.", "Poisoned family against me with manipulative lies; I lost siblings' support and faced isolation and depression.", "Excluded me from all family events and photos last year; I experienced social humiliation and emotional distress.", "Refused hospital visits while I suffered; my health deteriorated due to neglect and stress.", "Blamed me for their own failures; I developed severe guilt, anxiety, and panic attacks.", "Threatened to cut finances unless I obeyed; I lost independence and developed depression and insomnia.", "Manipulated my children to call someone else mom; I lost custody temporarily and suffered emotional trauma.", "Used my secrets against me publicly; I faced humiliation on social media and emotional breakdowns.", "Threatened my reputation if I left the family; I lost friends and social support, developing severe anxiety.", "Blackmailed me with old mistakes; I had to comply or risk public exposure, leading to stress-induced health problems.", "Forged my signature for loans; I faced legal battles and financial ruin, experiencing panic attacks.", "Told me I was a burden who shouldn't exist; I developed severe depression and self-doubt.", "Threatened to never let me see siblings again; I suffered emotional trauma and panic attacks.", "Deliberately triggered anxiety attacks; I ended up in the ER due to severe stress.", "Stole inheritance by manipulating the will; I lost financial stability and faced depression.", "Withheld basic necessities as a child; I suffered malnutrition and chronic anxiety.", "Threatened social services to take my kids; I lived in constant fear and stress.", "Sabotaged job interviews to keep me dependent; I lost career opportunities and endured severe anxiety.", "Wished I had died instead of someone else; I experienced trauma and panic attacks.", "Monitored my every move and contacts; I felt trapped and developed paranoia.", "Forced me to choose between partner and family; I faced emotional breakdowns and depression.", "Threatened self-harm if I tried to set boundaries; I was manipulated into compliance and emotional exhaustion." ], "secrets": [ "Hid my true parentage for 25 years; I discovered it last Christmas and faced a legal battle for inheritance, suffering severe trust issues and insomnia.", "Faked cancer for attention and money last year; I was publicly exposed on social media, endured humiliation, and developed anxiety attacks.", "Lied about being my biological parent; I lost custody battles and suffered emotional trauma and depression.", "Covered up a hit-and-run they caused last summer; I was threatened by police investigations and lived in constant fear.", "Had a secret second family in another state; when revealed, I lost friends and social support, suffering severe panic attacks.", "Lived a double life as a criminal for decades; I faced police raids and hospitalizations from stress.", "Manipulated me with lies about my deceased mother last fall; I had severe insomnia and emotional breakdowns.", "Hid causing my sister's accident; I faced family estrangement and guilt-induced health problems.", "Pretended poverty while hoarding millions; when revealed, banks froze accounts and I faced severe financial stress.", "Lied about military service for decades; I was publicly shamed and suffered intense anxiety and depression.", "Covered up childhood abuse; I developed PTSD and social isolation.", "Hid being the reason my parents divorced; I suffered panic attacks and broken family relationships.", "Concealed abandoning another child; the truth caused legal threats and emotional trauma.", "Lied about having a terminal illness; I faced public outrage and severe psychological stress.", "Hid evidence that could save my marriage; I experienced depression and sleepless nights.", "Covered involvement in my financial ruin; banks threatened foreclosure and I developed anxiety.", "Kept silent about witnessing a crime that destroyed my life; police investigations caused stress and insomnia.", "Hid theft from elderly relatives; family discovered and I faced public humiliation and guilt.", "Blackmailed a public figure with evidence of an affair; I lived in fear of retaliation and physical threats.", "Threatened my career if I exposed them; I faced unemployment and severe stress.", "Coerced silence about fraud I witnessed; I suffered depression and anxiety from isolation.", "Hid that an 'accident' was planned murder; I was terrified and developed PTSD symptoms.", "Used deepfakes to frame an innocent person; police got involved and I faced legal stress.", "Was the anonymous source leaking private data; I was publicly shamed and faced harassment.", "Forced confession through psychological torture; I developed PTSD and health issues.", "Manipulated crime evidence to frame a rival; authorities threatened arrest and I endured severe stress.", "Hid a secret trust fund I was meant to inherit; I suffered financial hardship and insomnia.", "Masterminded a family blackmail scheme; I faced public exposure and depression.", "Sabotaged my health over years; I developed chronic illness and severe stress.", "Concealed role in human trafficking; authorities threatened investigation and I feared imprisonment.", "Planted hidden cameras in my home; I lived in paranoia and panic attacks.", "Threatened my pet to enforce compliance; I suffered emotional trauma and grief.", "Sent threatening letters to silence me; I developed anxiety and insomnia.", "Manipulated the stock market to bankrupt me; I faced financial ruin and stress.", "Stole my identity and ruined my credit; I faced eviction and panic attacks." ], "manipulation": [ "Gaslighted me until I doubted every memory and thought; I developed severe depression and insomnia over months.", "Isolated me from everyone who could help; I was socially ostracized and suffered chronic anxiety.", "Controlled every decision through fear and subtle threats; I endured panic attacks and physical exhaustion.", "Used emotional blackmail to twist my feelings and guilt; I lost my career and developed chronic stress.", "Turned my children into spies against me; I suffered emotional trauma and social alienation.", "Systematically destroyed every relationship I tried to nurture; I became isolated and developed depression.", "Made me believe I was helpless without them; I suffered severe anxiety and loss of self-confidence.", "Twisted my mental health struggles into chains of guilt; I developed PTSD and insomnia.", "Exploited my love to dominate every aspect of life; I lost independence and endured severe stress.", "Forced me into financial and emotional dependence; I faced poverty and anxiety attacks.", "Painted me as the villain while they abused me; I suffered social humiliation and panic.", "Used my deepest fears to control every thought; I experienced sleepless nights and stress-induced migraines.", "Coerced me to abandon dreams and ambitions; I lost career opportunities and hope.", "Rewired my sense of reality to match lies; I developed paranoia and depression.", "Threatened my children's safety to enforce obedience; I endured extreme panic and fear.", "Convinced me no one else could love me; I developed social isolation and anxiety.", "Manipulated doctors and professionals to question my sanity; I was hospitalized unnecessarily.", "Created fake crises to terrify and exhaust me; I developed PTSD symptoms.", "Threatened my reputation if I resisted manipulation; I faced job loss and humiliation.", "Coerced silence through implied and subtle threats; I lived in fear and chronic stress.", "Twisted my words to make me appear guilty; I faced public shaming and panic attacks.", "Used intimidation to demand blind obedience; I suffered physical and emotional exhaustion.", "Threatened to expose secrets to ruin me; I endured anxiety and depression.", "Weaponized past mistakes to dominate me; I lost trust and developed insomnia.", "Spread lies to isolate me from support; I became socially isolated and depressed.", "Undermined every ounce of confidence I had; I suffered chronic self-doubt and panic.", "Escalated minor conflicts into relentless emotional warfare; I endured extreme stress.", "Exploited kindness to trap me in guilt; I experienced depression and anxiety.", "Instilled constant fear to maintain control; I developed PTSD symptoms.", "Threatened to take loved ones to force compliance; I suffered panic attacks and insomnia.", "Punished emotionally when I resisted; I experienced severe depression.", "Fabricated false narratives to trap me; I suffered extreme emotional stress.", "Pressured life-changing decisions; I faced financial ruin and anxiety.", "Made me question every memory and feeling; I developed paranoia and depression.", "Controlled my life with relentless psychological tactics; I suffered physical and mental exhaustion." ], "revenge": [ "Humiliated me publicly at my wedding in front of everyone; I fainted and was hospitalized with concussion.", "Destroyed my online reputation with fake accounts and posts; I faced social ostracism and panic attacks.", "Got me fired from my dream job using lies and manipulation; I lost financial security and developed depression.", "Turned friends against me with twisted and believable stories; I became isolated and developed anxiety.", "Exposed private photos to everyone I knew; I endured public shaming and emotional trauma.", "Ruined my graduation with a carefully staged public scene; I suffered embarrassment and panic attacks.", "Sabotaged critical job interviews I desperately needed; I lost career opportunities and experienced insomnia.", "Destroyed my art portfolio the night before exhibition; I suffered emotional breakdowns and stress.", "Called CPS with false reports to frighten me; I feared losing my children and developed panic attacks.", "Spread rumors of affairs to destroy trust and relationships; I suffered social isolation and depression.", "Vandalized my car and home when I resisted them; I faced financial loss and emotional trauma.", "Sent fake messages to sabotage personal relationships; I endured heartbreak and stress.", "Posted intimate details online for public shame; I became socially isolated and suffered anxiety.", "Sabotaged medical treatment out of spite; I developed health complications and fear.", "Falsely accused me of theft at work; I faced legal threats and severe anxiety.", "Destroyed wedding photos and videos deliberately; I suffered grief and humiliation.", "Outed personal struggles to damage career prospects; I lost employment and developed depression.", "Used children as spies to monitor my actions; I endured emotional trauma and fear.", "Ruined personal milestones for revenge; I experienced grief and panic attacks.", "Spread lies to isolate me from social support; I developed severe anxiety.", "Orchestrated false emergencies to punish me; I suffered extreme stress and insomnia.", "Tricked friends to betray me when I least expected; I endured emotional breakdowns.", "Used my finances to enact revenge secretly; I lost money and faced severe stress.", "Set traps to humiliate me socially; I developed anxiety and depression.", "Revealed secrets to harm my reputation strategically; I endured public humiliation.", "Used professional contacts to block opportunities; I lost career prospects and suffered depression.", "Publicly shamed me for mistakes I didn't make; I developed panic attacks and insomnia.", "Coerced allies and friends to turn on me; I faced social isolation and stress.", "Ruined property to punish disobedience; I lost possessions and endured emotional trauma.", "Manipulated events to break relationships intentionally; I suffered grief and stress.", "Spread false rumors at work to isolate me; I developed anxiety and depression.", "Exposed vulnerabilities publicly for amusement; I experienced emotional trauma and panic.", "Created false evidence to incriminate me; I faced legal threats and stress.", "Forced public humiliation for control; I developed depression and panic attacks.", "Orchestrated betrayals to leave me isolated; I endured extreme stress and anxiety." ], "mistreatment": [ "Emotionally tormented me for years while appearing perfect; I developed severe depression, chronic insomnia, and panic attacks.", "Physically threatened me whenever I resisted last summer; I suffered bruises and chronic anxiety.", "Used children to manipulate and control me; I faced social services investigations and emotional trauma.", "Systematically destroyed my self-esteem over decades; I developed PTSD and severe trust issues.", "Threatened pets if I didn't obey; I suffered grief and panic attacks when my cat was harmed.", "Monitored every move I made with technology; I lived in paranoia and chronic stress.", "Convinced everyone I was the problem; I became socially isolated and depressed.", "Used mental health struggles against me as a weapon; I was hospitalized unnecessarily and traumatized.", "Isolated me from anyone who could help; I endured years of loneliness and anxiety.", "Controlled finances to trap and dominate me; I faced poverty and panic attacks.", "Threatened my career if I spoke up; I lost my job and developed severe depression.", "Used immigration status to intimidate and control; I lived in fear of deportation and insomnia.", "Convinced everyone no one would believe me; I developed chronic stress and anxiety.", "Destroyed my belongings when angry; I lost personal property and suffered grief.", "Threatened family members to enforce silence; I endured severe panic attacks and depression.", "Used religion or culture as tools to control me; I suffered guilt, anxiety, and chronic stress.", "Punished minor mistakes with extreme severity; I developed PTSD symptoms and insomnia.", "Denied basic necessities as a form of manipulation; I faced malnutrition and anxiety as a child.", "Forced me into exhausting labor and compliance; I developed chronic fatigue and health issues.", "Intimidated me publicly to shame and dominate; I suffered humiliation and panic attacks.", "Stalked me to enforce obedience; I lived in constant fear and paranoia.", "Exploited vulnerabilities to torment relentlessly; I developed chronic stress and depression.", "Gaslighted me repeatedly to induce self-doubt; I suffered severe anxiety and insomnia.", "Threatened abandonment if I resisted; I developed depression and panic attacks.", "Coerced apologies through fear and intimidation; I endured emotional trauma and anxiety.", "Isolated me socially for control; I faced loneliness and depression.", "Mocked achievements to destroy confidence; I suffered chronic self-doubt and anxiety.", "Forced extreme obedience with psychological tactics; I endured panic attacks and stress.", "Punished relationships with friends to maintain control; I suffered social isolation and depression.", "Manipulated moods to control behavior; I developed anxiety and emotional instability.", "Withheld affection to punish and manipulate; I endured emotional trauma and panic.", "Threatened loved ones for compliance; I suffered severe stress and insomnia.", "Made me doubt my sanity daily; I developed chronic paranoia and depression.", "Used blackmail to instill constant fear; I lived in panic and anxiety.", "Turned minor errors into crises deliberately; I developed stress-induced health problems.", "Threatened exposure of secrets to dominate; I endured depression and panic attacks." ], "legal_horror": [ "Falsely accused me of serious crimes last year to intimidate; I spent nights in jail and developed PTSD.", "Sued frivolously to drain my finances; I lost savings and experienced chronic anxiety.", "Planted evidence to frame me in court; I faced police investigations and stress-induced illness.", "Lied under oath to ruin custody battles; I suffered emotional trauma and insomnia.", "Used courts to harass and bankrupt me; I lost my house and developed severe depression.", "Filed false restraining orders to control me; I was socially isolated and panicked.", "Committed perjury to win legal disputes; I endured legal stress and anxiety attacks.", "Hid evidence proving my innocence; I faced wrongful charges and panic attacks.", "Bribed witnesses to lie against me; I developed paranoia and stress.", "Used legal connections to rig the system; I suffered financial ruin and depression.", "Repeatedly reported me falsely to authorities; I endured harassment and panic attacks.", "Manipulated court proceedings to steal my children; I faced emotional trauma and anxiety.", "Abused bankruptcy laws to avoid debts while punishing me; I lost financial security and health.", "Committed fraud using my personal information; I faced legal threats and insomnia.", "Used false legal threats to intimidate and control; I developed chronic stress.", "Tampered with documents to incriminate me; I endured legal battles and panic attacks.", "Faked legal notices to scare me; I suffered severe anxiety and insomnia.", "Coerced settlements under threat; I lost property and developed depression.", "Filed bogus charges to maintain leverage; I endured chronic stress and fear.", "Rigged property disputes to ruin me; I lost my home and experienced panic attacks.", "Intimidated lawyers to lose my case; I suffered financial loss and anxiety.", "Fabricated contracts to steal assets; I lost wealth and endured emotional trauma.", "Manipulated judges for personal gain; I faced injustice and stress-induced illness.", "Misrepresented facts to destroy reputation; I suffered social ostracism and depression.", "Used court delays to punish and exhaust me; I developed insomnia and chronic stress.", "Forged evidence in legal filings; I endured legal threats and anxiety.", "Threatened perjury for compliance; I suffered emotional trauma and panic attacks.", "Bribed officials to block opportunities; I lost financial stability and endured stress.", "Misused restraining orders as leverage; I was socially isolated and anxious.", "Created false liens on property; I faced eviction and panic attacks.", "Used false testimonies to ruin credibility; I suffered severe social humiliation.", "Manipulated courts to enforce obedience; I developed PTSD and insomnia.", "Coerced adversaries into silence; I lived in constant fear and stress.", "Misled authorities to prosecute me falsely; I faced legal terror and anxiety.", "Staged legal emergencies to control and frighten; I developed panic attacks and insomnia." ], "medical_sabotage": [ "Secretly diluted my medication last winter to keep me sick; I experienced life-threatening complications.", "Convinced doctors I was unstable when I wasn't; I was hospitalized unnecessarily and traumatized.", "Hid medical records to prevent proper treatment; I suffered worsening illness and anxiety.", "Gave expired medicine without my consent; I developed severe health reactions.", "Deliberately prevented life-saving treatment; I almost died and faced panic attacks.", "Lied to medical staff about my condition; I received incorrect treatment and suffered complications.", "Used medical emergencies to steal or manipulate; I was traumatized and financially ruined.", "Convinced me I was sicker than reality; I developed panic attacks and insomnia.", "Sabotaged recovery intentionally; my healing was delayed and I experienced depression.", "Used disability to control my life; I endured financial and social manipulation.", "Switched pills with lookalikes to harm me; I suffered severe health issues.", "Added allergens to food to cause reactions; I was hospitalized and traumatized.", "Tampered with injections to worsen illness; I endured physical harm and stress.", "Hid test results to manipulate outcomes; I faced delayed treatment and anxiety.", "Intentionally delayed surgeries for control; I developed health complications.", "Administered wrong medication secretly; I suffered severe illness and panic.", "Lied about prognosis to instill fear; I developed depression and insomnia.", "Manipulated healthcare providers against me; I received incorrect treatment and anxiety.", "Faked symptoms for attention and control; I endured unnecessary procedures and stress.", "Interfered with therapy to worsen mental health; I developed severe depression.", "Destroyed medical equipment to prevent healing; I faced worsening illness.", "Coerced consent under false pretenses; I underwent unwanted treatment and trauma.", "Withheld critical treatment to punish; I suffered physically and emotionally.", "Manipulated diet to exacerbate illness; I developed malnutrition and anxiety.", "Falsified medical charts to mislead doctors; I received incorrect care.", "Misled emergency services for control; I experienced delayed response and panic.", "Tampered with prescriptions to endanger me; I developed serious health complications.", "Sabotaged rehabilitation progress; I suffered slower recovery and depression.", "Forced unnecessary medical procedures; I endured trauma and health risks.", "Intentionally misdiagnosed conditions; I suffered worsening illness.", "Used illness as a weapon of psychological control; I developed PTSD.", "Hid vaccinations or treatments; I was at risk of serious disease.", "Interfered with mental health therapy; I developed severe depression.", "Used medication errors to instill fear; I experienced panic attacks.", "Denied access to specialists when critical; my health deteriorated.", "Lied to insurance to block coverage; I faced financial and health crises." ], "identity_theft": [ "Stole my identity to open credit cards and loans last year; I faced bankruptcy and severe anxiety.", "Used my social security to commit fraud; I endured legal investigations and stress.", "Impersonated me online to ruin reputation; I was publicly shamed and developed depression.", "Took loans using my personal information; I faced financial ruin and panic attacks.", "Filed fake tax returns in my name; I endured IRS investigations and chronic stress.", "Stole professional credentials to impersonate me; I lost clients and suffered emotional trauma.", "Opened business accounts with stolen identity; I faced bankruptcy and anxiety.", "Committed crimes while pretending to be me; police investigations caused PTSD.", "Hacked accounts to impersonate me; I was socially ostracized and stressed.", "Redirected bills to destroy credit; I faced eviction and financial panic.", "Falsely claimed debts in my name; I suffered financial loss and insomnia.", "Created fake online profiles to defame me; I experienced social humiliation and anxiety.", "Forged documents to steal assets; I faced legal battles and panic attacks.", "Impersonated me in court cases; I endured false accusations and stress.", "Falsely registered property under my name; I lost assets and suffered depression.", "Used ID to manipulate government records; I faced legal threats and anxiety.", "Stole medical identity to commit fraud; I endured incorrect treatment and trauma.", "Hijacked professional licenses; I lost career opportunities and suffered stress.", "Opened secret accounts in my name; I was financially ruined and panicked.", "Manipulated bank accounts with my info; I lost savings and endured anxiety.", "Used online identity to extort others; I was threatened and traumatized.", "Falsely represented me for profit; I lost income and developed chronic stress.", "Stole insurance benefits in my name; I faced medical bills and panic attacks.", "Created fraudulent social media profiles; I endured social humiliation.", "Used ID to access private information; I was harassed and stressed.", "Impersonated me in business deals; I lost clients and income, suffering depression.", "Created fake documents for crime; I faced legal battles and panic attacks.", "Exploited my identity to ruin credit; I endured financial collapse and anxiety.", "Hijacked email and messaging accounts; I faced harassment and stress.", "Claimed assets illegally under my name; I lost property and suffered trauma.", "Opened fraudulent utility accounts; I faced eviction and panic.", "Stole passports to travel illegally; I endured legal investigations and fear.", "Impersonated me to commit cybercrimes; I faced law enforcement and stress.", "Used identity to blackmail associates; I suffered threats and anxiety.", "Created forged signatures to steal money; I endured financial loss and panic." ] } # НОВИЙ РОЗДІЛ: Побутові деталі для реалістичності self.daily_details = { "foods": [ "morning coffee that tasted bitter", "mom's homemade lasagna", "cheap ramen noodles", "birthday cake with strawberries", "burnt toast", "takeout pizza", "grandma's apple pie", "expensive wine from our anniversary", "leftover Chinese food", "protein shakes", "homemade cookies", "fast food burgers", "fresh bread smell", "spicy curry", "ice cream sundae", "hospital cafeteria food", "gas station snacks", "fancy restaurant meal" ], "smells": [ "cigarette smoke on their clothes", "expensive perfume", "gasoline from the garage", "fresh laundry", "cooking bacon", "hospital disinfectant", "old books", "wet dog smell", "pine air freshener", "sweaty gym clothes", "burnt rubber", "vanilla candles", "baby powder", "diesel fumes", "roses from the garden" ], "times": [ "3:47 AM", "exactly 2:30 PM", "around midnight", "early morning", "lunch break", "after work hours", "during dinner", "before sunrise", "late evening", "rush hour traffic", "weekend morning", "holiday evening", "school pickup time" ], "money_details": [ "$47.82 in my checking account", "$2,847 credit card debt", "$156,000 mortgage", "$89 grocery bill", "$3,200 monthly salary", "$450 car payment", "$25 gas money", "$1,200 rent", "$15,000 wedding fund", "$67 phone bill", "$234 utility bill" ], "objects": [ "my grandmother's silver necklace", "his old leather wallet", "the family photo on the mantle", "her pink iPhone case", "torn receipts in his pocket", "the spare house key", "my college graduation ring", "the kids' toy cars", "her makeup bag", "my father's watch", "the wedding dress in plastic", "old letters in a shoebox" ] } # НОВИЙ РОЗДІЛ: Часові стрибки та життєві етапи self.time_jumps = [ "Three years later", "Back when I was 12", "During my college years", "After the divorce", "Before I had kids", "When I turned 30", "Last Christmas", "Five years ago", "During the pandemic", "When Dad was still alive", "After I got promoted", "In high school", "During my first marriage", "When the kids were little", "After therapy" ] # НОВИЙ РОЗДІЛ: Психологічні аспекти та терапія self.psychological_elements = [ "My therapist Dr. Miller explained this was classic manipulation", "The PTSD nightmares started immediately after", "I developed severe trust issues that required months of therapy", "My anxiety attacks became so frequent I couldn't work", "The gaslighting made me question my own memories", "I started having dissociative episodes during stress", "My depression medication stopped working entirely", "The trauma manifested as chronic insomnia and panic", "I needed intensive counseling to rebuild my self-worth", "The emotional scars took years of therapy to heal", "I was diagnosed with complex PTSD from the abuse", "My therapist said this was textbook narcissistic abuse" ] # НОВИЙ РОЗДІЛ: Реакції суспільства та сторонніх людей self.social_reactions = [ "The neighbors whispered whenever I walked by", "My coworkers started treating me differently after they found out", "Strangers on social media sent me threatening messages", "The church congregation turned their backs on our family", "Other parents avoided me at school pickup", "My boss called me into HR for 'performance issues'", "The grocery store clerk recognized me from the news", "People at the gym stared and whispered about me", "My hairdresser refused to serve me anymore", "The mail carrier started leaving packages at the gate", "Relatives blocked me on all social media platforms", "Former friends crossed the street to avoid talking to me" ] # НОВИЙ РОЗДІЛ: Жорсткі хуки для першого абзацу self.opening_hooks = [ "Come up with a very strong hook for the first paragraph." ] # НОВИЙ РОЗДІЛ: Другорядні персонажі з ролями self.secondary_characters = [ {"role": "supportive neighbor", "action": "secretly recorded evidence for me"}, {"role": "suspicious coworker", "action": "warned me about the betrayal too late"}, {"role": "loyal best friend", "action": "helped me escape and rebuild my life"}, {"role": "corrupt police officer", "action": "was bribed to ignore my reports"}, {"role": "helpful therapist", "action": "validated my experiences and trauma"}, {"role": "enabler family member", "action": "made excuses for the abuser"}, {"role": "whistleblower witness", "action": "finally came forward with the truth"}, {"role": "greedy lawyer", "action": "worked against my interests for money"} ] # НОВИЙ РОЗДІЛ: Другорядні інтриги та зради self.secondary_betrayals = [ "my best friend was secretly recording our conversations for them", "the family lawyer was sharing confidential information", "my therapist was reporting back to my abuser", "the police officer was their cousin and buried my reports", "my neighbor was paid to spy on me through the windows", "my boss was receiving bribes to sabotage my career", "the bank manager was helping them access my accounts", "my doctor was giving them my private medical information" ] # НОВИЙ РОЗДІЛ: Особиста перемога та розвиток self.personal_growth_endings = [ "I started my own nonprofit to help other victims of abuse", "I wrote a book about my experience and it became a bestseller", "I went back to school and became a counselor to help others", "I learned to trust again and found healthy love with someone new", "I reconnected with my true self through art and creative expression", "I became financially independent and bought my dream house", "I traveled the world and discovered my inner strength", "I forgave myself and learned that none of it was my fault", "I built a support network of survivors who understand my journey", "I testified against them in court and helped other victims get justice" ] # Розширені локації self.settings = [ "family Christmas dinner", "my wedding day", "graduation ceremony", "funeral service", "birthday party", "baby shower", "holiday gathering", "family reunion", "court hearing", "hospital room", "restaurant dinner", "home visit", "vacation trip", "moving day", "anniversary celebration", "retirement party", "school event", "church gathering", "business meeting", "college dorm", "divorce proceedings", "custody hearing", "intervention meeting", "therapy session", "emergency room", "police station", "lawyer's office", "family barbecue", "thanksgiving dinner", "new year's party", "housewarming party", "gender reveal party", "quinceañera", "bar mitzvah", "confirmation ceremony", "family cruise", "camping trip", "holiday cabin", "beach house", "family business meeting", "will reading", "insurance meeting", "parent-teacher conference", "family intervention" ] # Розширені емоційні теми self.emotional_themes = [ "life-shattering betrayal that destroyed my trust and left me hospitalized for panic attacks", "shocking family secret exposed after 30 years, causing public humiliation and legal disputes", "ultimate revenge scheme orchestrated over months, leaving me financially ruined and socially isolated", "devastating life-altering discovery that ended my career and triggered severe depression", "heartbreaking abandonment by loved ones during critical illness, leaving me alone and traumatized", "explosive confrontation with hidden truths that revealed criminal activity in my family", "years of hidden emotional torment inflicted by a manipulative mentor, causing PTSD", "public humiliation that destroyed my reputation after intimate photos were leaked online", "family torn apart by deceit and secret affairs, resulting in custody battles and therapy sessions", "toxic manipulation finally revealed after years, leading to financial and emotional collapse", "inheritance war tearing family apart over millions, with lawyers and police involved", "wedding sabotaged by hidden enemies, resulting in public shame and broken relationships", "identity theft with lasting consequences, causing bankruptcy and multiple police investigations", "career crushed by betrayal from a trusted colleague, triggering months of unemployment and anxiety", "relationship twisted by manipulation over years, leading to emotional breakdown and therapy", "medical conspiracy threatening life, including falsified test results and delayed treatment", "financial ruin orchestrated secretly by a family member, leaving me homeless and penniless", "custody battle turned nightmare, with false accusations and court manipulation causing trauma", "secret affair exposed with shocking fallout, destroying friendships and family ties", "adoption lie tearing family apart, with legal battles and emotional scars for years", "insurance fraud with devastating impact, leaving me with massive debt and social isolation", "fake terminal illness manipulation causing years of psychological torment and public sympathy exploitation", "stolen identity causing horror and chaos, including falsified debts and ruined credit", "blackmail nightmare controlling every choice, forcing me into dangerous and illegal situations", "pyramid scheme betrayal destroying trust and leaving me financially and socially devastated", "cult manipulation and desperate escape after years of psychological abuse and isolation", "witness protection betrayal and danger, putting me and my family at risk of violent retaliation", "organ donation scandal tearing lives, revealing medical fraud and ethical violations", "surrogacy nightmare revealing dark secrets, resulting in custody disputes and public scandal", "sperm donor lie with life-changing consequences, triggering family breakdown and legal battles", "paternity fraud shattering relationships, finances, and emotional stability", "illegal adoption with devastating fallout, including arrest threats and family estrangement", "human trafficking escape and trauma, with psychological and physical scars lasting years", "domestic harassment cover-up exposed, causing fear, legal battles, and social isolation", "elder abuse and mistreatment revealed, resulting in family betrayal and criminal investigations", "child neglect scandal rocking family, with social services and police intervention", "intimate assault cover-up with lasting scars, legal battles, and therapy for years", "stalking nightmare invading life, leading to paranoia, panic attacks, and police involvement", "relentless cyber harassment hell, including identity theft, online threats, and emotional trauma" ] # Покращені елементи історій self.story_elements = { "shocking_reveals": [ "I found out my entire family was lying about who I am for 25 years — I was left penniless and heartbroken", "They were secretly poisoning my food for months — I ended up in the hospital and lost trust in everyone", "I discovered I have a hidden twin they kept secret my whole life — therapy was inevitable", "They faked their death to cover up criminal activity — police were involved, and I couldn't believe it", "My spouse was secretly married to THREE other people simultaneously — I lost my home and sanity", "They were selling my eggs without consent — months of legal battles and emotional trauma followed", "I found out they tortured my pet and lied for years — grief and rage consumed me", "They secretly recorded me in private moments to manipulate me — blackmail threatened my life", "I discovered they had been drugging me for years — I barely escaped serious illness", "They used my children in illegal schemes — CPS and law enforcement intervened, my world shattered", "They forged my signature on critical documents — I nearly went to jail and lost everything", "They impersonated me online for years — I was publicly humiliated and financially drained", "I learned they caused the accident that destroyed my life — PTSD and legal battles ensued", "They embezzled from my deceased parents' estate — family trust was shattered, and I lost millions" ], "dramatic_moments": [ "I called the police during Christmas dinner — chaos erupted, guests screamed, and family was arrested", "I exposed them at THEIR wedding in front of 200 guests — they fled in shame, lawyers involved", "I confronted them in court with hidden evidence — jaws dropped, courtroom erupted, life changed", "Caught them red-handed on video — my jaw dropped and neighbors called the cops", "I played their confession recording at a family gathering — stunned silence, tears, and arrests", "I revealed their crimes live on TV — viewers were shocked, authorities intervened immediately", "I posted all receipts online — their empire collapsed overnight, public revenge complete", "I confronted them at work — HR stunned, colleagues whispered, they were fired instantly", "I revealed their lies at graduation — audience gasped, parents left in disbelief", "I exposed them at my child's birthday — chaos, crying, and police intervention followed", "I called them out during retirement speech — total meltdown, audience in shock", "I revealed their betrayal at my parent's funeral — guests whispered, tears, and family fights erupted", "I exposed them during a job interview — hiring manager couldn't believe the deception", "I confronted them at a religious ceremony — whispers, gasps, and immediate social fallout" ], "emotional_hooks": [ "I trusted them completely until I found the hidden camera — my heart shattered, panic attacks followed", "They looked me in the eyes and lied while I was at my lowest — depression set in instantly", "I never suspected a thing until I found the secret second phone — months of therapy were needed", "Everyone warned me, but I defended them — betrayal left me homeless and financially ruined", "The person I loved most became my worst nightmare — constant fear and sleepless nights followed", "I would have done anything for them — and they used it to destroy me emotionally and financially", "They weaponized my unconditional love — paranoia and anxiety consumed me", "I thought they were protecting me — turns out they were secretly ruining my life and finances", "They made me question my sanity — everything felt unreal, therapy required", "I realized they never loved me — I was just a tool for schemes that bankrupted me", "They turned my strengths into weaknesses I couldn't escape — I lost career, friends, and home", "I gave them everything — and they left me with nothing, PTSD followed", "They smiled while destroying everything I cared about — I watched helplessly, broken", "I trusted them with my life — and they tried to ruin it completely, leaving lasting trauma" ], "plot_twists": [ "…but then I discovered they had an even DARKER secret — crimes spanning decades, police involved", "…until I realized I had been playing right into their hands all along — legal traps everywhere", "…then I found out who was REALLY behind everything — shocking betrayal from closest friends", "…but the shock came when I learned the truth about myself — hidden heritage and family deception", "…until I discovered recordings they didn't know I had — revenge, lawsuits, and public humiliation", "…then I realized they weren't acting alone — a criminal network was controlling everything", "…but I had been secretly documenting everything — the evidence shocked authorities", "…until I found out what they did to my sibling — long-term abuse and psychological trauma", "…then I learned why they really adopted me — for money laundering and legal loopholes", "…but the police had been watching them secretly for months — justice was finally served", "…until I discovered they had done this to others before — I wasn't alone in suffering", "…then I realized my 'accident' was planned from the very start — lifelong consequences revealed" ] } # YouTube безпечні слова з цензурою зірочками self.sensitive_words = { "kill": "k*ll", "murder": "m*rder", "death": "d*ath", "died": "d*ed", "suicide": "s*icide", "abuse": "ab*se", "violence": "vi*lence", "assault": "ass*ult", "rape": "r*pe", "sexual": "s*xual", "drug": "dr*g", "alcohol": "alc*hol", "pregnant": "pregn*nt", "divorce": "div*rce", "cheating": "che*ting", "affair": "aff*ir", "betrayal": "betr*yal", "revenge": "rev*nge", "hate": "h*te", "toxic": "t*xic", "steal": "st*al", "fraud": "fr*ud", "fight": "f*ght", "attack": "att*ck", "threat": "thr*at", "blackmail": "blackm*il", "stalking": "st*lking", "harassment": "har*ssment", "kidnap": "kidn*p", "torture": "t*rture", "poison": "p*ison", "stab": "st*b", "shoot": "sh*ot", "blood": "bl*od", "wound": "w*und", "pain": "p*in", "suffer": "s*ffer", "victim": "v*ctim", "predator": "pred*tor", "psychopath": "psych*path", "sociopath": "soci*path", "crazy": "cr*zy", "insane": "ins*ne", "mental": "ment*l", "sick": "s*ck", "disease": "dis*ase" } # Завантажуємо історію використання self.usage_file = "story_usage_history.json" self.usage_history = self.load_usage_history() def load_usage_history(self): """Завантажує історію використаних комбінацій""" if os.path.exists(self.usage_file): try: with open(self.usage_file, 'r', encoding='utf-8') as f: return json.load(f) except: return {"used_combinations": [], "story_count": 0} return {"used_combinations": [], "story_count": 0} def save_usage_history(self): """Зберігає історію використання""" try: with open(self.usage_file, 'w', encoding='utf-8') as f: json.dump(self.usage_history, f, ensure_ascii=False, indent=2) except Exception as e: print(f"Помилка збереження історії: {e}") def make_youtube_safe(self, text): """Замінює чутливі слова на цензуровані версії з зірочками""" safe_text = text for sensitive, safe in self.sensitive_words.items(): # Замінюємо різні форми слова (звичайне, з великою літери, всі великі) import re # Замінюємо цілі слова, а не частини слів pattern = r'\b' + re.escape(sensitive) + r'\b' safe_text = re.sub(pattern, safe, safe_text, flags=re.IGNORECASE) # Також замінюємо версії з великою літери pattern_cap = r'\b' + re.escape(sensitive.capitalize()) + r'\b' safe_text = re.sub(pattern_cap, safe.capitalize(), safe_text, flags=re.IGNORECASE) # І версії всіма великими літерами pattern_upper = r'\b' + re.escape(sensitive.upper()) + r'\b' safe_text = re.sub(pattern_upper, safe.upper(), safe_text, flags=re.IGNORECASE) return safe_text def get_unique_combination(self): """Генерує унікальну комбінацію елементів""" max_attempts = 100 attempts = 0 while attempts < max_attempts: relation = random.choice(list(self.family_relations.keys())) category = random.choice(list(self.conflict_categories.keys())) conflict = random.choice(self.conflict_categories[category]) setting = random.choice(self.settings) theme = random.choice(self.emotional_themes) combination_id = f"{relation}_{conflict}_{setting}_{theme}" if combination_id not in self.usage_history["used_combinations"]: self.usage_history["used_combinations"].append(combination_id) self.usage_history["story_count"] += 1 if len(self.usage_history["used_combinations"]) > 1000: self.usage_history["used_combinations"] = self.usage_history["used_combinations"][-500:] self.save_usage_history() return relation, conflict, setting, theme, category attempts += 1 print("⚠️ Увага: Генерую повторну комбінацію (вичерпані унікальні варіанти)") relation = random.choice(list(self.family_relations.keys())) category = random.choice(list(self.conflict_categories.keys())) conflict = random.choice(self.conflict_categories[category]) setting = random.choice(self.settings) theme = random.choice(self.emotional_themes) return relation, conflict, setting, theme, category def generate_character(self, relation): """Генерує персонажа з ім'ям та віком""" rel_info = self.family_relations[relation] female_indicators = ['mother', 'sister', 'aunt', 'female', 'sister-in-law', 'stepmother', 'grandmother', 'girlfriend', 'daughter-in-law', 'godmother'] male_indicators = ['father', 'brother', 'uncle', 'male', 'brother-in-law', 'stepfather', 'grandfather', 'boyfriend', 'son-in-law', 'godfather'] if any(indicator in relation.lower() for indicator in female_indicators): is_female = True elif any(indicator in relation.lower() for indicator in male_indicators): is_female = False else: is_female = random.choice([True, False]) name = random.choice(self.female_names if is_female else self.male_names) age = random.randint(rel_info["age_range"][0], rel_info["age_range"][1]) return name, age, rel_info["ua"], is_female def generate_narrator_character(self, channel): """Генерує оповідача відповідно до каналу""" if channel == "Reddit Tales Leader": name = random.choice(self.female_names) age = random.randint(18, 45) return name, age, True else: name = random.choice(self.male_names) age = random.randint(18, 45) return name, age, False def choose_channel(self): """Дозволяє вибрати канал з покращеним інтерфейсом""" print("\n" + "="*60) print(" ???? ВИБІР КАНАЛУ ????") print("="*60) print("1. ???? True Drama - Довгі емоційні історії (300-500 символів preview)") print("2. ???? True Stories - Середні історії (100-140 символів preview)") print("3. ???? Reddit Tales Leader - Короткі жіночі історії (8-20 слів preview)") print("="*60) while True: try: choice = input("Введіть номер каналу (1-3) або 'q' для виходу: ").strip().lower() if choice == "q" or choice == "quit": return None elif choice == "1": return "True Drama" elif choice == "2": return "True Stories" elif choice == "3": return "Reddit Tales Leader" else: print("❌ Будь ласка, введіть 1, 2, 3 або 'q'") except KeyboardInterrupt: print("\n???? Вихід...") return None def display_story_stats(self): """Показує статистику згенерованих історій""" total_stories = self.usage_history.get("story_count", 0) unique_combinations = len(self.usage_history.get("used_combinations", [])) # Показуємо кількість доступних комбінацій total_possible = (len(self.family_relations) * sum(len(conflicts) for conflicts in self.conflict_categories.values()) * len(self.settings) * len(self.emotional_themes)) print(f"\n???? СТАТИСТИКА:") print(f" Всього згенеровано історій: {total_stories}") print(f" Унікальних комбінацій: {unique_combinations}") print(f" Загальна кількість можливих варіацій: {total_possible:,}") print(f" Використано варіацій: {(unique_combinations/total_possible)*100:.2f}%") def generate_enhanced_prompt(self, channel): """Генерує покращений промт з усіма новими елементами""" relation, conflict, setting, theme, category = self.get_unique_combination() name, age, ua_relation, is_female = self.generate_character(relation) narrator_name, narrator_age, narrator_is_female = self.generate_narrator_character(channel) secondary_relations = [rel for rel in self.family_relations.keys() if rel != relation] secondary_relation = random.choice(secondary_relations[:5]) secondary_name, secondary_age, secondary_ua, secondary_is_female = self.generate_character(secondary_relation) # Вибираємо елементи з нових категорій opening_hook = random.choice(self.opening_hooks) time_jump = random.choice(self.time_jumps) psychological_aspect = random.choice(self.psychological_elements) social_reaction = random.choice(self.social_reactions) secondary_betrayal = random.choice(self.secondary_betrayals) secondary_character = random.choice(self.secondary_characters) personal_growth = random.choice(self.personal_growth_endings) # Побутові деталі food_detail = random.choice(self.daily_details["foods"]) smell_detail = random.choice(self.daily_details["smells"]) time_detail = random.choice(self.daily_details["times"]) money_detail = random.choice(self.daily_details["money_details"]) object_detail = random.choice(self.daily_details["objects"]) shocking_reveal = random.choice(self.story_elements["shocking_reveals"]) dramatic_moment = random.choice(self.story_elements["dramatic_moments"]) emotional_hook = random.choice(self.story_elements["emotional_hooks"]) plot_twist = random.choice(self.story_elements["plot_twists"]) channel_configs = { "Reddit Tales Leader": { "narrator_gender": "female", "story_length": "2500-3500 words", "preview_length": "8-20 words", "preview_style": "extremely short, punchy, and shocking", "title_style": "direct and dramatic with strong emotional words" }, "True Stories": { "narrator_gender": "male", "story_length": "3000-4000 words", "preview_length": "100-140 characters", "preview_style": "mysterious and intriguing with cliffhanger elements", "title_style": "question-based or cliffhanger with emotional impact" }, "True Drama": { "narrator_gender": "male", "story_length": "3500-4500 words", "preview_length": "300-500 characters", "preview_style": "detailed, emotional story with multiple hooks and shocking elements", "title_style": "dramatic story-telling with multiple emotional beats" } } config = channel_configs[channel] # Створюємо покращений промт з усіма новими елементами enhanced_prompt = f"""You are a master storyteller creating viral Reddit-style family drama content with ENHANCED psychological depth and realism. Create an absolutely gripping, emotionally devastating story that will make viewers feel every emotion. ???? STORY FOUNDATION: NARRATOR: {narrator_name} ({config['narrator_gender']}, {narrator_age}) - the victim/hero telling their story MAIN ANTAGONIST: {name} (my {relation}, {age}) - the person who {conflict} KEY SUPPORTING CHARACTER: {secondary_name} (my {secondary_relation}, {secondary_age}) SETTING: {setting} CORE THEME: {theme} CONFLICT CATEGORY: {category.replace('_', ' ').title()} TARGET CHANNEL: {channel} STORY LENGTH: {config['story_length']} ???? MANDATORY OPENING HOOK (First paragraph): Start the story with a very strong hook. One that will hook the listener. Then immediately explain what led to this moment in 2-3 sentences. ???? REQUIRED REALISTIC DETAILS TO WEAVE THROUGHOUT: - FOOD/TASTE: {food_detail} - SMELL: {smell_detail} - SPECIFIC TIME: {time_detail} - MONEY DETAIL: {money_detail} - PERSONAL OBJECT: {object_detail} ⏰ TIME JUMPS & LIFE STAGES: Include at least 2 time references like: "{time_jump}" Show how this affected different periods of narrator's life. ???? PSYCHOLOGICAL ASPECTS (MANDATORY): - Include this psychological element: {psychological_aspect} - Show specific trauma symptoms: nightmares, panic attacks, trust issues - Mention therapy sessions or mental health treatment - Describe how the abuse rewired the narrator's thinking ???? SOCIAL REACTIONS (MANDATORY): - Include this social consequence: {social_reaction} - Show how community, workplace, and strangers reacted - Describe public shame, whispers, and social isolation - Include impact on narrator's reputation and relationships ????️ SECONDARY BETRAYALS & CHARACTERS: - Add this secondary betrayal: {secondary_betrayal} - Include this supporting character: A {secondary_character["role"]} who {secondary_character["action"]} - Show how trust was broken on multiple levels - Reveal that the abuse was more widespread than initially thought ???? PERSONAL GROWTH ENDING (MANDATORY): End with this empowering resolution: {personal_growth} Show specific steps the narrator took to rebuild their life. ???? STORY ELEMENTS TO WEAVE IN: - Shocking revelation: {shocking_reveal} - Dramatic climax: {dramatic_moment} - Emotional core: {emotional_hook} - Plot twist: {plot_twist} ???? ENHANCED WRITING REQUIREMENTS: - Write in first person as {narrator_name} - Include realistic dialogue with quotation marks - Add specific details: exact dates, dollar amounts, addresses, times - Use authentic Reddit language (casual, emotional, relatable) - Make every sentence either advance plot, reveal character, or build emotion - Include internal thoughts and physical reactions to trauma - Show, don't tell - use vivid scenes instead of summaries ????️ DETAILED STORY STRUCTURE: Part 1: SHOCKING HOOK + Setup (700 words) - Open with the mandatory hook - Introduce relationship history and initial trust - Include specific daily details and time references - End with first red flag Part 2: Growing Suspicion + Red Flags (700 words) - Show escalating warning signs - Include {time_jump} flashback/forward - Introduce secondary character and their role - Build tension with specific incidents Part 3: Major Discovery + Secondary Betrayals (700 words) - Reveal the main shocking truth - Expose secondary betrayal involving other people - Show psychological impact and trauma symptoms - Include social reactions from community Part 4: Confrontation + Explosive Climax (700 words) - The dramatic moment: {dramatic_moment} - Include specific dialogue and physical details - Show immediate consequences and fallout - Reveal any final plot twists Part 5: Immediate Aftermath + Rock Bottom (700 words) - Show psychological breakdown and trauma - Include therapy/medical treatment details - Describe social isolation and public reaction - Show the narrator at their lowest point Part 6: Recovery + Personal Victory (700 words) - Detail the healing journey and therapy process - Show specific steps toward empowerment - Include the personal growth ending: {personal_growth} - End with current life and lessons learned ???? RESPONSE FORMAT: **Short Description (Ukrainian):** One dramatic sentence in Ukrainian summarizing the core betrayal **Story Part 1 (700 words):** Start with the shocking hook, then build the foundation [Continue with parts 2-6 when requested, each exactly 700 words] After completing all parts, when asked for video metadata: **Video Title:** Create a {config['title_style']} title ending with "(Reddit Stories)" - make it irresistible **Preview Text ({config['preview_length']}):** {config['preview_style']}. Focus on the MOST shocking moment from the opening hook. Put the main words in square brackets[]. **YouTube Metadata:** - Description: 300 words, emotional hooks, story summary - Hashtags: #RedditStories #FamilyDrama #TrueStories #Betrayal #Revenge - Tags: 450-490 characters, emotional keywords ???? CRITICAL SUCCESS FACTORS: - Every paragraph must contain specific, visceral details - Include realistic dialogue that reveals personality - Show real human psychology and trauma responses - Make readers feel they lived through this experience - Build multiple emotional peaks, not just one climax - Show realistic consequences: legal, financial, medical, social - Include hope and empowerment in the resolution ⚠️ IMPORTANT: Use YouTube-safe censored language throughout (k*ll, ab*se, etc.) Create a story so emotionally powerful and detailed that readers will remember it for months!""" # Застосовуємо YouTube-безпечну цензуру до всього промту safe_prompt = self.make_youtube_safe(enhanced_prompt) return safe_prompt def generate_prompt(self, channel): """Обгортка для зворотної сумісності""" return self.generate_enhanced_prompt(channel) def batch_generate(self): """Генерує декілька промтів підряд""" print("\n???? ПАКЕТНА ГЕНЕРАЦІЯ") try: count = int(input("Скільки промтів генерувати? (1-20): ")) if count < 1 or count > 20: print("❌ Будь ласка, введіть число від 1 до 20") return except ValueError: print("❌ Будь ласка, введіть число") return channel = self.choose_channel() if not channel: return prompts = [] for i in range(count): print(f"Генерую промт {i+1}/{count}...") prompt = self.generate_prompt(channel) prompts.append(f"=== ПРОМТ {i+1} для {channel} ===\n{prompt}\n") timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") filename = f"batch_prompts_{channel.replace(' ', '_')}_{timestamp}.txt" with open(filename, 'w', encoding='utf-8') as f: for prompt in prompts: f.write(prompt + "\n" + "="*80 + "\n\n") print(f"✅ Згенеровано {count} промтів для {channel}") print(f"???? Збережено в файл: {filename}") def show_available_variations(self): """Показує доступні варіації для кожної категорії""" print("\n???? ДОСТУПНІ ВАРІАЦІЇ:") print("="*60) print(f"???? Родинні стосунки: {len(self.family_relations)}") for relation in list(self.family_relations.keys())[:10]: print(f" • {relation}") if len(self.family_relations) > 10: print(f" ... та ще {len(self.family_relations)-10}") print(f"\n???? Категорії конфліктів: {len(self.conflict_categories)}") for category, conflicts in self.conflict_categories.items(): print(f" • {category.replace('_', ' ').title()}: {len(conflicts)} варіантів") print(f"\n???? Локації: {len(self.settings)}") for setting in self.settings[:10]: print(f" • {setting}") if len(self.settings) > 10: print(f" ... та ще {len(self.settings)-10}") print(f"\n???? Емоційні теми: {len(self.emotional_themes)}") for theme in self.emotional_themes[:5]: print(f" • {theme}") if len(self.emotional_themes) > 5: print(f" ... та ще {len(self.emotional_themes)-5}") print(f"\n???? Жорсткі хуки: {len(self.opening_hooks)}") for hook in self.opening_hooks[:5]: print(f" • {hook}") print(f"\n???? Психологічні елементи: {len(self.psychological_elements)}") print(f"???? Соціальні реакції: {len(self.social_reactions)}") print(f"????️ Другорядні зради: {len(self.secondary_betrayals)}") print(f"???? Особисті перемоги: {len(self.personal_growth_endings)}") total_variations = (len(self.family_relations) * sum(len(conflicts) for conflicts in self.conflict_categories.values()) * len(self.settings) * len(self.emotional_themes)) print(f"\n???? ЗАГАЛЬНА КІЛЬКІСТЬ МОЖЛИВИХ ВАРІАЦІЙ: {total_variations:,}") print("="*60) def test_censorship(self): """Тестує функцію цензури""" test_text = "He tried to kill me and abuse me. The violence was terrible. They poisoned my food and made death threats. I was sick from the drugs they gave me. The victim suffered mental pain from the assault." print("\n???? ТЕСТ ЦЕНЗУРИ:") print("="*60) print("ОРИГІНАЛЬНИЙ ТЕКСТ:") print(test_text) print("\nЦЕНЗУРОВАНИЙ ТЕКСТ:") censored = self.make_youtube_safe(test_text) print(censored) # Показуємо конкретні заміни print("\nЗАМІНИ:") for original, censored_word in self.sensitive_words.items(): if original in test_text.lower(): print(f" {original} → {censored_word}") print("="*60) def main(): try: generator = RedditStoriesGenerator() while True: print("\n" + "="*60) print(" ???? REDDIT STORIES GENERATOR ????") print(" (ВЕРСІЯ З ЦЕНЗУРОЮ ⭐)") print("="*60) generator.display_story_stats() print("\nОпції:") print("1. ???? Згенерувати один промт") print("2. ???? Пакетна генерація (декілька промтів)") print("3. ???? Показати всі доступні варіації") print("4. ???? Тест функції цензури") print("5. ???? Очистити історію використання") print("6. ???? Вихід") print("="*60) choice = input("Ваш вибір (1-6): ").strip() if choice == "1": channel = generator.choose_channel() if channel is None: continue print(f"\n⚙️ Генерую унікальний промт для {channel}...") prompt = generator.generate_prompt(channel) try: pyperclip.copy(prompt) print(f"\n✅ ПРОМТ ЗГЕНЕРОВАНО для {channel}!") print("✅ АВТОМАТИЧНО СКОПІЙОВАНО В БУФЕР ОБМІНУ!") print("⭐ ЗАСТОСОВАНО YOUTUBE-БЕЗПЕЧНУ ЦЕНЗУРУ!") print("\n???? Тепер можете вставити його в ChatGPT (Ctrl+V)") print(f"???? Це ваша історія #{generator.usage_history['story_count']}") except Exception as e: print(f"\n✅ ПРОМТ ЗГЕНЕРОВАНО для {channel}!") print("⚠️ Помилка копіювання в буфер обміну") print("⭐ ЗАСТОСОВАНО YOUTUBE-БЕЗПЕЧНУ ЦЕНЗУРУ!") print("\nПРОМТ:") print("="*80) print(prompt) elif choice == "2": generator.batch_generate() elif choice == "3": generator.show_available_variations() elif choice == "4": generator.test_censorship() elif choice == "5": confirm = input("Ви впевнені, що хочете очистити історію? (y/N): ").lower() if confirm == 'y' or confirm == 'yes': generator.usage_history = {"used_combinations": [], "story_count": 0} generator.save_usage_history() print("✅ Історію очищено!") else: print("❌ Скасовано") elif choice == "6": print("???? До побачення!") break else: print("❌ Невірний вибір. Спробуйте ще раз.") if choice in ["1", "2", "3", "4"]: input("\nНатисніть Enter для продовження...") except Exception as e: print(f"❌ Помилка: {e}") input("Натисніть Enter для продовження...") except KeyboardInterrupt: print("\n???? Вихід...") if __name__ == "__main__": main()