{"id":22643218,"url":"https://github.com/dranjan/dranjan.github.io","last_synced_at":"2026-02-03T22:06:10.251Z","repository":{"id":265324963,"uuid":"861633425","full_name":"dranjan/dranjan.github.io","owner":"dranjan","description":"www.darshsrad.com","archived":false,"fork":false,"pushed_at":"2025-12-24T04:05:10.000Z","size":50031,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T15:38:59.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.darshsrad.com","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dranjan.png","metadata":{"files":{"readme":"README.md","changelog":"news.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-23T08:57:34.000Z","updated_at":"2025-12-24T04:05:14.000Z","dependencies_parsed_at":"2025-04-23T02:40:54.450Z","dependency_job_id":null,"html_url":"https://github.com/dranjan/dranjan.github.io","commit_stats":null,"previous_names":["dranjan/dranjan.github.io"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dranjan/dranjan.github.io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranjan%2Fdranjan.github.io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranjan%2Fdranjan.github.io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranjan%2Fdranjan.github.io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranjan%2Fdranjan.github.io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dranjan","download_url":"https://codeload.github.com/dranjan/dranjan.github.io/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranjan%2Fdranjan.github.io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29059081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-09T05:09:43.090Z","updated_at":"2026-02-03T22:06:10.235Z","avatar_url":"https://github.com/dranjan.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is the source repository for my website, www.darshsrad.com.\n\nThis README describes the build process and architecture for the website.\nIf you're familiar with GitHub actions and the general concept\nof a static site generator, you may want to skip straight to the\n[workflow](./.github/workflows/pages.yml)\nthat actually builds and deploys the site.\n\nThe discussion below assumes Linux as the host system. Ubuntu and\nArch have been tested on pretty extensively, but you should be able\nto adapt everything to your distro of choice.\n\n## Prerequisites\n\nFrom the system package manager, you'll need Python, Ruby, and curl.\nNothing else here should require `sudo` or any system-level changes.\n\n### Python Setup\n\nFollow the initial setup instructions in [\\_nb](./_nb/README.md).\n\n### Ruby Setup\n\nInstall the `bundler` Ruby gem, and run `bundle install` in the repository\nroot.\n\n## Building the Site\n\nThere are two preliminary steps to prepare Markdown sources and other assets,\nfollowed by the main Jekyll build.\n\n### Generating Notebooks\n\nRun `_scripts/generate-nb.sh`. This needs to be redone whenever the notebook\ncontent in `_nb` changes.\n\n### Fetching Third-Party Assets\n\nRun `_scripts/fetch-assets.sh`. This needs to be redone only when the third-party\nassets themselves change, which should be seldom.\n\n### Running the Jekyll Build\n\nRun `bundle exec jekyll build`.\n\n## Testing\n\nAs an alternative to `jekyll build`, `jekyll serve` can be used to run a local\nweb server, allowing the site to be checked in a browser.\nThis is the suggested invocation:\n\n    bundle exec jekyll serve --host 0.0.0.0\n\nwhich allows the site to be viewed at `http://localhost:4000` on the host computer\nor at `http://\u003clocal_ip_address\u003e:4000` on any computer on the local network.\nThis will automatically rebuild the site whenever any Jekyll source file is modified,\nbut it will not catch changes in `_nb` because Jekyll doesn't process that\ndirectly.\n`_scripts/generate-nb.sh` will need to be rerun to propagate changes from `_nb`.\n\n## Architecture and Organization\n\nThis is a pretty vanilla [Jekyll](https://jekyllrb.com/) site,\nusing the [Just the Docs](https://just-the-docs.com/) theme.\nThe site is deployed to GitHub Pages via a GitHub action,\nso any push to the master branch will automatically update the main website\nwithin a few minutes, if the action completes successfully.\n\n### Same-Source Policy\n\nAll web assets that are necessary for correct rendering of the site,\nincluding stylesheets, scripts, fonts, and embedded images,\nmust be served from the site itself.\nThus, all such assets must be either tracked in version control,\ngenerated during the build, or fetched from third-party sources\nduring the build.\nThis rule makes the site self-contained and allows many site-breaking\nerrors to be caught during the build before deployment.\n\nAs a consequence, no third-party asset whose copyright license doesn't allow such\nredistribution can be used on this site.\n\n### Third-Party Assets\n\nThe policy in this repository is that third-party assets should not be tracked\ndirectly in Git, but should be fetched during the build.\nWhile this results in slightly more web requests during the deployment process,\nin practice it's not an issue because the website isn't redeployed very frequently,\nand assets rarely need to be refetched on a single repository clone for testing\nlocally.\nThis rule helps keep the overall architecture and build process of the website\nclean and easy to follow.\n\nExceptions can be made to this policy on a case-by-case basis.\n\n### Generated Assets\n\nFor derived assets, i.e., those which can be generated programmatically,\nwe prefer to track the sources\nrather than the assets themselves,\nwith an exception for \"major\" works that are central to the site,\nlike mathematical art pieces.\nThe major works should be tracked in version control and not regenerated.\n\nDerived assets that require very resource-intensive computations would also\ngenerally be excepted from this rule.\n\n### Jupyter Notebooks\n\nJupyter notebooks are be published from the `_nb` directory via a process\ndocumented in the [`README.md`](./_nb/README.md) file in that directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdranjan%2Fdranjan.github.io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdranjan%2Fdranjan.github.io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdranjan%2Fdranjan.github.io/lists"}