How mkrentovskiy/eknife works
eknife is a small Erlang utility library, not an application with a single end-to-end workflow. Its documented capabilities are exposed as independent helpers. The tree identifies likely module responsibilities; source excerpts were unavailable, so the graph includes only documented dependency relationships.
Main entry points: pubsub.erl Pub/Sub · rest.erl REST client · oauth2c.erl OAuth2 client
Components 16
Other components
- Erlang application
- Macros
include/eknife.hrl - Pub/Sub
src/ipc/pubsub.erl - gproc
- REST client
src/ipc/rest.erl - OAuth2 client
src/ipc/oauth2c.erl - gun
- Image checks
src/media/images.erl - Translit and slugs
src/utils/tr.erl - General utilities
src/utils/utils.erl - Type casts
src/utils/cast.erl - Russian number text
src/lang/ru/ru_num_to_text.erl - Log formatter
src/logger/logger_colorful_formatter.erl - SSH agent
src/agents/ssh_agent.erl - Networking
src/net/network.erl - Process execution
src/proc/exec.erl
Connections 3
- Pub/Sub → gproc: based on
- REST client → gun: based on
- OAuth2 client → gun: based on