संदेश

App script Chat GPT 100% working code. with some minimul errors

/* BAITHKEE BACKEND API     Google Apps Script for handling News, Views, and Reports */ function doGet(e) {   var action = e.parameter.action;   if (action == "getNews") return getNews(e);   if (action == "addView") return addView(e);   if (action == "report") return reportNews(e);   return ContentService.createTextOutput("Baithkee API is Live"); } function doPost(e) {   var data = JSON.parse(e.postData.contents);   var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("NEWS");      // Naya News Post karna   sheet.appendRow([     new Date().getTime(), // ID     data.headline,     data.text,     data.username,     data.photo,     data.email,     data.latitude,     data.longitude,     new Date().getTime(), // Timestamp     0, // Views     "" // Reports (storing as string to check unique users)   ...

Chaat GPT 100% working code. with some minimul errors

<!DOCTYPE html> <html lang="hi"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">     <meta name="referrer" content="strict-origin-when-cross-origin">     <title>Baithkee | Local News</title>          <script src="https://accounts.google.com/gsi/client" async defer></script>     <style>         :root {             --primary: #FF3B30;             --dark: #1C1C1E;             --gray: #8E8E93;             --light: #F2F2F7;             --white: #FFFFFF;             --shadow: 0 4px 12px rgba(0,0,0,0.08);         }         ...

Google Cloud Console

1046845791568-jc7e5qn4rqhkgqlupdi1ga7j74otrnth.apps.googleusercontent.com

App script

function doGet(e) { var action = e.parameter.action; if(action=="getNews"){ return getNews(e); } if(action=="addView"){ return addView(e); } if(action=="report"){ return reportNews(e); } return ContentService.createTextOutput("API Running"); } function doPost(e){ var data=JSON.parse(e.postData.contents); if(data.action=="postNews"){ return postNews(data); } } /* POST NEWS */ function postNews(data){ var sheet=SpreadsheetApp.getActiveSpreadsheet().getSheetByName("NEWS"); var id=new Date().getTime(); sheet.appendRow([ id, data.headline, data.text, data.username, data.photo, data.email, data. latitude , data.longitude, new Date().getTime(), 0, 0 ]); return ContentService.createTextOutput("posted"); } /* GET NEWS */ function getNews(e){ var lat=parseFloat(e.parameter.lat); var lon=parseFloat(e.parameter.lon); var sheet=SpreadsheetApp.getActiveSpreadsheet().getSheetByName("NEWS"); var data=sheet.getDataRange().g...

Baithkee News Prompt

I want to build a mobile-first local news web application using Blogger (frontend) and Google Sheets with Google Apps Script (backend). The platform name is Baithkee. The system should work as a fully automated loop system, meaning there will be no manual admin management. The community of users will manage the platform automatically through reporting and interaction. Here are the core requirements:   1. The website should be a single-page mobile-first interface designed primarily for smartphone users.   2. The main screen should display news headlines in horizontal strips (news strips). Only the headline text should be visible initially. A.) The strip should show how many seconds ago the news was posted. 3. When a user clicks a headline, a popup window should open showing the full news text, and the text area must be scrollable. A.) The publisher's name should be displayed at the top, and the number of seconds ago the news was posted should also be visible. The li...

Detailed vocabulary prompt

मुझे अंग्रेज़ी के कुछ ऐसे शब्द दीजिए जो लोग अक्सर सुनते हैं लेकिन उनका असली अर्थ नहीं जानते। कृपया हर शब्द को इस format में लिखें: Word (English) Pronunciation – देवनागरी लिपि में अर्थ – शब्द का गहरा भावार्थ, सिर्फ साधारण मतलब नहीं ध्यान रखें: • सभी शब्द single column format में हों • copy-paste करने में आसानी हो • कोई numbering या extra formatting न हो • आसान और साफ structure हो • शब्द अलग-अलग सेक्टर (life, psychology, business, society आदि) से हों। Give me some English words that people often hear but do not clearly understand the real sense of them. Please present each word in the following format: Word (English) Pronunciation – written in Devanagari script (Hindi pronunciation) Meaning – explain the deeper sense or real idea of the word, not just a short dictionary definition. Instructions: • Use a single column format • The text should be easy to copy and paste • Do not use numbering or complicated formatting • Keep the structure clean and simple • Choose words from di...

Google Gemini Prompt for 4k Quality

 Google Gemini Prompt for 4k Quality Pro Tip: Try this in ChatGPT & Google Gemini — jisme photo best aaye, wahi use karo. Step 1: use for 4k Quality Ultra-premium professional image enhancement. Transform the uploaded low-quality, blurry image into extreme high-detail cinematic quality. Preserve 100% original identity, face structure, expression, pose, clothing, accessories, background, framing, and composition. Do NOT alter, redesign, replace, or add anything. Recover micro-details: sharp facial features natural skin texture visible pores realistic hair strands crisp eyes clean refined edges High-contrast clarity, deep depth, and balanced cinematic lighting. Poster-grade realism with dramatic but accurate detail. Output in 8K resolution, ProRes quality, studio-level sharpness. Photorealistic textures only. True-to-source enhancement only. Keep everything exactly the same — only enhance quality. Keep the exact original resolution, aspect ratio, framing, and full canvas. Do NOT...