52 karma · joined Jul 27, 2016 (10y ago) · 31 submissions
comment 1y ago · link · parent
A BBC article on it: https://www.bbc.com/travel/article/20181107-the-last-film-po...
2.
Show HN: Onri, the Google Map for micro-learning(onri.ai ↗)
4 points · by ru6xul6 · 1y ago · 1 comment
comment 2y ago · link · parent
4.
Show HN: Codemap – A Powerful Code Visualizer(codemap.app ↗)
3 points · by ru6xul6 · 2y ago · discuss
comment 2y ago · link · parent
It parses any given codebase and visualizes all function calls as a hierarchical graph. Quite useful for onboarding new team members, digging through old codebases, or simply debugging issues.
You can further tweak the graph for various use cases. For example, a frontend engineer can view the dependency graph of all UI components, while an infra engineer can view connections between all cloud resources defined in Terraform.
6.
Show HN: Onri.ai – find the expert in your team(onri.ai ↗)
1 points · by ru6xul6 · 3y ago · discuss
comment 3y ago · link · parent
comment 3y ago · link · parent
Last year I noticed its user sign-ups are ticking up quickly, acquiring hundreds of users in a few months, so I decided to redesign the app and add more language supports (now supporting Typescript, Javsacript, Python, Ruby, and Go.
It's a combination of a desktop app (to parse your local codebase) and a web app (to visualize the graph). Users pay a small price to unlock the full graph, otherwise the graph is capped at 100 nodes, which allows users to fully try out the product before committing to pay for it.
comment 4y ago · link · parent
Let me know if that works in your scenario :)
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
- You nailed it, Codemap uses language servers (Typescript for TS/JS, Jedi for Python) to understand the code.
- Tree view is currently the only layout that's available. If you have any thoughts on this please let me know!
- It doesn't support jumping into a file a choose a function, but it supports a few interactions that may be as useful. A few examples are: 1. zoom in/out, either horizontally or vertically 2. limit render scope by folder and files (useful to keep performance up and avoid cluttering) 3. showing only nodes that are upstream or downstream of a particular function (useful for tracing the scope of impact) 4. quick code preview for node (function definition) or edge (function call)
- You're right, the 100 function limit is a little harsh. The goal is for people to try out the tool with a few files and get a taste of it. The price is pretty affordable though, as I want Codemap to serve the global programmers.
- There's currently no option to purchase just one month, but I'd definitely consider it!
- This is an Electron app (please don't scream :p) with the goal of market verification and gathering early feedbacks. If this app solicits enough interest, I'll seriously consider re-building a native app. That said, from my experience Codemap remains snappy up to 2000 functions that are moderately interconnected, at which point the issue of cluttering outweighs its slowness, and limiting the rendering scope (folders/files) becomes necessary.
Again, thanks for the thorough feedback! Let me know if you have more questions.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Codemap is a codebase visualizer that displays the structure of function calls of any Javascript, Typescript, or Python code. Given a local repo, Codemap statically parses the code and renders a directed graph of all function calls in the least cluttered layout. It helps programmers familiarize with a new codebase, trace possible scenarios that lead to a bug in a function, or understand the scope of impact when making a code change. Codemap runs offline on your local machine and never sends any sensitive code data to remote servers.
I built Codemap because I noticed that good engineers always spend quality time understanding the code architecture before making changes. This process is crucial, and it usually requires drawing a function call diagram on a whiteboard or in the head. Some people use IDE "Find usage of function..." search box for a million times, some people ask senior engineers for tribal knowledge, and some just get lazy and start writing code with ignorance.
As a software engineer, I think there's a better solution than this tedious and error-prone practice. I looked at existing code visualization tools and felt that the visualization tends to be overly cluttered and not that user-friendly. I believed that, with some level of design, I can build a tool that is pleasant to use, easy to navigate, and versatile for any codebase in the supported languages.
During the development of Codemap, I would sometimes grab a popular Github repo to test the Codemap app, and I often find myself exploring its call graph for hours to satisfy my genuine curiosity of "How does <popular project> work?" I'd encourage curious HN readers to visit the website and see screenshots of call graphs from React, Keras, Django, and Typescript (yep the one from Microsoft).
I would love to hear what you love and hate, as well as any questions you may have. I'll be here to respond the best I can (PST time). Thank you :)
30.
Show HN: Codemap – Codebase Visualizer for JavaScript, TypeScript, and Python(codemap.app ↗)
84 points · by ru6xul6 · 6y ago · 40 comments