{"id":20012130,"url":"https://github.com/fslaborg/blog","last_synced_at":"2025-05-04T20:31:29.090Z","repository":{"id":138194347,"uuid":"452198009","full_name":"fslaborg/blog","owner":"fslaborg","description":"The fslab blog","archived":false,"fork":false,"pushed_at":"2024-09-25T09:15:32.000Z","size":33377,"stargazers_count":0,"open_issues_count":8,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-27T16:22:49.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fslab.org/blog/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fslaborg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-01-26T08:34:31.000Z","updated_at":"2024-09-25T09:14:13.000Z","dependencies_parsed_at":"2023-09-22T13:26:44.453Z","dependency_job_id":"4699f17a-536a-407e-9984-279b27d437b7","html_url":"https://github.com/fslaborg/blog","commit_stats":{"total_commits":69,"total_committers":6,"mean_commits":11.5,"dds":"0.28985507246376807","last_synced_commit":"6f39ea3716b1160879997b6d520e780608b21029"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fslaborg%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fslaborg%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fslaborg%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fslaborg%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fslaborg","download_url":"https://codeload.github.com/fslaborg/blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252395292,"owners_count":21741009,"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-13T07:28:50.312Z","updated_at":"2025-05-04T20:31:24.071Z","avatar_url":"https://github.com/fslaborg.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blog\n\nThe fslab blog\n\n## Build the blog\n\n### Prerequisites\n\n- [.NET 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)\n- Any conda distribution (e.g. [anaconda](https://www.anaconda.com/) or [miniconda](https://docs.conda.io/en/latest/miniconda.html))\n\n- `dotnet tool restore` to install the `fornax` tool that is used to build the website\n- `conda create --name fslab-blog --file requirements.txt` to set up the conda environment\n\n### develop locally in watch mode\n\n- `conda activate fslab-blog` (this has to be done once for each development session)\n- go into the `/src` folder: `cd src`\n- `dotnet fornax watch` to start the site generator in watch mode\n- go to `127.0.0.1:8080` to see the blog\n\n\n## add content\n\n### blog posts\n\nposts are generated from the contents of folders in `/src/posts`.\n\nTo add a new post:\n- add a folder with a **url-safe** name of your post to `/src/posts`\n- create a `post_config.md` file. this file should *only* create metadata about your post, and must have this structure:\n    ```\n    ---\n    title: \u003cyour post title\u003e\n    author: \u003cyour name\u003e\n    author_link: \u003ca link\u003e\n    category: \u003cpost category\u003e\n    date: \u003cYYYY-MM-DD\u003e\n    summary: \u003cpost summary\u003e\n    preview_image: images/\u003cyour_image_here.png\u003e\n    ---\n    ```\n    - `title` is the title of your post\n    - `author` is the author of the post (most likely your name)\n    - `author_link` is a link that will be associated with your name. You can for example link your github or twitter account here\n    - `category` is one of `fsharp`, `datascience`, `advanced`\n    - `date` is the date of submission in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)\n    - `summary` is an optional short summary of the post. It is recommended to add for SEO.\n    - `perview_image` is an optional image that will be shown on post previews. ideally a 2-by-1 or 3-by-1 image with a width of 1200px. It is recommended to add for SEO.\n\n- create a `post.ipynb` file that contains your blogpost. This notebook will be parsed and rendered to a html site. **do not forget to save the notebook with cell output**, as the notebook will not be executed on site generation.\n\n\n### graph gallery\n\nTo add a graph post:\n- add a folder with a **url-safe** name of your post to `/src/graph-gallery`\n- create a `graph_post_config.md` file. this file should *only* create metadata about your post, and must have this structure:\n    ```\n    ---\n    title: \u003cyour post title\u003e\n    author: \u003cyour name\u003e\n    author_link: \u003ca link\u003e\n    graph_category: \u003cchart category\u003e\n    date: \u003cYYYY-MM-DD\u003e\n    summary: \u003cpost summary\u003e\n    preview_image: images/\u003cyour_image_here.png\u003e\n    ---\n    ```\n    - `title` is the title of your post\n    - `author` is the author of the post (most likely your name)\n    - `author_link` is a link that will be associated with your name. You can for example link your github or twitter account here\n    - `graph_category` is one of `basic`, `distribution`, `finance`, `3d`, `map`, `special` (corresponding to the categories of [plotly's docs](https://plotly.com/javascript/reference/))\n    - `date` is the date of submission in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)\n    - `summary` is an optional short summary of the post. It is recommended to add for SEO.\n    - `perview_image` is an optional image that will be shown on post previews. ideally a 2-by-1 or 3-by-1 image with a width of 1200px. It is recommended to add for SEO.\n\n- create a `\u003clanguage\u003e.ipynb` file that contains your graph post. This notebook will be parsed and rendered to a html site. Ideally, you provide both `fsharp.ipynb` and `csharp.ipynb`, but F#-only is okay as well. **do not forget to save the notebook with cell output**, as the notebook will not be executed on site generation.\n\n### update a post\n\n- Update an existing blog or graph gallery post in line with the instructions above.\n- Add metadata about the update to the `post_config.md` or `graph_post_config.md` according to this structure:\n    ```\n    last_updated_on: \u003cYYYY-MM-DD\u003e\n    last_updated_by: \u003cyour name\u003e\n    last_updated_by_link: \u003ca link\u003e\n    ```\n    - `last_updated_on` is the date of the last update in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)\n    - `last_updated_by` is an optional name of the contributing author\n    - `last_updated_by_link` is a optional link that will be associated with the contributing author name. Provide both `last_updated_by` and `last_updated_by_link` to display contributing author information. You can leave them out, for example, if you are updating your own post.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffslaborg%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffslaborg%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffslaborg%2Fblog/lists"}