{"id":25658681,"url":"https://github.com/avinava/sfdc-neo","last_synced_at":"2025-08-14T08:48:10.184Z","repository":{"id":167702455,"uuid":"642719768","full_name":"Avinava/sfdc-neo","owner":"Avinava","description":"Open AI based app to help you with creating test class, documents, code review and more","archived":false,"fork":false,"pushed_at":"2024-05-11T13:52:43.000Z","size":5095,"stargazers_count":22,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T09:51:12.102Z","etag":null,"topics":["apex","chatgpt","gpt-35-turbo","jsforce","openai","salesforce","salesforce-developers","sfdx","test-class"],"latest_commit_sha":null,"homepage":"https://neo.sfdxy.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Avinava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-19T07:40:31.000Z","updated_at":"2025-03-03T20:02:19.000Z","dependencies_parsed_at":"2024-01-18T20:26:58.090Z","dependency_job_id":"08c97530-6e2a-4e3c-86b4-17fc211d5e88","html_url":"https://github.com/Avinava/sfdc-neo","commit_stats":null,"previous_names":["avinava/sfdc-neo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fsfdc-neo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fsfdc-neo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fsfdc-neo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avinava%2Fsfdc-neo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avinava","download_url":"https://codeload.github.com/Avinava/sfdc-neo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249731675,"owners_count":21317343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apex","chatgpt","gpt-35-turbo","jsforce","openai","salesforce","salesforce-developers","sfdx","test-class"],"created_at":"2025-02-24T00:28:10.606Z","updated_at":"2025-10-14T12:12:24.041Z","avatar_url":"https://github.com/Avinava.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/avidev"],"categories":[],"sub_categories":[],"readme":"# SFDC-Neo\n\nSFDC-Neo is a Node.js application that helps in Salesforce development by utilizing OpenAI, Salesforce Metadata API, and the Apex Parser. It helps in various tasks, including documentation creation and generation of test classes within the Salesforce ecosystem.\n\nDemo : https://neo.sfdxy.com/\n\n### Features\n- **Test Class Generation**: This feature automates the creation of test classes for your Salesforce code by leveraging apex-parser and metadata API to retrieve the schema of related objects and fields. This allows for more precise test data generation. Additionally, it utilizes the tooling API and sfdc-soup to identify dependencies and automatically detect test factories that should be used.\nMoreover, this feature offers the option to include custom prompts, enhancing the assistance provided during test class generation.\n- **Code Comments**: This feature enhances code readability and maintainability by automatically generating helpful comments throughout your codebase. The comments are generated based on existing comments, code structure and logic, making it easier to understand the code and make changes as needed.\n- **Code Documentation**: This feature saves time and effort by generating comprehensive documentation for your Salesforce code. The documentation is generated in a variety of formats, including HTML, PDF, and Markdown. This makes it easy to share the documentation with others or to use it as a reference guide.\n- **Code Review**: This feature incorporates OpenAI to conduct code reviews. The code review process evaluates various factors such as code complexity, code style, and code performance. By analyzing these aspects, it assists in identifying and addressing potential issues in your code before they manifest as problems. Furthermore, this feature augments the code review process by leveraging PMD results, which further enhances the guidance and recommendations provided during the review.\n- **Email Template**: Better format email templates using OpenAI.\n- **Validation Rule**: This feature uses OpenAI to automatically generate documentation for validation rules. It provides easy-to-read descriptions and includes relevant examples, making it user-friendly and helpful for understanding and documenting validation rules.\n- **Flow**: This feature uses OpenAI to automatically generate documentation for Flow.\n- **Validate \u0026 Deploy**: Easily validate and deploy the generated code from the app directly to your Salesforce org.\n\n\nSFDC-Neo is currently in active development, which means there may be occasional hiccups along the way. If you encounter any issues or have suggestions for enhancements, please don't hesitate to open a GitHub issue. \n\n\u003ca href=\"https://www.buymeacoffee.com/avidev\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 50px !important;width: 180px !important;\" \u003e\u003c/a\u003e\n\n## Installation\n\nTo install SFDC-Neo, you will need to have Node.js and npm or yarn installed on your system. You can then install the dependencies by running:\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n\n## Configuration\nBefore you can use SFDC-Neo, you will need to configure it with your Salesforce credentials. To do this, create a `.env` file in the root directory of the project and add the following variables:\n\n\n```\nSESSION_SECRET=\u003cyour session secret\u003e\nPORT=\u003cthe port to run the server on\u003e\nCLIENT_ID=\u003cyour Salesforce client ID\u003e\nCLIENT_SECRET=\u003cyour Salesforce client secret\u003e\nPRODUCTION_AUTHORIZATION_URL=https://login.salesforce.com/services/oauth2/authorize\nPRODUCTION_TOKEN_URL=https://login.salesforce.com/services/oauth2/token\nSANDBOX_AUTHORIZATION_URL=https://test.salesforce.com/services/oauth2/authorize\nSANDBOX_TOKEN_URL=https://test.salesforce.com/services/oauth2/token\nOPENAI_API_KEY=\u003cyour OpenAI API key\u003e\nOPENAI_MAX_TOKENS=4096\nOPENAI_CONTEXT_MAX_TOKENS=20000\nOPENAI_TEMPERATURE=0.3\nOPENAI_MODEL_NAME=gpt-4-1106-preview\n# only needed for enabling quota, by default this shouldn't be needed\nENABLE_QUOTA=true\nSUPABASE_URL=\u003cyour Supabase URL\u003e\nSUPABASE_ADMIN_KEY=\u003cyour Supabase admin key\u003e\n```\n\n## Usage\nTo start the SFDC-Neo server, run:\n\n\n```bash\nnpm start\n# or\nyarn start\n```\n\nThis will start the server on the port specified in the .env file. You can then access the application by navigating to http://localhost:3000 in your web browser.\n\n\n## Demo\n\nYou can try the demo app here https://neo.sfdxy.com/\n\n![home.png](/screenshots/home.png)\n![test_class_gen.png](/screenshots/test_class_gen.png)\n![review.png](/screenshots/review.png)\n\n\n![demo.gif](/screenshots/demo.gif)\n\n\n## Contributing\nIf you would like to contribute to SFDC-Neo, please fork the repository and submit a pull request. All contributions are welcome!\n\n## License\nSFDC-Neo is licensed under the MIT License. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinava%2Fsfdc-neo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinava%2Fsfdc-neo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinava%2Fsfdc-neo/lists"}