Comments (9)
Hi @noklam I didn't get around to do it yet. You know, stuff happened!
It was starting to weigh on my conscience actually. Like I said I would do it and then didn't. Thanks for this opportunity of actually keeping my word!
I'll be experimenting with it today!
from repo-visualizer.
Hey @RilDev, thanks for the kind words! The GitHub Action is basically just running this node script:
https://github.com/githubocto/repo-visualizer/blob/main/src/index.jsx
which gets bundled with this npm command:
https://github.com/githubocto/repo-visualizer/blob/main/package.json#L3
You should be able to get it working outside of GitHub Actions with minor tweaks!
from repo-visualizer.
Thank you very much, I'll be trying this out soon !
from repo-visualizer.
Thank you very much, I'll be trying this out soon !
@RilDev Any luck or hints how can we do this?
from repo-visualizer.
@RilDev Thanks :) I am not familiar with node so I am trying to making tweak to it.
https://github.com/githubocto/repo-visualizer/blob/main/src/index.js seems creating the SVG diagram, ideally would love to keep the interactive feature just like https://octo-repo-visualization.vercel.app
from repo-visualizer.
Alright, let's get things going!
Here is the fork I'll be pushing my modifications on: https://github.com/RilDev/repo-visualizer
So far I just commented out the Github actions related code and generate the SVG using yarn build
.
@Wattenberger could you tell me more about the interactive app https://octo-repo-visualization.vercel.app? Is it generated by another project?
from repo-visualizer.
from repo-visualizer.
To generate static diagram locally using RilDev's (thanks!) fork above.
- checkout @RilDev's fork,
yarn
- Uncomment
src/index.js
from line 102 downwards - you've commented out a bit too much yarn build
- Change working directory to the directory you want analysed
node ../../repo-visualizer/index.js
Other things you can hack:
- increase the hard-coded dimensions from 1000 in
Tree.tsx
, for a big codebase - add excluded paths in
index.jsx:30
- adjust the function that decides whether to enable each circle in
Tree.tsx
from repo-visualizer.
Hi there @robatwilliams! Thanks for the tips, I was able to get it to work!
I also updated my fork: https://github.com/RilDev/repo-visualizer
Thanks for the help!
from repo-visualizer.
Related Issues (20)
- Open source interactive visualizer HOT 3
- feature idea: excluded_filenames
- Feature: add functionality to push to private repository HOT 2
- `excluded_paths` is Sort of Not Working HOT 2
- Enable push to a protected branch HOT 4
- Add option to generate diagram without committing and pushing. HOT 2
- Please add { dot: true, matchBase: true } to minimatch options HOT 4
- Webpage Performance Issues HOT 1
- Feature: Option to add diagrams to nested folders
- How to use to find files connections? HOT 4
- Option to change color scheme HOT 2
- Gitlab support HOT 2
- Fails to verify if branch exists or not & then fails to push because branch exists on remote. HOT 3
- Respect gitignore HOT 1
- CLI Version HOT 4
- Support `.R` scripts
- Folder name gets interpreted as extension HOT 1
- Interactive Repo Visualizer and private repos HOT 1
- Allow SVG Background Transparency for Better Dark Theme Compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repo-visualizer.