Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinctc/deepchats
Example Flask Project for Displaying DMC questions from JSON data
https://github.com/martinctc/deepchats
Last synced: about 1 month ago
JSON representation
Example Flask Project for Displaying DMC questions from JSON data
- Host: GitHub
- URL: https://github.com/martinctc/deepchats
- Owner: martinctc
- Created: 2023-12-30T16:31:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-06T10:17:19.000Z (about 1 year ago)
- Last Synced: 2024-10-15T21:45:02.729Z (3 months ago)
- Language: HTML
- Homepage: https://martinctc.github.io/deepchats/
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compendium of Questions for Deep and Meaningful Chats
## Summary
This is a demo Flask project that takes in a hierarchical dataset stored in JSON, and transforms it into a static HTML website that enables users to browse through cards with tags, related cards, and a search bar.
## Motivations
Small talk helps people build rapport, but it is through deep and meaningful conversations (DMCs) where people build intimacy and truly learn about each other. This demo website contains cards that you can use to kick start a DMC, if you are struggling to think of good questions to talk about.
## Previewing the site
From the directory, run this in Command Prompt:
```
python init.py
```The static website files will be created in the `build` sub-directory, and renamed to `docs`, which can then be hosted through GitHub Pages.
## Notes
- `index.html` determines the template for the main page.
- `base.html` provides the base HTML design for the site.
- `tags.html` provides a summary of all the tags used in the JSON dataset.
- `data/*.json` are JSON files that contain the data for the site.