replay
Version, currently 0.2.46 versions
github.com/y2k2mt/replay
Record and Replay proxy
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
replay:
github: y2k2mt/replay
version: ~> 0.2.4Then run:
shards installshard.yml
- Crystal
~> 1.6- License
- MIT
- Author
- y2k2mt
- Target
replayfrom src/replay.cr
- Executable
replay
Dependencies
Development Dependencies
- ameba~> 1.3github: crystal-ameba/amebadev
README
replay
Record & Replay proxy.
Installation
From Sources
$ git clone https://github.com/y2k2mt/replay && cd replay
$ make clean && make install
Usage
Recording
$ replay -r http://your-awesome-api
...
$ curl localhost:8899/endpoint
Hello # Record and return a response from the real server.(http://your-awesome-api/endpoint)
Replaying(Work as a mock server)
$ replay -R http://your-awesome-api
...
$ curl localhost:8899/endpoint
Hello # Answering from 'replay' server.
RoadMap
- Ideomatic refactor
- More flexible condition matching
- Support more protocol (Implements by pure TCP API)
- Condition editor UI
Contributing
- Fork it (https://github.com/y2k2mt/replay/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- y2k2mt - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.4- Tagged
- Dec 5, 2022
- Commit
9880c7a57370- Crystal
~> 1.6- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/y2k2mt/replay
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 6