jarvis icon indicating copy to clipboard operation
jarvis copied to clipboard

Add Natural Language Calendar/Event Scheduler

Open KowshikaSinivasan opened this issue 1 year ago • 7 comments

Important Points to Note

  • [x] I agree to adhere to the project's Code of Conduct.
  • [x] I have reviewed and understood the project's Contributing Guidelines.
  • [x] I have checked the existing issues and can confirm that this is not a duplicate.
  • [x] I have reviewed and understood the project's Issue Creation Guidelines.

Project Description

I would like to contribute a feature to Jarvis that enables users to create events or reminders using natural language voice commands.

For example, commands like: “Set a meeting tomorrow at 4 PM”

Kindly assign this issue to me under SSOC'25.

Screenshots or Logs

Ex log: ✅ Reminder set for "Drink water" at 10:00 AM, repeating every 2 hours.

Project Feature

Code Integration

Tech Stacks

speech_recognition, dateparser, pandas (for local storage) Optional: google-api-python-client for Google Calendar sync

Priority

Up to 1 week

Open Source Program

SSOC

Would you like to work on this issue?

Yes

KowshikaSinivasan avatar Jun 28 '25 16:06 KowshikaSinivasan

Thank you for creating this issue! We'll look into it as soon as possible. Your contributions are highly appreciated! 😊 For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

github-actions[bot] avatar Jun 28 '25 16:06 github-actions[bot]

@KowshikaSinivasan Go ahead 👍

Avdhesh-Varshney avatar Jul 04 '25 14:07 Avdhesh-Varshney

Need update?

Avdhesh-Varshney avatar Aug 12 '25 18:08 Avdhesh-Varshney

Can you assign it to me?

BipashaBi avatar Aug 19 '25 19:08 BipashaBi

Is this issue still available? Can I work on this issue. Please assign me this issue.

dharapandya85 avatar Dec 18 '25 11:12 dharapandya85

Hello @Avdhesh-Varshney , I slightly changed Jarvis.py

import streamlit as st

from src.helpers.getFolders import getFolders
from src.helpers.structPages import structPages

if not st.user.is_logged_in:
  if st.button("Log in with Google"):
    st.login("google")
  st.stop()
if st.button("Log out"):
  st.logout()
st.markdown(f"Welcome! {st.user.name}")

def application():
  pages = {
    "": [
      st.Page("src/apps/public/home.py", title="Home", icon=":material/home:"),
      st.Page("src/apps/public/youtubePlaylist.py", title="Jarvis Videos", icon=":material/ondemand_video:"),
    ],
    "Account": [
      st.Page("src/apps/auth/auth.py", title="Authentication", icon=":material/lock_open:"),
    ],
  }

  if st.user and st.user.is_logged_in:
    MAIN_DIR = "src/apps/pages"
    folders = getFolders(MAIN_DIR)
    if folders:
      for folder_name, folder_dir in folders.items():
        pages[folder_name.title()] = structPages(f"{MAIN_DIR}/{folder_dir}")

    if st.user.email == st.secrets["general"]["ADMIN_EMAIL"] and st.user.given_name == st.secrets["general"]["ADMIN_NAME"]:
      pages.update(
        {
          "Admin": [
            st.Page("src/apps/auth/env.py", title="Environment Variables", icon=":material/security:"),
          ]
        }
      )

  return st.navigation(pages)


application().run()
st.write("Jarvis - Your Personal Assistant")

as presented in the yt video and some changes in home.py

import streamlit as st

BASE_DIR = Path(__file__).resolve().parents[3]
IMAGE_PATH = BASE_DIR / "assets" / "image.gif"

def home():
 st.title("Welcome to Jarvis - Your Virtual AI Assistant!")
 st.toast("Welcome to Jarvis!", icon="👋")

 if IMAGE_PATH.exists():
   st.image(str(IMAGE_PATH), caption="Empower Your Digital Life with Jarvis", width="stretch")
 else:
   st.warning("Image not found")

 st.markdown("""
 ## Key Features
 - **Voice Commands**: Control your computer effortlessly using voice commands.
 - **Web Automation**: Open websites, search the internet, and get instant results.
 - **Media Control**: Play your favorite music and videos with a single command.
 - **Productivity Tools**: Open code editors, manage your time, and stay organized.
 - **Information Retrieval**: Get instant answers from Wikipedia and other sources.
 - **Email Management**: Send and receive emails directly from the assistant.
 """)

 with st.expander("## See Jarvis in Action"):
   st.video(f"https://www.youtube.com/watch?v={st.secrets['general']['YOUTUBE_VIDEO_ID']}", start_time=0)

 st.markdown("""
 ## Learn More and Get Started
 Explore the capabilities of Jarvis by diving into the following resources:
 - [Documentation](https://codingblogs.hashnode.dev/) - Comprehensive guides on setting up and using Jarvis.
 - [Community Forums](https://discord.gg/tSqtvHUJzE) - Join discussions with other Jarvis users.
 - [GitHub Repository](https://github.com/Code-A2Z/Jarvis) - Contribute to the development or get the latest version.
 - [YouTube Playlist](https://www.youtube.com/playlist?list=PLPUts_2rBVRVTrLlcB54Hwi6Ws51UWLXU) - Watch tutorials and feature demonstrations.
 """)

 st.markdown("""
 ---
 **Jarvis** is continually evolving with new features and improvements. Stay tuned for updates and feel free to contribute to its development.
 """)


home()

added this in secrets.toml

[general]
ADMIN_EMAIL = "mail"
ADMIN_NAME = "name
YOUTUBE_VIDEO_ID = "Tdh0jLpPawM"

[auth]
redirect_uri = "http://localhost:8501"
cookie_secret = "some value"

[auth.google]
client_id = "some value"
client_secret = "some value"
server_metadata_url = "https://accounts.google.com/.well-known/openid-configuration"

but not able to login, can you guide me how to proceed further.

dharapandya85 avatar Jan 02 '26 18:01 dharapandya85

@dharapandya85 Check this https://github.com/Code-A2Z/jarvis/wiki/Jarvis-Authentication-System once.

Avdhesh-Varshney avatar Jan 03 '26 10:01 Avdhesh-Varshney