{"id":21318773,"url":"https://github.com/sydney-informatics-hub/tidbits","last_synced_at":"2026-03-19T19:52:17.005Z","repository":{"id":190301720,"uuid":"682340039","full_name":"Sydney-Informatics-Hub/tidbits","owner":"Sydney-Informatics-Hub","description":"SIH's \"tech tidbits\" blog for sharing useful tools and tips","archived":false,"fork":false,"pushed_at":"2025-02-20T03:44:19.000Z","size":50566,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-20T04:29:09.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sydney-informatics-hub.github.io/tidbits/","language":"HTML","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/Sydney-Informatics-Hub.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-08-24T00:57:30.000Z","updated_at":"2025-02-20T03:44:24.000Z","dependencies_parsed_at":"2025-01-20T01:33:14.650Z","dependency_job_id":null,"html_url":"https://github.com/Sydney-Informatics-Hub/tidbits","commit_stats":null,"previous_names":["sydney-informatics-hub/tidbits"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sydney-Informatics-Hub%2Ftidbits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sydney-Informatics-Hub%2Ftidbits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sydney-Informatics-Hub%2Ftidbits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sydney-Informatics-Hub%2Ftidbits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sydney-Informatics-Hub","download_url":"https://codeload.github.com/Sydney-Informatics-Hub/tidbits/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796741,"owners_count":20349264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-21T19:22:17.431Z","updated_at":"2026-01-02T09:23:24.812Z","avatar_url":"https://github.com/Sydney-Informatics-Hub.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SIH Tech tidbits blog\n\nThe aim of this blog is to act as a simple repository for tech\ntidbits that we want to share with other SIH team members.\n\nIf you want to submit a new tidbit, you can put together\na Markdown file explaining your tidbit (hopefully with\nsome short code examples).  The site will be built and deployed automatically\nwhen you commit to `main`. The build will be checked for any pull requests\n(so maybe use a pull request for any draft\nposts).\n\nMarkdown files for posts/tidbits go in the\n`content/` directory. It would be great if you could\nalso include some metadata at the top of the file, filling\nin the `Title`, `Date`, `Author`, `Category` and `Tags` fields. Posts\ncan only have one `Category`, but multiple `Tags`.\n\n```yaml\nTitle: fst: A very fast file format for R\nDate: 2020-01-30\nAuthor: Marius Mather\nCategory: R\nTags: r,file-formats,large-data\n```\n\nAttaching images uses some Pelican-specific syntax: put the images in the `content/` folder along\nwith the Markdown files, put `{attach}` at the start of the path, and then specify the\nrest of the path **relative to the content folder**, e.g.:\n\n```\n![]({attach}images/deploy_shiny_app/runapp_rstudio.png)\n```\n\nYou can include images that are hosted elsewhere on the web using the regular Markdown image syntax.\n\n## RMarkdown\n\nThe blog now supports (semi-)automated conversion of RMarkdown files. To create a post from an\nRMarkdown file: \n\n* Put your RMarkdown files in the `rmd_content/` folder, along with any data files they need. \n* Put metadata like `Category:` and `Tags:` in the YAML header at the top of the RMarkdown script,\n  along with standard fields like `Title:`, `Author:` and `Date:` (although Pelican doesn't seem\n  to like it when you use quotes `\"` around these fields)\n* Put any external images you're using in `rmd_content/images/` and include them using `knitr::include_graphics()`\n  (images for plots produced by RMarkdown should be handled by the conversion script you don't\n  need to do anything extra)\n\nRunning the `convert_rmarkdown.R` script should render any new RMarkdown files into\nplain Markdown and copy them to the `content/` folder, along with their images.\n\n## Technical details\n\nThe blog is built with [Pelican](https://blog.getpelican.com/),\na basic static site generator implemented in Python. We use\nthe `tag_cloud` and `tipue_search` plugins to add some basic\nsearchability.\n\nWe use GitHub Actions to automatically build and deploy the site,\nso you don't need to install Pelican unless you want to preview\nyour content locally.\n\n### Installing/testing locally\n\nThe dependencies are managed with [Poetry](https://python-poetry.org/).\nOnce you've installed Poetry, you should be able to install\nall the dependencies into a dedicated virtual environment, and\nthen activate that environment, with:\n\n```bash\npoetry install\npoetry shell\n```\n\nYou can preview the site using\n\n```bash\npelican --listen --autoreload\n```\n\nand opening `http://localhost:8000` in your browser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsydney-informatics-hub%2Ftidbits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsydney-informatics-hub%2Ftidbits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsydney-informatics-hub%2Ftidbits/lists"}