# Serve csv files in a directory as web pages with auto updated index pages

**URL:** <https://discourse.julialang.org/t/serve-csv-files-in-a-directory-as-web-pages-with-auto-updated-index-pages/101525>\
**Category:** Web Stack\
**Tags:** data, tables\
**Created:** [July 12, 2023, 9:45am UTC](https://discourse.julialang.org/t/serve-csv-files-in-a-directory-as-web-pages-with-auto-updated-index-pages/101525 "2023-07-12T09:45:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xgdgsc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xgdgsc/32/608_2.png) [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Post date:** [July 12, 2023, 9:45am UTC](https://discourse.julialang.org/t/serve-csv-files-in-a-directory-as-web-pages-with-auto-updated-index-pages/101525/1 "2023-07-12T09:45:17Z")

</div>

Say I have a directory to store experiment results as csv files. Is there a lightweight framework that can serve those dynamically increasing/updated files as web pages with auto generated index pages according to the subfolder/file structure. Anything usable is fine, not necessary in julia. If tables can be sorted/filtered like the vscode excel viewer extension, it would be better. Currently I open those csv files by hand and use excel viewer.

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [July 12, 2023, 1:41pm UTC](https://discourse.julialang.org/t/serve-csv-files-in-a-directory-as-web-pages-with-auto-updated-index-pages/101525/2 "2023-07-12T13:41:31Z")

</div>

I’m not sure I fully understand your use case but LiveServer can serve a folder in your browser, it’ll show you a clickable index, and when you click on a CSV file, it’ll be shown by the browser in raw format:

 ![Screenshot 2023-07-12 at 15.39.00](https://global.discourse-cdn.com/julialang/original/3X/0/e/0e559612ab8542e9bbc1d7b9a17c919f3624103e.png)

 ![Screenshot 2023-07-12 at 15.39.14](https://global.discourse-cdn.com/julialang/original/3X/7/d/7dc70f78c0c6686b274ea08607d7f6362c2325d1.png)

if the underlying files change, the changes will be reflected in the browser. If it’s just for quick and easy monitoring, that might be enough.

If you want formatted output, you can do that with Franklin and PrettyTables but that might not be worth the effort in your case.

---

<div class="post-metadata">

**Author:** ![xgdgsc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xgdgsc/32/608_2.png) [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Post date:** [July 12, 2023, 2:41pm UTC](https://discourse.julialang.org/t/serve-csv-files-in-a-directory-as-web-pages-with-auto-updated-index-pages/101525/3 "2023-07-12T14:41:58Z")

</div>

I need format for column item matching. Just found I could set the vscode extension excel viewer open csv by default to skip the manual open view step. Good enough for my use case. Although a csv serving service could be better for sharing with other people.

```json
"workbench.editorAssociations": {
    "*.csv": "gc-excelviewer-csv-editor",
    "*.xlsx": "gc-excelviewer-excel-editor"
},

```
