GitHub - ilyesarf/straw: Compress big infra into one md file -- 99.5% llm token reduction · GitHub
/" data-turbo-transient="true" />
Skip to content
Search or jump to...
Search code, repositories, users, issues, pull requests...
-->
Search
Clear
Search syntax tips
Provide feedback
--><br>We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Cancel
Submit feedback
Saved searches
Use saved searches to filter your results more quickly
-->
Name
Query
To see all available qualifiers, see our documentation.
Cancel
Create saved search
Sign in
/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up
Appearance settings
Resetting focus
You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
ilyesarf
straw
Public
Notifications<br>You must be signed in to change notification settings
Fork
Star
master
BranchesTags
Go to file
CodeOpen more actions menu
Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit
History<br>8 Commits<br>8 Commits
reducer
reducer
renderer
renderer
types
types
.gitignore
.gitignore
README.md
README.md
go.mod
go.mod
main.go
main.go
stream.txt
stream.txt
View all files
Repository files navigation
Compress big infra into one md file
Compression Rates
Logs: 3,774 lines -> 37 patterns (99.0% reduction)
Topology: 746 edges -> 11 flows (98.5% reduction)
Metrics: 507 samples -> 15 elevated (97.0% reduction)
Total Token Reduction: 276k Tokens (Raw) -> 1100 Tokens (with straw) (99.5% reduction)
Test
$ go run main.go stream.txt
About
Compress big infra into one md file -- 99.5% llm token reduction
Resources
Readme
Uh oh!
There was an error while loading. Please reload this page.
Activity
Stars
stars
Watchers
watching
Forks
forks
Report repository
Contributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
Go<br>100.0%
You can’t perform that action at this time.