Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azawawi/raku-browser-open
Open a browser in a given URL
https://github.com/azawawi/raku-browser-open
browser raku
Last synced: about 2 months ago
JSON representation
Open a browser in a given URL
- Host: GitHub
- URL: https://github.com/azawawi/raku-browser-open
- Owner: azawawi
- License: mit
- Created: 2015-03-26T09:47:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-28T03:01:36.000Z (over 2 years ago)
- Last Synced: 2024-07-30T20:11:43.814Z (5 months ago)
- Topics: browser, raku
- Language: Raku
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Browser::Open
[![Actions
Status](https://github.com/azawawi/raku-browser-open/workflows/test/badge.svg)](https://github.com/azawawi/raku-browser-open/actions)This is a humble Raku port of Perl's
[Browser::Open](http://metacpan.org/module/Browser::Open).## Installation
To install it using zef, the Raku module manager:
```
$ zef install Browser::Open
```## Synopsis
```Raku
use Browser::Open;my $ok = open-browser($url);
```## Description
This module allow you to open URLs in a browser. A set of known browser commands
per OS-name is tested for presence, and the first one found is executed. With an
optional parameter, all known commands are checked.## Testing
- To run tests:
```
$ prove --ext .rakutest -ve "raku -I."
```- To run all tests including author tests (Please make sure
[Test::Meta](https://github.com/jonathanstowe/Test-META) is installed):
```
$ zef install Test::META
$ AUTHOR_TESTING=1 prove --ext .rakutest -ve "raku -I."
```## Author
Ahmad M. Zawawi, azawawi on #raku, https://github.com/azawawi/
Original Perl Author: Pedro Melo ``
## License
MIT License