Is there any way to Integrate with twine

Twine Version : 2.3.14
I just want to know how we can integrate with twine?, is it possible?

Integrate what with Twine?

How can I store twine work in my database

If you use the online or desktop GUI, then your stories are actually saved in your internet browser. Make sure to archive them regularly, since if you purge your browser’s cache, you’ll lose them.

If you’re writing Twine using Tweego, then the story file (with a .tw extension by default) are just ordinary text files. So you can store them wherever you want.

HTH

2 Likes

It’s very difficult to answer your question with so little information. Please let us know the following:

  1. What kind of database is it?
  2. Where is it located? (On your computer or online?)
  3. Where is your Twine HTML file located? (On your computer or online?)
  4. What story format are you using? (SugarCube, Harlowe, etc…)
  5. Do you need to add data to the database? Retrieve data? Both?
  6. What kind of data is it?
  7. What is the data needed for?
  8. What’s your programming skill level? (I.e. do you just need a few pointers or do you need the code written out for you?)

Please try to be clear and descriptive, as your previous posts have been too short and vague.

Thank you. :slight_smile:

  1. What kind of database is it?
    Ans : RDBMS (mysql)

  2. Where is it located? (On your computer or online?)
    Ans : My computer

  3. Where is your Twine HTML file located? (On your computer or online?)
    Ans : My computer (inside flask project)

  4. What story format are you using? (SugarCube, Harlowe, etc…)
    Ans : Harlowe

  5. Do you need to add data to the database? Retrieve data? Both?
    Ans : Yes

  6. What kind of data is it?
    Ans : Json

  7. What is the data needed for?
    Ans : To display in another site

  8. What’s your programming skill level?
    Ans : Python with django and flask

(I.e. do you just need a few pointers or do you need the code written out for you?)
Pointers