Code Monkey home page Code Monkey logo

freeplanegpt's Introduction

Mindmap Generator with GPT-3

This Python script processes a list of tasks, each containing a URL, to generate a mindmap. It utilizes GPT-3 to categorize the tasks and provide summaries. The script performs the following actions:

  1. Reads tasks from a JSON file called NoNonsenseNotes_Backup.json which is a backup from

https://f-droid.org/en/packages/com.nononsenseapps.notepad/

  1. Extracts the URL from each task title.
  2. Fetches metadata (title and description) for each URL, which is used to update the task title.
  3. Reads a list of topics from a CSV file.
  4. Fetches the text content from each URL, limiting it to 3000 characters.
  5. Sends the text content to GPT-3, requesting a summary and a categorization based on the predefined list of topics.
  6. Updates an existing mindmap XML file (FreeMind format) with the generated summaries and categories.
  7. Saves the modified mindmap to a new XML file.

The resulting mindmap is organized with tasks grouped under their respective categories, each task containing a summary generated by GPT-3.

freeplanegpt's People

Contributors

jjohare avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yqty

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.