crog
Version, currently 0.0.22 versions
- 0.0.2latestApr 1, 2024
- 0.0.1not indexedApr 1, 2024
github.com/uu/crog
Crystal Opengraph proxy
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crog:
github: uu/crog
version: ~> 0.0.2Then run:
shards installshard.yml
- Crystal
1.11.2- License
- MIT
- Author
- Michael Pirogov
- Target
crogfrom src/crog.cr
Dependencies
Runtime Dependencies
- redis*github: stefanwille/crystal-redis
- sanitize*github: straight-shoota/sanitize
- opengraph*github: uu/opengraph.cr
- validator*github: nicolab/crystal-validator
- crometheus*github: darwinnn/crometheus, branch: master
- json_on_steroids*github: anykeyh/json_on_steroids, branch: master
Development Dependencies
- ameba~> 1.6.1github: crystal-ameba/amebadev
README
Opengraph caching proxy
Fetches opengraph meta and translates it to JSON.
Installation
Docker
Requirements: docker-compose 2.24+
docker compose up -d
Using
curl localhost:8080 -d '{"uri": "telegram.org"}' && echo
Configuring
Mix in JSON object to response.
--mixin '{"contentType": "openGraph"}' or MIXIN variable in docker-compose
Default: {}
Use custom template for response. <data> is replaces with default og answer.
--template '{"meta":{"status":200,"errors":[],"pagination":[]},"data":<data>}' or TEMPLATE variable in docker-compose
Default: <data>
Contributing
- Fork it (https://github.com/uu/crog/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
- Michael Pirogov - 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.0.2- Tagged
- Apr 1, 2024
- Commit
edfa8662e744- Crystal
1.11.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/uu/crog
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 2