https://github.com/adrhill/browsermacros.jl
Julia macros to surf the web from the comfort of your REPL. 🏄
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Keywords
Repository
Julia macros to surf the web from the comfort of your REPL. 🏄
Basic Info
Statistics
- Stars: 31
- Watchers: 2
- Forks: 0
- Open Issues: 3
- Releases: 8
Topics
Metadata Files
README.md
BrowserMacros.jl
Julia macros to surf the web from the comfort of your REPL.
Installation
To install BrowserMacros, open the Julia REPL and run
julia-repl
julia> ]add BrowserMacros
BrowserMacros currently requires Julia ≥1.7 and is in early development, so there will be a lot of edge-cases to iron out.
Functionality
GitHub
The highlight of this package is the macro @wwwhich ("world-wide-which").
It is almost identical to @which, but will open a new GitHub tab in your browser,
showing the the exact line of code that is run:
julia
@wwwhich sqrt(2.0)

This also works with code from external packages!
Since @wwwhich opens a permalink, it is perfectly suited for sharing code.
The @issue macro will open an issue draft including the project dependencies
and the Julia version info:
```julia
using Distributions
@issue Normal() ```

Search engines
Several search engines can be queried from your REPL:
julia
@google "How to write macros in Julia"
For each macro, a corresponding function is also exported.
The search engines currently include:
| Name | Macro |
|:----------------|:-----------------|
| arXiv | @arxiv |
| Baidu | @baidu |
| Bing | @bing |
| Brave | @brave |
| ChatGPT | @chatgpt |
| DuckDuckGo | @ddg |
| Ecosia | @ecosia |
| GitHub | @github |
| Goodreads | @goodreads |
| Google | @google |
| Google Scholar | @scholar |
| JuliaHub | @juliahub |
| Julia Discourse | @discourse |
| Julia Zulip | @zulip |
| Qwant | @qwant |
| Stack Overflow | @stackoverflow |
| Web Archive | @webarchive |
| Wikipedia | @wikipedia |
| Wolfram Alpha | @wolframalpha |
| Yahoo | @yahoo |
| Yandex | @yandex |
| YouTube | @youtube |
Please open an issue if your favorite search engine is missing!
How does it work?
BrowserMacros constructs URLs and opens them using DefaultApplication.jl.
@wwwhich works by
1. finding the corresponding method using InteractiveUtils' which
2. determining the UUID and the version of the module containing the method
3. looking up the UUID in the reachable registries to find the matching GitHub repository
4. constructing a permalink to the relevant line of code
To-Do
- Support for packages hosted on GitLab, SourceHut & Co.
Contributions are more than welcome!
Owner
- Name: Adrian Hill
- Login: adrhill
- Kind: user
- Location: Berlin
- Company: TU Berlin
- Twitter: adr_hill
- Repositories: 11
- Profile: https://github.com/adrhill
PhD student @ TU Berlin
GitHub Events
Total
Last Year
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Adrian Hill | a****l@m****g | 38 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 5
- Total pull requests: 10
- Average time to close issues: about 22 hours
- Average time to close pull requests: about 2 hours
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 2.4
- Average comments per pull request: 0.7
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- adrhill (2)
- fonsp (2)
- JuliaTagBot (1)
Pull Request Authors
- adrhill (9)
- github-actions[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 8
juliahub.com: BrowserMacros
Julia macros to surf the web from the comfort of your REPL. 🏄
- Documentation: https://docs.juliahub.com/General/BrowserMacros/stable/
- License: MIT
-
Latest release: 0.2.4
published about 2 years ago
Rankings
Dependencies
- actions/checkout v2 composite
- codecov/codecov-action v2 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite