{"id":30196245,"url":"https://github.com/cumulus13/dummybrowser","last_synced_at":"2025-08-13T05:17:26.117Z","repository":{"id":307957376,"uuid":"1031011427","full_name":"cumulus13/DummyBrowser","owner":"cumulus13","description":"A lightweight .NET console application that registers as a browser alternative in Windows, allowing users to copy links to clipboard instead of opening them in a web browser.","archived":false,"fork":false,"pushed_at":"2025-08-03T08:02:15.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-03T10:06:22.969Z","etag":null,"topics":["browser","clipboard","copy","dotnet","dummy"],"latest_commit_sha":null,"homepage":"https://github.com/cumulus13/DummyBrowser","language":"Inno Setup","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cumulus13.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-08-02T20:14:25.000Z","updated_at":"2025-08-03T08:02:12.000Z","dependencies_parsed_at":"2025-08-03T10:19:22.681Z","dependency_job_id":null,"html_url":"https://github.com/cumulus13/DummyBrowser","commit_stats":null,"previous_names":["cumulus13/dummybrowser"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cumulus13/DummyBrowser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2FDummyBrowser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2FDummyBrowser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2FDummyBrowser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2FDummyBrowser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cumulus13","download_url":"https://codeload.github.com/cumulus13/DummyBrowser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2FDummyBrowser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183606,"owners_count":24541341,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["browser","clipboard","copy","dotnet","dummy"],"created_at":"2025-08-13T05:17:15.580Z","updated_at":"2025-08-13T05:17:26.071Z","avatar_url":"https://github.com/cumulus13.png","language":"Inno Setup","funding_links":["https://www.buymeacoffee.com/cumulus13","https://ko-fi.com/cumulus13","https://www.patreon.com/cumulus13"],"categories":[],"sub_categories":[],"readme":"# Dummy Browser - Link Clipboard Manager\n\nA lightweight .NET console application that registers as a browser alternative in Windows, allowing users to copy links to clipboard instead of opening them in a web browser.\n\n## Features\n\n- 🔗 **Copy links to clipboard** instead of opening in browser\n- ⚙️ **Configurable behavior** via JSON/TXT config file\n- 🖥️ **Windows integration** - appears in \"Open with\" dialog\n- 🚀 **Silent mode** - direct copy without confirmation prompt\n- 📋 **Multiple protocol support** - HTTP, HTTPS, FTP\n- 📄 **File association support** - HTML, HTM, URL files\n\n## Installation\n\n### Prerequisites\n- .NET 6.0+ or .NET Framework 4.8\n- Windows OS\n- Administrator privileges (for registry setup)\n\n### Build and Setup\n\n1. **Clone or download the project**\n```bash\ngit clone https://github.com/cumulus13/DummyBrowser\ncd DummyBrowser\n```\n\n2. **Build the application**\n```bash\ndotnet build -c Release\n```\n\n3. **Navigate to output directory**\n```bash\ncd bin\\Release\\net6.0-windows\\\n```\n\n4. **Copy configuration file**\n```bash\ncopy ..\\..\\..\\config.json .\n```\n\n5. **Run registry setup as Administrator**\n```bash\nsetup_registry.bat\n```\n\n## Configuration\n\nThe application behavior can be customized using `config.json`:\n\n```json\n{\n  \"ShowPrompt\": true,\n  \"AppName\": \"Link Clipboard Manager\",\n  \"ShowSuccessMessage\": true\n}\n```\n\n### Configuration Options\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `ShowPrompt` | boolean | `true` | Show confirmation dialog before copying |\n| `AppName` | string | `\"Link Clipboard Manager\"` | Application name displayed in dialogs |\n| `ShowSuccessMessage` | boolean | `true` | Show success message after copying |\n\n### Configuration Examples\n\n**Silent Mode (Direct Copy):**\n```json\n{\n  \"ShowPrompt\": false,\n  \"AppName\": \"Silent Link Copier\",\n  \"ShowSuccessMessage\": false\n}\n```\n\n**Confirmation Mode:**\n```json\n{\n  \"ShowPrompt\": true,\n  \"AppName\": \"Link Clipboard Manager\",\n  \"ShowSuccessMessage\": true\n}\n```\n\n## Usage\n\n1. **After installation**, the application will appear in Windows \"Open with\" dialog\n2. **Right-click** on any HTML file, URL file, or web link\n3. **Select \"Open with\"** → **\"Choose another app\"**\n4. **Choose \"Link Clipboard Manager\"** from the list\n5. **Depending on configuration**:\n   - Confirmation dialog will appear (if `ShowPrompt: true`)\n   - Link will be copied directly to clipboard (if `ShowPrompt: false`)\n\n## Supported File Types \u0026 Protocols\n\n### File Types\n- `.html` - HTML documents\n- `.htm` - HTML documents\n- `.url` - Internet shortcuts\n\n### Protocols\n- `http://` - HTTP URLs\n- `https://` - HTTPS URLs\n- `ftp://` - FTP URLs\n\n## Project Structure\n\n```\nDummyBrowser/\n├── Program.cs              # Main application logic\n├── DummyBrowser.csproj     # Project configuration\n├── config.json             # Application configuration\n├── setup_registry.bat      # Registry setup script\n└── README.md              # This file\n```\n\n## How It Works\n\n1. **Registry Integration**: The setup script registers the application as a browser alternative in Windows registry\n2. **URL Handling**: Windows passes URLs as command-line arguments to the application\n3. **Clipboard Operation**: The application copies the URL to system clipboard using Windows Forms\n4. **User Feedback**: Optional confirmation dialogs and success messages based on configuration\n\n## Registry Entries\n\nThe application creates the following registry entries:\n\n- `HKEY_LOCAL_MACHINE\\SOFTWARE\\RegisteredApplications`\n- `HKEY_LOCAL_MACHINE\\SOFTWARE\\DummyBrowser\\Capabilities`\n- `HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\DummyBrowser.*`\n\n## Uninstallation\n\nTo remove the application from \"Open with\" dialog:\n\n1. Delete the registry entries created by the setup script\n2. Or create an uninstall script with `reg delete` commands for all created keys\n\n## Troubleshooting\n\n### Build Issues\n- Ensure you have .NET 6.0+ SDK installed\n- For older systems, switch to .NET Framework 4.8 target\n- Check that Windows Forms support is available\n\n### Registry Issues\n- Run `setup_registry.bat` as Administrator\n- Verify the executable path in the batch script\n- Check Windows Event Viewer for registry errors\n\n### Clipboard Issues\n- Ensure the application has permission to access clipboard\n- Some antivirus software may block clipboard operations\n- Try running as Administrator if clipboard access fails\n\n## Development\n\n### Building for Different Frameworks\n\n**.NET 6.0+ (Recommended):**\n```xml\n\u003cTargetFramework\u003enet6.0-windows\u003c/TargetFramework\u003e\n\u003cUseWindowsForms\u003etrue\u003c/UseWindowsForms\u003e\n```\n\n**.NET Framework 4.8 (Legacy):**\n```xml\n\u003cTargetFramework\u003enet48\u003c/TargetFramework\u003e\n\u003cUseWindowsForms\u003etrue\u003c/UseWindowsForms\u003e\n```\n\n### Adding New Features\n\n1. **New Protocols**: Add entries to `setup_registry.bat`\n2. **Configuration Options**: Extend the `Config` class\n3. **File Types**: Add new file associations in registry setup\n\n## License\n\nThis project is provided as-is for educational and utility purposes.\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly on Windows\n5. Submit a pull request\n\n## License\n\nSee [LICENSE](./LICENSE) for details.\n\n## author\n[Hadi Cahyadi](mailto:cumulus13@gmail.com)\n    \n\n[![Buy Me a Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/cumulus13)\n\n[![Donate via Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cumulus13)\n\n[Support me on Patreon](https://www.patreon.com/cumulus13)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcumulus13%2Fdummybrowser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcumulus13%2Fdummybrowser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcumulus13%2Fdummybrowser/lists"}