maxking / paper-to-git Goto Github PK
View Code? Open in Web Editor NEWSync documents from Dropbox Paper to local/remote git repository.
License: Apache License 2.0
Sync documents from Dropbox Paper to local/remote git repository.
License: Apache License 2.0
It should not be very difficult to support tags. Right now, only date and name is added as metadata to each post.
In figure, maybe we can use hashtags in Paper Docs and convert them to tags in the document?
Currently, when a commit is added, the message is set to 'A random commit message'.
It would be more informative to add the name of the post when committing.
It is possible to use peewee extensions for full text search in Sqlite. See here for more details about how to achieve this.
Figure out a way to sync images from Paper to Git. It might need additional work to put images in the correct static location.
Also, setup the test runner and CI, probably travis.
Web Frontend tracebacks with template error on accessing http://127.0.0.1:5000/
(paper-JfzL-Txt) [shon@laptop:~/paper] $ paper-git serve
* Serving Flask app "papergit.server" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
[2018-09-18 11:35:48,605] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/papergit/server.py", line 26, in index
folders=PaperFolder.select())
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/templating.py", line 134, in render_template
return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/jinja2/environment.py", line 869, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/jinja2/environment.py", line 830, in get_template
return self._load_template(name, self.make_globals(globals))
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/jinja2/environment.py", line 804, in _load_template
template = self.loader.load(self, name, globals)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/jinja2/loaders.py", line 113, in load
source, filename, uptodate = self.get_source(environment, name)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/templating.py", line 58, in get_source
return self._get_source_fast(environment, template)
File "/home/shon/.local/share/virtualenvs/paper-JfzL-Txt/lib/python3.6/site-packages/flask/templating.py", line 86, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: index.html
127.0.0.1 - - [18/Sep/2018 11:35:48] "GET / HTTP/1.1" 500 -
127.0.0.1 - - [18/Sep/2018 11:35:48] "GET /favicon.ico HTTP/1.1" 404 -
Change the default configuration path and make it default to ~/.paper-git.cfg
and the default var directory to ~/.config/paper-git/
.
browser
might have been misspelled as brownser
.
Change the setup.py to rename command paper_git
to paper-git
.
Also update the README.md to reflect the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.