{"id":13596820,"url":"https://github.com/tareqimbasher/NetPad","last_synced_at":"2025-04-09T20:31:35.052Z","repository":{"id":37180897,"uuid":"395993244","full_name":"tareqimbasher/NetPad","owner":"tareqimbasher","description":"A cross-platform C# editor and playground.","archived":false,"fork":false,"pushed_at":"2025-04-04T13:50:26.000Z","size":13124,"stargazers_count":1662,"open_issues_count":43,"forks_count":89,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-04-05T19:03:29.213Z","etag":null,"topics":["aurelia","cross-platform","csharp","database","desktop","dotnet","editor","electron","ide","linux","macos","playground","roslyn","tauri","windows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/tareqimbasher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/Supporting a new .NET Version.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["tareqimbasher"]}},"created_at":"2021-08-14T11:51:04.000Z","updated_at":"2025-04-05T08:07:00.000Z","dependencies_parsed_at":"2023-12-10T15:27:40.050Z","dependency_job_id":"9a57dc67-cd7e-4f4a-a368-bffe67b2eb9e","html_url":"https://github.com/tareqimbasher/NetPad","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2FNetPad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2FNetPad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2FNetPad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tareqimbasher%2FNetPad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tareqimbasher","download_url":"https://codeload.github.com/tareqimbasher/NetPad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248107346,"owners_count":21048907,"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":["aurelia","cross-platform","csharp","database","desktop","dotnet","editor","electron","ide","linux","macos","playground","roslyn","tauri","windows"],"created_at":"2024-08-01T16:02:49.638Z","updated_at":"2025-04-09T20:31:30.225Z","avatar_url":"https://github.com/tareqimbasher.png","language":"TypeScript","funding_links":["https://github.com/sponsors/tareqimbasher"],"categories":["windows","C# #","C#","C\\#"],"sub_categories":[],"readme":"# \u003cdiv style=\"display: flex; align-items: center; gap: 7px\"\u003e\u003cimg src=\"https://github.com/tareqimbasher/netpad/blob/main/src/Apps/NetPad.Apps.App/wwwroot/logo/circle/32x32.png?raw=true\" /\u003e NetPad\u003c/div\u003e\n\nA cross-platform C# editor and playground.\n\n[![build](https://github.com/tareqimbasher/NetPad/actions/workflows/build.yml/badge.svg)](https://github.com/tareqimbasher/NetPad/actions/workflows/build.yml)\n[![CodeQL](https://github.com/tareqimbasher/NetPad/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/tareqimbasher/NetPad/actions/workflows/codeql-analysis.yml)\n\n![](https://github.com/tareqimbasher/netpad/blob/main/docs/images/preview.png?raw=true)\n\n## Get Started\n\nNetPad is a C# playground that lets you run C# code instantly, without the hassle of creating and\nmanaging projects. Open NetPad, start coding, hit Run, and see your output immediately. It's that\nsimple.\n\n- **Prototyping and Testing:** Quickly prototype and test code snippets before incorporating them\n  into your projects.\n- **Data Visualization:** Visualize data interactively for better insights and analysis.\n- **Database Queries:** Query databases using LINQ or SQL effortlessly.\n- **Learn and Experiment:** Experiment with new C# features or start learning C# in an intuitive and\n  accessible environment.\n- **Utility Scripts:** Create and save your own utility or administration scripts for repeated use.\n\nSee [Features](https://github.com/tareqimbasher/NetPad?tab=readme-ov-file#features-rocket).\n\n#### If you like this project, please star it :star2: and consider [contributing](https://github.com/sponsors/tareqimbasher).\n\n## Motivation\n\nWe love LINQPad, but we miss its tremendous utility when working on non-Windows platforms.\nThis project aims to create an open-source, web-enabled, cross-platform alternative.\n\nThe goal isn't to reach 100% feature parity with LINQPad, but to offer an effective alternative that\ncovers features most commonly used and to introduce a few new useful ones.\n\n## Requirements\n\nThe following must be installed to use NetPad:\n\n* [.NET SDK](https://dotnet.microsoft.com/en-us/download) (v6 or later)\n\nAdditional requirement if you plan to create and use database connections:\n\n* [EF Core tools](https://learn.microsoft.com/en-us/ef/core/cli/dotnet) (.NET 5 or later)\n\n## Download\n\n[Download](https://github.com/tareqimbasher/NetPad/releases) the latest version for free!\n\nFor folks on **Arch Linux** or **Manjaro**, you can also install it from\nthe [AUR](https://aur.archlinux.org/packages/netpad-bin).\n\nOn **macOS**\nsee [this](https://github.com/tareqimbasher/NetPad/wiki/Troubleshooting#netpad-is-damaged-and-cant-be-opened-you-should-move-it-to-the-trash)\nif you have trouble opening NetPad.\n\n## Updates\n\nNetPad automatically checks for updates each time you start the application and will notify\nyou when a new version is available.\n\nCurrently, automatic updates are not supported, but this feature will be added to make updating\nas seamless as possible. Stay tuned for future updates!\n\nThe latest version can be downloaded from\nthe [Releases](https://github.com/tareqimbasher/NetPad/releases) page.\n\n## Wiki\n\nThe [Wiki](https://github.com/tareqimbasher/NetPad/wiki) is a great place to find more information\nabout NetPad.\n\n## Troubleshooting\n\nSee the [Troubleshooting](https://github.com/tareqimbasher/NetPad/wiki/Troubleshooting) section of\nthe Wiki.\n\n## Contribution\n\nAll Pull Requests, feedback and contributions are welcome! Please read the [Contributing guidelines](./CONTRIBUTING.md) for more information about how to contribute and build/run the project.\n\nA special thanks to NetPad's wonderful \u003ca href=\"https://github.com/sponsors/tareqimbasher\"\u003e\nsponsors\u003c/a\u003e. Sponsorships help pay for macOS builds and helps me maintain this project.\n\n\u003ca href=\"https://github.com/mattjcowan\"\u003e\u003cimg src=\"https://github.com/mattjcowan.png\" width=\"50px\" alt=\"mattjcowan\" /\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/lpreiner\"\u003e\u003cimg src=\"https://github.com/lpreiner.png\" width=\"50px\" alt=\"lpreiner\" /\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/jdonohoo\"\u003e\u003cimg src=\"https://github.com/jdonohoo.png\" width=\"50px\" alt=\"jdonohoo\" /\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/ChristopherHaws\"\u003e\u003cimg src=\"https://github.com/ChristopherHaws.png\" width=\"50px\" alt=\"ChristopherHaws\" /\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\n\u003ca href=\"https://github.com/pelsedyr\"\u003e\u003cimg src=\"https://github.com/pelsedyr.png\" width=\"50px\" alt=\"pelsedyr\" /\u003e\u003c/a\u003e\n\u0026nbsp;\u0026nbsp;\n\nIf you enjoy using NetPad and would like to support its continued development,\nconsider [sponsoring](https://github.com/sponsors/tareqimbasher) the project. A small contribution,\nlike the cost of a cup of coffee ($5) per month, helps immensely with maintenance and the addition\nof new features. Thank you for your support! :heart:\n\nJoin our [Discord server](https://discord.gg/FrgzNBYQFW) to collaborate with the community.\n\n## Features :rocket:\n\n* The basics:\n    * Write, save and run your own scripts\n    * Manage namespaces\n    * Standard code editor features powered by Monaco editor\n    * Auto-open unsaved scripts from previous session on launch\n* Dump complex objects to the results console\n* Export results to Excel or HTML\n* Choose the .NET SDK version you want to use per script\n* Add database connections and query them with LINQ\n* Run SQL queries\n* Add NuGet packages\n* Reference assemblies from disk\n* Syntax Tree Visualizer\n* User-defined results styling\n* LSP powered by OmniSharp:\n    * Code Completion (Intellisense)\n    * Semantic Highlighting\n    * CodeLens\n    * Inlay Hints\n    * Hover for Documentation\n    * Go-to implementation\n    * Find References\n    * Find Symbol\n    * Rename Symbol\n    * Action Suggestions\n    * Diagnostics\n    * Document Highlighting\n    * Contextual code folding\n    * Format document/selection/on-type\n\n## Roadmap :construction:\n\n* Debugging\n* Support for more database providers (Oracle, Mongo...etc)\n* Hyperlink driven Lazy-loading of results, and a DataGrid view\n* Benchmark your code\n* Referencing other scripts\n* Ability to run a script from the command-line\n* IL Visualizer\n* Export a script as a \"ready to run\" .NET app\n* Export a script as a C# project\n* Git tracking of script changes\n* Workspaces/Sessions\n* Plugins\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cimg src=\"https://api.star-history.com/svg?repos=tareqimbasher/NetPad\u0026type=Date\" /\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n## Tech Stack :computer:\n\n* .NET\n* Electron.NET ([github](https://github.com/ElectronNET/Electron.NET))\n* Aurelia 2 ([docs](https://docs.aurelia.io/))\n\n### How it works\n\nNetPad runs an ASP.NET web app that hosts a web user interface. It can be\npackaged as a desktop app or served and accessed on any browser.\n\nCommunication between the user interface and the ASP.NET backend occurs via HTTP\nand SignalR.\n\n## Build\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for instructions on how to build and run NetPad from\nsource. NetPad can be run as a desktop app or as a web application accessed with a web browser.\n\n## Resources :books::\n\n* Docs: [Go](https://github.com/tareqimbasher/NetPad/tree/main/docs)\n* More on SPA app startup and running\n  tests: [Go](https://github.com/tareqimbasher/NetPad/tree/main/src/Apps/NetPad.Apps.App/App)\n* Build: [Go](./CONTRIBUTING.md#manually-start-the-project)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftareqimbasher%2FNetPad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftareqimbasher%2FNetPad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftareqimbasher%2FNetPad/lists"}