https://github.com/esotericpig/nurby
Not cURl w/ ruBY: A curl-like Ruby app that adds missing features and allows Ruby injection (not meant as a curl replacement).
https://github.com/esotericpig/nurby
curl ruby ruby-application ruby-injection
Last synced: 10 months ago
JSON representation
Not cURl w/ ruBY: A curl-like Ruby app that adds missing features and allows Ruby injection (not meant as a curl replacement).
- Host: GitHub
- URL: https://github.com/esotericpig/nurby
- Owner: esotericpig
- License: lgpl-3.0
- Created: 2017-11-22T17:11:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-11T14:20:39.000Z (over 7 years ago)
- Last Synced: 2025-05-17T10:40:48.307Z (11 months ago)
- Topics: curl, ruby, ruby-application, ruby-injection
- Language: Ruby
- Homepage:
- Size: 99.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nurby
Not cURl w/ ruBY
A curl-like Ruby app that adds missing features and allows Ruby injection (not meant as a curl replacement).
**Note:** This project is currently in development on v0.5.1. The first working version will be v1.0.0.
Goals for the project:
```
"bb.com/[05-] bb [u=1-4][l=1-8/u].pdf"
"eu.com/[n=01-74]" -o "[n] eu [u=1-4][l=1-4/u]#{rb:1:r}[s=1-2/l].pdf"
--out-method "r:i(2,'u','l'); e('{R*2}'); if v('u')%2 == 0 && v('l')%4 == 0 && v('s') == 2"
-o --out-file
-w --out-method
-m --in-method
-x (disable "#{}")
{} = set
[] = range
#{rb:1:r}
#{ruby::method}
-1 = at beginning
0 = current place
1 = at end
:: = default to 1
rb = ruby alias
i = ignore(num_of_times,*var_ids)
e = eval(nurby_exp_str)
[l=1-8/u*2]
{s=one,two/l*2}
\{,\[,\# can all be escaped
```
## License
> nurby (https://github.com/esotericpig/nurby)
> Copyright (c) 2017-2018 Jonathan Bradley Whited (@esotericpig)
>
> nurby is free software: you can redistribute it and/or modify
> it under the terms of the GNU Lesser General Public License as published by
> the Free Software Foundation, either version 3 of the License, or
> (at your option) any later version.
>
> nurby is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> GNU Lesser General Public License for more details.
>
> You should have received a copy of the GNU Lesser General Public License
> along with nurby. If not, see .