Codebase Updater on the GPT Store
GPT Description
GPT Prompt Starters
- import os import shutil import sqlite3 # Initialize the database and create necessary tables conn = sqlite3.connect(':memory:') cursor = conn.cursor() cursor.execute(''' CREATE TABLE tasks ( id INTEGER PRIMARY KEY AUTOINCREMENT, file_name TEXT NOT NULL, task_type TEXT NOT NULL, start_line INTEGER, end_line INTEGER, snippet_name TEXT, insert_position INTEGER, status TEXT DEFAULT 'not started' ) ''') conn.commit() # Function to add user-uploaded file def add_user_uploaded_file(file, input_folder='input'): shutil.copy(file, input_folder) cursor.execute("INSERT INTO tasks (file_name, task_type, status) VALUES (?, 'add_file', 'done')", (os.path.basename(file),)) conn.commit() # Function to print a file with line numbers def print_file_with_line_numbers(file_path): with open(file_path, 'r') as file: lines = file.readlines() cursor.execute("UPDATE tasks SET status='done' WHERE file_name=?", (os.path.basename(file_path),)) conn.commit() # Function to extract lines from a file def extract_lines(file_path, start, end, snippet_name): with open(file_path, 'r') as file: lines = file.readlines()[start-1:end] snippet_path = f"snippets/{snippet_name}" with open(snippet_path, 'w') as snippet: snippet.writelines(lines) cursor.execute("INSERT INTO tasks (file_name, task_type, start_line, end_line, snippet_name, status) VALUES (?, 'extract', ?, ?, ?, 'done')", (os.path.basename(file_path), start, end, snippet_name)) conn.commit() return snippet_path # Function to replace a range of lines in a file def replace_lines(file_path, start, end, new_content=None): backup_path = f"backup/{os.path.basename(file_path)}" shutil.copy(file_path, backup_path) with open(file_path, 'r') as file: lines = file.readlines() new_lines = lines[:start-1] + (new_content if new_content else []) + lines[end:] with open(file_path, 'w') as file: file.writelines(new_lines) cursor.execute("UPDATE tasks SET status='done' WHERE file_name=? AND task_type='replace'", (os.path.basename(file_path),)) conn.commit() return backup_path # Function to insert a snippet into a file def insert_snippet(target_file, snippet_file, insert_position): backup_path = f"backup/{os.path.basename(target_file)}" shutil.copy(target_file, backup_path) with open(target_file, 'r') as file: lines = file.readlines() with open(snippet_file, 'r') as snippet: snippet_lines = snippet.readlines() new_lines = lines[:insert_position] + snippet_lines + lines[insert_position:] with open(target_file, 'w') as file: file.writelines(new_lines) cursor.execute("UPDATE tasks SET status='done' WHERE file_name=? AND task_type='insert'", (os.path.basename(target_file),)) conn.commit() return backup_path # Function to validate changes def validate_changes(original_file, edited_file, snippet_file): # This function should implement the comparison logic to validate file changes pass
Codebase Updater GPT FAQs
More custom GPTs by Mikhael Levovich on the GPT Store
Your flyer/poster design creator
Flyer/poster design creator analyzing requests, searching knowledge, and generating images.
50K+
Hebrew Translator
Direct English to Hebrew translator without added dialogue.
1K+
Юридический советник
Юридический советник РФ ищет и выдает ответы на юридические вопросыhttps://www.consultant.ru
100+
TG Wallet Guide
Guides on Telegram wallet features, usage, and updates.
80+
Convert Anything to Markdown
Reliable, no-interaction Markdown conversion.
70+
Repo Explorer
A GitHub/GitLab/Git* Repository Explorer, providing detailed insights into repos.
60+
Research Assistant Pro
Scientific paper author assistant focused on detailed remark feedback.
40+
UML Diagram Assistant
Generates UML diagrams for documentation, starting with brainstorming and presenting the best approach.
30+
Standartize recepies
30+
Docu Compare Assistant
Document comparison assistant, formatting changes in Markdown.
30+
Open Interpreter Prompt engineer
Expert in crafting prompts for Open Interpreter, ensuring safe and efficient code execution.
30+

People Info Gatherer
Web research assistant for compiling individual profiles into a database.
30+
wized web app builder
Expert in Wized apps and websites building
30+

LEGALEAGLE
Aids in reviewing legal reports for the Bitsi project, focusing on specific legal aspects.
20+
Compress with Sparse Priming Representations
I compress information into Sparse Priming Representations for LLMs.
20+
Process notes
10+
File Processor Assistant
Processes and manipulates code and other texts content in zip files, logging data and managing files dynamically.
10+
Transcript Processor / Extractor
Refines ASR transcripts, preserving key points
10+
Content Planner Assistant
Plans website content & manages SQLite DB
9+
Transcript to Document
Transcript structuring expert, correcting ASR errors and formatting documents.
8+

Research Pro
Methodical research assistant with web browsing.
8+
Conference Speaker Database Assistant
Builds and completes a database of conference speakers.
7+
AutoCoder Architect
Friendly, professional guide in AI driven software development architecture design
7+
Russian to English Translator +Mistakes Correction
Translates low-quality Russian transcripts into high-quality English.
6+
Time Estimator
Estimates document creation time in CSV format
6+
Minute Composer
An assistant for composing MD formatted emails from transcripts or notes.
6+

Code summarizer
Unzips, lists files, adds to SQLite, and creates .md summaries for Python files.
5+
Translation Refiner
Refines translations by improving accuracy and coherence in markdown files.
5+
Task Structurer
I organize unstructured chats into to-do lists and store them in a database.
5+

Awato Career Guidance
I provide expert guidance on the Awato, answering queries and navigating its features.
5+

Pilot GPT Assistant
Guide for utilizing Pilot GPT in app development
4+
Transcript Processor Assistant
Assists in processing and extracting data from transcript files.
3+
Travel Weather Assistant
Weather Bot providing forecasts and travel preparation advice based on your calendar.
3+

NFT and Crypto Legal Expert
Crypto/DeFi/NFT Legal Assistant providing clear, friendly legal guidance.
3+

Domain Wizard
Expert on domain names, aiding both newbies and professionals.
3+
TextRefinerGPT Patient corrector
meticulously rewrite extensive texts, ensuring every sentence is retained while correcting errors
3+
Copywriting Wizard
Copywriting pro for refining marketing texts
3+
Deadline Assistant
Helps update deadlines and store info in an SQLite database
2+
Compress Document Bot
Compress documents by removing duplicates.
2+

Sanskrit Guru
A guide for learning and understanding Sanskrit.
2+

Document Timetracking Database Manager
Assists in managing a database by extracting data from document links and summaries.
1+

Landing Page Conversion Wizard
Expert in creating high-conversion landing pages, leveraging user files and best practices.
1+

CleanScribe
A proofreader specializing in removing extraneous content from documents.
1+
Best Alternative GPTs to Codebase Updater on GPTs Store
Appsmith Codebase Guru
Expert in Appsmith's GitHub codebase
900+
Codebase Navigator
Your Langchain codebase assistant.
700+
Codebase Analyst
Helps analyze public GitHub repos for educational insights.
100+
Codebase Architect
8X your current CODING workflow. It's free, forever.
50+
World Class Software Engineer
UPDATED: 12/18 Elevate your codebase, streamline coding, and seamlessly integrate with GitHub, including creating and maintaining repositories. Features advanced Commands, Website Templates, and a guide to Software Engineering Principles. Feedback/support: [email protected] (beta).
40+
Arop Deng Ai Programmer
Integrates code updates into complete codebases for bots.
30+
Codebase Generation AI Chatbot
Transforms app concepts into deployable codebases.
10+
Codebase Guru
Unwavering code producer for 'lti_d2l.js'.
10+
Codebase Explainer
Explains codebase architecture and functionalities.
10+
Codebase Context Assistant 2024.9.13
This GPT, named Context Assistant 2024.9.13, is designed to help developers and non-technical stakeholders create, understand, and manage .context files for software projects.
10+
Codebase Companion
Expert in SaaS stacks, especially Next.js, for engineering aid.
10+
Autogen Codebase Expert
Expert in Microsoft's Autogen Codebase
10+
MQL5 CodeBase Assistant
Assists in crafting MQL4/MQL5 library submissions in Russian.
10+
Comprehensive Codebase Creator
Creates and organizes complete codebases for various projects.
9+
SwiftUI Expert - Fix, Update & Optimize Your Apps
First, it analyzes the project and its code, providing a comprehensive summary of the overall structure and key components. It then facilitates the updating of files one at a time, while maintaining a holistic view of the entire codebase.
8+
CodeBase Generator
Generates Node.js/React projects in formatted JavaScript code.
6+
KB
Provides dynamic emergent answers, learns verbosely, updates memory every cycle, and knows vastly about Rim-World, C:DDA, JetBrains IDEs, and C:DDA's Codebase.
5+
Codebase Catalyst (C#)
Expert C# code analyst for software, QA, and testing enhancement.
5+
Codebase Assistant
Expert in software development Q&A.
3+
FEDn Codebase Assistant
A friendly and approachable assistant for the FEDn framework.
3+
