Crawl connected Are.na channels and visualize the resulting network.
Working prototype, but there are a couple setup steps for first time use:
- install XQuartz if you don't yet have it
- install R
- clone the repo, move into app directory, set permissions for run script, and start R environment
> git clone [email protected]:hxrts/spider.git && cd spider && chmod +x run.sh && R
- from R, install the pacman package manager and import remaining code to install libraries as needed, exit upon completion
> install.packages('pacman') ; source('_daemon.R') ; q(save = 'no')
- in the root directory create a file called
_secret.R
- register your app on dev.are.na and copy your personal access token.
- edit
_secret.R
by pastingtoken = 'personal-access-token'
and adding the token from dev.are.na
- [optional] specify local port in config.txt file
- from spider directory run startup script
> sh run.sh
- point your browser to the address displayed
Pick an origin channel and choose crawling parameters as desired. Clear the window after your search or add a new query to the existing graph.
Note: The scraping is rather slow, especially graphs of high degree, you can watch crawling progrss in the command prompt. Please be patient.
ctrl + c
halts app and returns command prompt
Add interesting results to the channel World Maps with some information about the parameters used to generate the plot.
I've run into issues building graphs with overlapping edges without clearing the previous build, especially working from the initial graph. If the app encounters an error the screen will becomed greyed out, refreshing the window should re-initialize.