aykhans and GitHub
f36d52a05d
Merge pull request #195 from aykhans/dependabot/go_modules/golang.org/x/net-0.54.0
...
build(deps): bump golang.org/x/net from 0.53.0 to 0.54.0
2026-05-11 13:09:51 +04:00
aykhans and GitHub
a4b1c7c89c
Merge pull request #192 from aykhans/chore/bump-versions
...
Bump versions
2026-05-09 17:38:42 +04:00
aykhans
bdbf3b0b91
golangci-lint: v2.12.1 -> v2.12.2; go: 1.26.2 -> 1.26.3
2026-05-09 17:35:30 +04:00
aykhans and GitHub
26f72a53f1
Merge pull request #194 from aykhans/main
...
main
2026-05-09 17:25:08 +04:00
aykhans and GitHub
b628a999f0
Merge pull request #193 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.71.0
...
build(deps): bump github.com/valyala/fasthttp from 1.70.0 to 1.71.0
2026-05-09 17:21:14 +04:00
aykhans
edf82ec7c1
golangci-lint: v2.11.4 -> v2.12.1
2026-05-03 16:38:05 +04:00
aykhans and GitHub
f24aea819f
Merge pull request #191 from aykhans/chore/bump-go
...
chore: bump Go version from 1.26.1 to 1.26.2
2026-04-18 06:28:46 +04:00
aykhans
e0db4df17a
chore: bump Go version from 1.26.1 to 1.26.2
2026-04-18 06:26:48 +04:00
aykhans and GitHub
475dda98ff
Merge pull request #190 from aykhans/refactor/file-splits-and-double-ctrlc
...
File splits and double ctrl+c
2026-04-17 16:29:39 +04:00
aykhans
dcb0e3171f
refactor: split sarin.go into runner.go and worker.go
2026-04-17 16:14:32 +04:00
aykhans
2eebac68c9
feat: add double Ctrl+C hard-kill and split TUI into tui.go
...
First signal cancels the main context; second releases the terminal
and exits 130, unblocking shutdown when captcha polls or user scripts
ignore context. Also moves the bubbletea models and streamProgress
out of sarin.go into a new tui.go.
2026-04-17 16:03:03 +04:00
aykhans and GitHub
e62fd33f9c
Merge pull request #186 from aykhans/feat/captcha-template-funcs
...
feat: add captcha solving template funcs for 2Captcha, Anti-Captcha, and CapSolver
2026-04-15 18:42:47 +04:00
aykhans
e9b9b8890c
update docs
2026-04-15 18:42:06 +04:00
aykhans
8577c771e4
feat: add CaptchaDecodeError type and retry transient HTTP errors during captcha polling
2026-04-12 22:03:21 +04:00
aykhans
c839b71c9e
refactor: rename CaptchaTimeoutError to CaptchaPollTimeoutError and separate HTTP client timeout from poll timeout
2026-04-12 21:09:24 +04:00
aykhans
cea692cf1b
feat: add json_Object and json_Encode template funcs
2026-04-12 04:42:52 +04:00
aykhans
88f5171132
docs: update template function count to 340+
2026-04-12 01:40:37 +04:00
aykhans
16b0081d3e
docs: document captcha solving template functions in README and guides
2026-04-12 01:34:28 +04:00
aykhans
1bd58a02b7
refactor: tighten captcha poll loop and document solver funcs
2026-04-12 01:10:20 +04:00
aykhans
006029aad1
feat: add captcha solving template funcs for 2Captcha, Anti-Captcha, and CapSolver
2026-04-11 21:29:57 +04:00
aykhans and GitHub
0e0ef72778
Merge pull request #185 from aykhans/dependabot/go_modules/golang.org/x/net-0.53.0
...
Bump golang.org/x/net from 0.52.0 to 0.53.0
2026-04-10 11:35:40 +04:00
aykhans and GitHub
cf3c8f4cde
Merge pull request #184 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.70.0
...
Bump github.com/valyala/fasthttp from 1.69.0 to 1.70.0
2026-04-08 18:29:45 +04:00
aykhans and GitHub
14280f4e43
Merge pull request #183 from aykhans/dependabot/go_modules/github.com/yuin/gopher-lua-1.1.2
...
Bump github.com/yuin/gopher-lua from 1.1.1 to 1.1.2
2026-04-02 15:14:30 +04:00
aykhans and GitHub
88d6a0132e
Merge pull request #182 from aykhans/chore/bump-dependencies
...
chore: bump dependencies and golangci-lint version
2026-03-29 19:16:01 +04:00
aykhans
e33c549f6d
ci: bump golangci-lint from v2.11.2 to v2.11.4
2026-03-29 19:13:23 +04:00
aykhans
4a4feb4570
chore: bump dependencies and golangci-lint version
2026-03-29 19:09:46 +04:00
aykhans and GitHub
304fb160f8
Merge pull request #181 from aykhans/perf/reduce-request-memory
...
perf: reduce memory allocations in request generator
2026-03-22 22:28:32 +04:00
aykhans
44c35e6681
perf: reduce memory allocations in request generator
2026-03-22 22:26:03 +04:00
aykhans and GitHub
9215fd8767
Merge pull request #179 from aykhans/dependabot/go_modules/golang.org/x/net-0.52.0
...
Bump golang.org/x/net from 0.51.0 to 0.52.0
2026-03-13 11:27:39 +04:00
aykhans and GitHub
705f6263fe
Merge pull request #177 from aykhans/chore/bump-go-lint-versions-fix-typos
...
chore: bump Go to 1.26.1 and golangci-lint to v2.11.2; fix typos and lint nolints
2026-03-10 02:37:14 +04:00
aykhans
9c5b998cda
chore: remove Coinbase funding link from FUNDING.yml
2026-03-10 02:36:35 +04:00
aykhans
026d05f1bf
chore: bump Go to 1.26.1 and golangci-lint to v2.11.2; fix typos and lint nolints
2026-03-10 02:32:40 +04:00
aykhans and GitHub
844f139a10
Merge pull request #176 from aykhans/dependabot/go_modules/github.com/brianvoe/gofakeit/v7-7.14.1
...
Bump github.com/brianvoe/gofakeit/v7 from 7.14.0 to 7.14.1
2026-03-04 15:17:23 +04:00
aykhans and GitHub
c299fda79d
Merge pull request #175 from aykhans/feat/template-time-crypto-file-read
...
feat(template): add time/crypto helpers and file_Read function; document new template funcs
2026-02-26 21:53:40 +04:00
aykhans
1f06b43b06
feat(template): add time/crypto helpers and file_Read function; document new template funcs
2026-02-26 21:50:36 +04:00
aykhans and GitHub
e031c8e7a5
Merge pull request #174 from aykhans/dependabot/go_modules/golang.org/x/net-0.51.0
...
Bump golang.org/x/net from 0.50.0 to 0.51.0
2026-02-26 12:50:22 +04:00
aykhans and GitHub
d197e90103
Merge pull request #172 from aykhans/refactor/minor-improvements
...
Rename Append to Merge, replace strings_Join with slice_Join, and auto-detect non-TTY output
2026-02-15 16:55:40 +04:00
aykhans
ae054bb3d6
update docs
2026-02-15 16:52:52 +04:00
aykhans
61af28a3d3
Override Methods and Bodies instead of appending in Config.Merge
2026-02-15 16:27:36 +04:00
aykhans
665be5d98a
update docs
2026-02-15 03:05:03 +04:00
aykhans
d346067e8a
Rename Append to Merge, replace strings_Join with slice_Join, and auto-detect non-TTY output
...
- Rename Append to Merge on Cookies, Headers, and Params types and simplify Parse to use direct append
- Replace strings_Join(sep, ...values) with slice_Join(slice, sep) for consistency with slice-based template functions
- Auto-enable quiet mode when stdout is not a terminal
- Remove ErrCLINoArgs check to allow running sarin without arguments
- Add -it flag to Docker examples in docs
2026-02-15 02:56:32 +04:00
aykhans and GitHub
a3e20cd3d3
Merge pull request #171 from aykhans/dependabot/go_modules/github.com/charmbracelet/bubbles-1.0.0
...
Bump github.com/charmbracelet/bubbles from 0.21.1 to 1.0.0
2026-02-15 00:23:51 +04:00
aykhans and GitHub
6d921cf8e3
Merge pull request #170 from aykhans/dependabot/go_modules/golang.org/x/net-0.50.0
...
Bump golang.org/x/net from 0.49.0 to 0.50.0
2026-02-15 00:23:34 +04:00
aykhans and GitHub
b21d97192c
Merge pull request #169 from aykhans/feat/add-scripting
...
Add scripting
2026-02-15 00:19:58 +04:00
aykhans
f0606a0f82
Add Lua and JavaScript scripting documentation
2026-02-14 03:21:52 +04:00
aykhans
3be8ff218c
Replace common.ToPtr with Go 1.26 builtin new and add go fix to CI
2026-02-13 18:56:10 +04:00
aykhans
7cb49195f8
Bump Go to 1.26.0 and golangci-lint to v2.9.0
...
Drop GOEXPERIMENT=greenteagc flag as the green tea GC is now the default in Go 1.26.
2026-02-11 22:07:52 +04:00
aykhans
c1584eb47b
Remove unused functions and unexport internal sentinel error
2026-02-09 00:06:01 +04:00
aykhans
6a713ef241
Build request data through RequestData struct instead of fasthttp directly
...
Refactor request generators to populate a script.RequestData intermediate struct, then apply it to fasthttp.Request in one step. This eliminates the round-trip conversion (fasthttp → RequestData → fasthttp) when scripts are enabled. Remove the URL field from RequestData and the now-unused fasthttp conversion functions from chain.go.
2026-02-08 03:52:39 +04:00
aykhans
6dafc082ed
Introduce structured error types and bump Go/linter versions
...
Replace ad-hoc fmt.Errorf/errors.New calls with typed error structs across config, sarin, and script packages to enable type-based error handling. Add script-specific error handlers in CLI entry point. Fix variable shadowing bug in Worker for scriptTransformer. Bump Go to 1.25.7 and golangci-lint to v2.8.0.
2026-02-08 02:54:54 +04:00
aykhans
e83eacf380
Merge branch 'main' of https://github.com/aykhans/sarin into feat/add-scripting
2026-02-05 00:20:53 +04:00
aykhans and GitHub
c2ba1844ab
Merge pull request #168 from aykhans/dependabot/go_modules/github.com/charmbracelet/bubbles-0.21.1
...
Bump github.com/charmbracelet/bubbles from 0.21.0 to 0.21.1
2026-02-04 22:23:29 +04:00
aykhans
533ced4b54
add scripting js/lua
2026-01-28 14:21:08 +04:00
aykhans and GitHub
c3ea3a34ad
Merge pull request #167 from aykhans/add-badges
...
Add pkg.go.dev, Go Report Card, and license badges
2026-01-26 15:36:48 +04:00
aykhans and GitHub
1369cb9f09
Merge pull request #165 from aykhans/feat/file-upload-support
...
Add file upload support with body_FormData and file_Base64 functions
2026-01-17 21:19:19 +04:00
aykhans
18662e6a64
Add file upload examples and fix templating.md table of contents
2026-01-17 21:18:37 +04:00
aykhans
81f08edc8d
Add file upload support with body_FormData and file_Base64 functions
...
- Add FileCache for caching local files and remote URLs in memory
- Update body_FormData to accept variadic key-value pairs with file support
- Use @ prefix for file paths (local or HTTP/HTTPS URLs)
- Use @@ to escape literal @ values
- Add file_Base64 function for Base64 encoding files
- Update documentation with new syntax and examples
2026-01-17 20:27:22 +04:00
aykhans and GitHub
a9738c0a11
Merge pull request #164 from aykhans/docs/improvements
...
Fix config priority order (CLI > YAML > ENV), clarify multi-value cycling behavior, and improve documentation examples
2026-01-16 23:17:28 +04:00
aykhans
76225884e6
Fix config priority order (CLI > YAML > ENV), clarify multi-value cycling behavior, and improve documentation examples
2026-01-16 23:15:12 +04:00
aykhans and GitHub
a512f3605d
Merge pull request #163 from aykhans/dependabot/go_modules/golang.org/x/net-0.49.0
...
Bump golang.org/x/net from 0.48.0 to 0.49.0
2026-01-13 11:24:54 +04:00
aykhans and GitHub
3f2147ec6c
Merge pull request #162 from aykhans/feat/url-path-templating
...
Add URL path templating support with validation and documentation
2026-01-11 21:42:37 +04:00
aykhans and GitHub
92d0c5e003
Revise feature support table in README
...
Updated the supported and not supported features table for clarity.
2026-01-11 21:40:38 +04:00
aykhans
27bc8f2e96
Add URL path templating support with validation and documentation
2026-01-11 19:05:58 +04:00
aykhans and GitHub
46c6fa9912
Merge pull request #161 from aykhans/fix/docker-terminal-colors
...
Add docker-build task and fix terminal colors in container
2026-01-10 18:16:05 +04:00
aykhans
a3d311009f
Add docker-build task and fix terminal colors in container
2026-01-10 18:14:33 +04:00
aykhans and GitHub
710f4c6cb5
Merge pull request #157 from aykhans/v1.0.0
...
v1.0.0: here we go again
2026-01-10 17:23:40 +04:00
aykhans
2d7ba34cb8
v1.0.0: here we go again
2026-01-10 17:06:25 +04:00
aykhans and GitHub
25d4762a3c
Merge pull request #130 from aykhans/refactor/response
...
Refactor 'Responses' type and its methods
2025-08-17 19:51:50 +04:00
aykhans
361d423651
⬆️ bump version to 0.7.3
2025-08-17 19:31:36 +04:00
aykhans
ffa724fae7
🔨 Refactor 'Responses' type and its methods
2025-08-17 19:30:26 +04:00
aykhans and GitHub
7930be490d
Merge pull request #129 from aykhans/bump/go-version
...
🔖 Bump go version to 1.25
2025-08-17 15:48:35 +04:00
aykhans
e6c54e9cb2
🔖 Bump golangci-lint version to v2.4.0
2025-08-17 15:47:04 +04:00
aykhans
b32f567de7
🔖 Bump go version to 1.25
2025-08-17 15:45:14 +04:00
aykhans and GitHub
b6e85d9443
Merge pull request #128 from aykhans/docs/update
...
📚 Update README.md
2025-08-17 15:31:14 +04:00
aykhans and GitHub
827e3535cd
Merge pull request #127 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.65.0
...
Bump github.com/valyala/fasthttp from 1.64.0 to 1.65.0
2025-08-17 15:31:03 +04:00
aykhans and GitHub
7ecf534d87
📚 Update README.md
2025-08-17 15:30:19 +04:00
aykhans and GitHub
7fb59a7989
Merge pull request #126 from aykhans/bump/version
...
⬆️ bump version to 0.7.2
2025-07-30 11:52:54 +04:00
aykhans and GitHub
527909c882
⬆️ bump version to 0.7.2
2025-07-30 11:52:44 +04:00
aykhans and GitHub
4459675efa
Merge pull request #125 from aykhans/dependabot/go_modules/github.com/jedib0t/go-pretty/v6-6.6.8
...
Bump github.com/jedib0t/go-pretty/v6 from 6.6.7 to 6.6.8
2025-07-29 10:33:41 +04:00
aykhans and GitHub
7d4267c4c2
Merge pull request #124 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.64.0
...
Bump github.com/valyala/fasthttp from 1.63.0 to 1.64.0
2025-07-16 10:56:35 +04:00
aykhans and GitHub
49d004ff06
Merge pull request #123 from aykhans/docs/refactor
...
💄 Remove logo
2025-07-09 21:37:11 +04:00
aykhans and GitHub
045deb6120
💄 Remove logo
2025-07-09 21:36:53 +04:00
aykhans and GitHub
075ef26203
Merge pull request #122 from aykhans/dependabot/go_modules/github.com/valyala/fasthttp-1.63.0
...
Bump github.com/valyala/fasthttp from 1.62.0 to 1.63.0
2025-07-02 12:04:07 +04:00
aykhans and GitHub
aacb33cfa5
Merge pull request #121 from aykhans/feat/config
...
🔨 Remove default 'http' schema from request URL
2025-06-28 23:45:11 +04:00
aykhans
4a7db48351
🔨 Remove default 'http' schema from request URL
2025-06-28 23:44:04 +04:00
aykhans and GitHub
b73087dce5
Merge pull request #120 from aykhans/dependabot/go_modules/github.com/brianvoe/gofakeit/v7-7.3.0
...
Bump github.com/brianvoe/gofakeit/v7 from 7.2.1 to 7.3.0
2025-06-27 18:04:40 +04:00
aykhans and GitHub
0adde6e04e
Merge pull request #118 from aykhans/core/refactor
...
General Refactoring
2025-06-08 23:39:02 +04:00
aykhans
ca50de4e2f
⬆️ bump version to 0.7.1
2025-06-08 20:57:01 +04:00
aykhans
c99e7c66d9
📚 Update docs
2025-06-08 20:56:00 +04:00
aykhans
280e5f5c4e
📚 Add EXAMPLES.md
2025-06-08 20:55:45 +04:00
aykhans
47dfad6046
🔧 Add more template functions
2025-06-08 20:55:02 +04:00
aykhans and GitHub
5bb644d55f
Merge pull request #116 from aykhans/feat/value-generator
...
Add value generators
2025-06-01 23:53:11 +04:00
aykhans
9152eefdc5
✨ Add 'body_FormData' generator to template func maps
2025-06-01 23:22:55 +04:00
aykhans
a8cd253c63
✨ Add string functions to templates func map
2025-06-01 20:52:27 +04:00
aykhans
9aaf2db74d
📚 Update docs
2025-06-01 20:52:06 +04:00
aykhans
5c3e254e1e
📚 Update docs
2025-05-30 21:51:11 +04:00
aykhans
e5c681a22b
⬆️ bump version to 0.7.0
2025-05-30 21:44:10 +04:00
aykhans
79668e4ece
✨ Add value generators
2025-05-30 21:41:38 +04:00
aykhans
f248c2af96
Value generator initial commit
2025-05-30 10:40:20 +04:00
aykhans and GitHub
924bd819ee
Merge pull request #115 from aykhans/core/refactor
...
🔧 Refactor 'RandomValueCycle' and 'getKeyValueGeneratorFunc' functions
2025-05-29 22:16:01 +04:00