Skip to content

WordSync Dictionary sync for all types of cursed uses

Notifications You must be signed in to change notification settings

goblinqueen/leaftheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeafTheme

WordTheme Dictionary sync for all types of cursed uses

Uses WordTheme's dictionary from your Google Drive if you've turned on sync in the app. This repo is designed for Heroku deployment.

Setup for google drive sync

You'll need to set up your google credentials (as explained here) and set the following env variables

SECRET_KEY=<any string>
G_CLIENT_ID=<id from your credentials json>
G_CLIENT_SECRET=<secret from your credentials json>

and replace the PROJECT_ID constant in leaftheme/main.py

If you're deploying to heroku, don't forget to add env variables to app's Settings -> Config Vars

Run locally

$ python wsgi.py

Run locally without Google API

Look for a WordTheme/*.wt file in your Google Drive.

It's a zip file that should have dictionary.txt.

Extract it, put in the leaftheme directory and run leaftheme/dictionary.py, and then you can mess around in main() to get what you need.

About

WordSync Dictionary sync for all types of cursed uses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors