rishipal commited on
Commit
5e9268b
Β·
verified Β·
1 Parent(s): dca465c

Update Readme.md

Browse files
Files changed (1) hide show
  1. Readme.md +114 -109
Readme.md CHANGED
@@ -1,109 +1,114 @@
1
- # πŸ“š WikiSage – All Wiki Resources for a Topic
2
-
3
- > πŸ” One Topic. All Wiki. Your Way.
4
-
5
- ## Team Members
6
- - Rishi Palavarapu
7
- - Harsha Ambati
8
- - Rishitha Reddy
9
- - Yaswanth Ambati
10
-
11
- ## 🧠 Overview
12
-
13
- **WikiSage** is a smart, educational app built for the WikiVerse Hackathon. It allows users to explore **comprehensive information about any topic** by aggregating and organizing resources from across Wikimedia projects like Wikipedia, Wikibooks, Wikiquote, Commons, Wikisource, and more β€” all in one place.
14
-
15
- ---
16
-
17
- ## 🎯 Problem Statement
18
-
19
- Millions of users rely on Wikimedia for learning, but navigating multiple platforms (Wikipedia, Wikibooks, Wikiquote, etc.) to gather full information on a single topic is **time-consuming and fragmented**.
20
-
21
- There is no unified platform that allows learners to:
22
-
23
- - Seamlessly explore all types of Wikimedia content (articles, books, quotes, images, source texts) on **one topic**
24
- - **Access diverse formats of learning content** (definitions, timelines, media, references)
25
- - Interact with this knowledge in a structured, multilingual, and accessible way
26
-
27
- ---
28
-
29
- ## πŸ’‘ Solution
30
-
31
- **WikiSage** solves this by:
32
- - Fetching content from multiple Wikimedia public APIs
33
- - Structuring them into an intuitive, topic-based interface
34
- - Providing features like multilingual support, content export, and related topic mapping
35
-
36
- ---
37
-
38
- ## πŸš€ Features
39
-
40
- | Feature | Description |
41
- |--------|-------------|
42
- | πŸ” **Smart Topic Search** | User inputs a topic (e.g., "Quantum Physics", "Mahatma Gandhi") |
43
- | πŸ“„ **Knowledge Summary** | Summary and detailed content from Wikipedia |
44
- | πŸ“š **In-Depth Books** | Structured reading material from Wikibooks |
45
- | πŸ’¬ **Famous Quotes** | Related quotes using Wikiquote |
46
- | πŸ“œ **Primary Sources** | Historical documents from Wikisource |
47
- | πŸ–ΌοΈ **Media Gallery** | Relevant images from Commons |
48
- | 🧠 **Linked Topics Map** | Visual exploration of related topics via Wikidata |
49
- | 🌐 **Multilingual Mode** | Pulls topic info in different languages via Wikimedia APIs |
50
- | πŸ“₯ **Export Feature** | Download topic summary as PDF or Markdown |
51
-
52
- ---
53
-
54
- ## 🌐 APIs Used
55
-
56
- All APIs are strictly from the list approved in the [WikiVerse Hackathon Guidelines](#):
57
-
58
- | API | Purpose |
59
- |-----|---------|
60
- | Wikipedia (`en.wikipedia.org`) | Topic summaries & articles |
61
- | Wikibooks (`en.wikibooks.org`) | Educational book modules |
62
- | Wikisource (`en.wikisource.org`) | Primary documents |
63
- | Wikiquote (`en.wikiquote.org`) | Famous quotes |
64
- | Commons (`commons.wikimedia.org`) | Media assets (images, posters, etc.) |
65
- | Wiktionary (`en.wiktionary.org`) | Definitions and multilingual word meanings |
66
- | Wikidata (`www.wikidata.org`) | Related concepts and metadata |
67
-
68
- ---
69
-
70
- ## 🎯 Target Users
71
-
72
- - πŸ“˜ Students researching a subject
73
- - 🧠 Self-learners exploring a new topic
74
- - πŸ‘¨β€πŸ« Educators curating study content
75
- - πŸ“° Content creators/fact-checkers
76
- - 🌍 Anyone interested in structured, verified knowledge
77
-
78
- ---
79
-
80
- ## πŸ› οΈ Tech Stack
81
-
82
- - **Frontend**: HTML, CSS, JavaScript / React (choose based on final implementation)
83
- - **Backend**: Node.js / Python (for API integration & routing)
84
- - **APIs**: RESTful calls to Wikimedia APIs
85
- - **Hosting**: GitLab Pages / Local, Streamlit Cloud
86
-
87
- ---
88
-
89
- ## πŸ“¦ Project Structure
90
- | Hour | Phase | Tasks |
91
- |------|-------------------------------|-----------------------------------------------------------------------|
92
- | 1 | *Ideation & Planning* | Define app scope, identify APIs needed, finalize features, assign tasks |
93
- | 2 | *UI/UX & Architecture* | Design layout, multilingual UI, API-client separation, wireframes |
94
- | 3-5 | *Development Phase* | Build Python backend (API wrappers for Wikipedia, Commons, Wikidata) <br> Build frontend with search UI + display views <br> Integrate AI model for summarization |
95
- | 6 | *Testing* | Test multilingual search, output display, and error handling |
96
- | 7 | *Deployment & Refinement* | Final fixes, improve UI, connect frontend to backend APIs |
97
- | 8 | *Documentation & Pitch Prep*| Finalize README, prepare 5-minute demo and presentation |
98
-
99
-
100
- ---
101
-
102
-
103
- ## πŸ“– How to Run Locally
104
-
105
- ```bash
106
- git clone https://gitlab.com/your-team/wiki-sage.git
107
- cd wiki-sage
108
- npm install
109
- npm start
 
 
 
 
 
 
1
+ # πŸ“– WikiTales – Interactive Historical Storybooks
2
+
3
+ > WikiTales is an open-source, story-driven web app that transforms raw historical data from Wikimedia projects into immersive, engaging storybook-style narratives. Built with Python and Streamlit, it’s designed to help learners explore the past like never before.
4
+
5
+ ---
6
+
7
+ ## Team Members
8
+ - Rishi Palavarapu
9
+ - Harsha Ambati
10
+ - Rishitha Reddy
11
+ - Yaswanth Ambati
12
+
13
+ ---
14
+
15
+ ## πŸš€ Overview
16
+
17
+ WikiTales bridges storytelling and research by compiling content from **Wikimedia public APIs** such as Wikipedia, Wikiquote, Wikidata, Wikisource, Wikibooks, and more. It generates narrative summaries, trivia facts, quotes, timelines, and glossary definitions based on user-entered topics.
18
+
19
+ ---
20
+
21
+ ## πŸ” Key Features
22
+
23
+ - 🧠 **AI-generated Story Narratives** based on historical events and figures
24
+ - 🎭 **Narrator Styles**: Choose between historian, eyewitness, journalist, AI assistant, etc.
25
+ - 🧾 **Dynamic Timelines** of important events
26
+ - πŸ’¬ **Quotes & Primary Sources** from Wikiquote and Wikisource
27
+ - 🧠 **β€œDid You Know?” Facts** from Wikidata
28
+ - πŸ“š **Wikibooks Sidebar** for extended learning material
29
+ - πŸ“Έ **Image Carousel** using Wikimedia Commons
30
+
31
+ ---
32
+
33
+ ## πŸ› οΈ Built With
34
+
35
+ - **Frontend & UI**: [Streamlit](https://streamlit.io/)
36
+ - **Language**: Python 3.10+
37
+ - **Data Sources**:
38
+ - [Wikipedia API](https://en.wikipedia.org/w/api.php)
39
+ - [Wikidata API](https://www.wikidata.org/w/api.php)
40
+ - [Wikibooks API](https://en.wikibooks.org/w/api.php)
41
+ - [Wikiquote API](https://en.wikiquote.org/w/api.php)
42
+ - [Wiktionary API](https://en.wiktionary.org/w/api.php)
43
+ - [Wikisource API](https://en.wikisource.org/w/api.php)
44
+ - [Wikimedia Commons API](https://commons.wikimedia.org/w/api.php)
45
+
46
+ ---
47
+
48
+ ## βš™οΈ How It Works
49
+
50
+ 1. **User enters a topic** (e.g. *World War II*).
51
+ 2. WikiTales fetches:
52
+ - Summary from Wikipedia
53
+ - Quotes from Wikiquote
54
+ - Timeline from Wikidata
55
+ - Definitions from Wiktionary
56
+ - Images from Commons
57
+ - Source documents from Wikisource
58
+ - Related books from Wikibooks
59
+ 3. Story is narrated using the selected voice and formatted as a storybook.
60
+ 4. Additional enhancements include interactive glossary and image carousel.
61
+
62
+ ---
63
+
64
+ ## πŸ”§ Setup Instructions
65
+
66
+ To get started with this project, follow these steps:
67
+
68
+ ```bash
69
+ # Clone the repository
70
+ git clone https://code.swecha.org/soai2025/soai-hackathon/team-titans.git
71
+
72
+ # Navigate to the project folder
73
+ cd team-titans
74
+
75
+ # (Optional but recommended) Create a virtual environment
76
+ python3 -m venv wikitales_venv
77
+ source wikitales_venv/bin/activate
78
+
79
+ # Install dependencies
80
+ pip install -r requirements.txt
81
+
82
+ # Run the app locally
83
+ streamlit run app.py
84
+ ```
85
+
86
+ ---
87
+
88
+ ### πŸš€ Deployment
89
+
90
+ This app is designed to be deployed on [Hugging Face Spaces](https://huggingface.co/spaces) using the **Streamlit template**.
91
+
92
+ ---
93
+
94
+ ### πŸ—‚οΈ Project Structure
95
+
96
+ ```
97
+ WikiTales/
98
+ β”œβ”€β”€ app.py # Main Streamlit app
99
+ β”œβ”€β”€ requirements.txt # Python dependencies
100
+ β”œβ”€β”€ README.md # Project overview and setup
101
+ β”œβ”€β”€ story_engine/ # All logic modules for fetching and generating story content
102
+ β”‚ β”œβ”€β”€ __init__.py
103
+ β”‚ β”œβ”€β”€ wikipedia.py
104
+ β”‚ β”œβ”€β”€ wikiquote.py
105
+ β”‚ β”œβ”€β”€ wikisource.py
106
+ β”‚ β”œβ”€β”€ commons.py
107
+ β”‚ β”œβ”€β”€ wikidata.py
108
+ β”‚ β”œβ”€β”€ wikibooks.py
109
+ β”‚ β”œβ”€β”€ formatter.py
110
+ β”‚ └── story_builder.py # Core function to build story from APIs
111
+
112
+ ```
113
+
114
+ > πŸ“ `story_engine/` contains modular Python files to keep the logic clean and testable.