Comments (9)
Ok, Step 1 is working! Now I'm gonna clean the code and go to step 2
from pine.
Great idea! As of right now, I think this is a bit out of scope since I'm still adding basic/fundamental features to Twig. I'll leave this issue open though and come back to it later after some more of the core features have been implemented
from pine.
I just got exporting to Gist working with a private token.
It definitely gets trickier when there's syncing, but at the moment I think it would be cool to add an Export to Gist feature.
Do you think an exporting feature would be cool? If so, I can definitely work on this feature. If not, I understand that there is more stuff that needs to be prioritized.
from pine.
If your keen to implement exporting to Gist then definitely go ahead! That would be awesome. Then in the future syncing could be added for sure
from pine.
This is where I'm at right now. My next steps are:
- Figure it out how we could use an actual Github login instead of just asking for a token
- Save this info in a safer place (Currently in UserDefaults)
- Have an exporting screen where the user can choose a file name, description and if it's public or private.
from pine.
That looks great, nice work.
For point 1, is it possible to show a GitHub web login window (opened from preferences window) where the user can sign in and we can grab the token from that? I think this is how most apps authorize with GitHub.
For 2, we should most probably do this using the Keychain.
For 3, I agree, some sort of pop up window when the user clicks export would be nice to have. I plan to add something like this for all export options sometime in the future anyway where the user can choose all sorts of options for their export.
from pine.
Also, I noticed in the gif that the sidebar icon section at the bottom has a white background, is this how it always is for you? It shouldn’t be like that, I will fix that up
from pine.
Thanks!
from pine.
@lfarah How are you going on this? Even if you're not done, do you want to perhaps open a pull request with whats done so far?
from pine.
Related Issues (20)
- M1 canot open pine HOT 3
- print the document is not work
- Pine automatically replace ' to ‘ and -- with —
- local image filenames cannot contain spaces
- Text on the editor doesn't wrap
- Crash while editing document
- Autosave
- Line of text bouncing/moving while typing
- Pine crashes after typing certain text
- Pine needs internet access to work (which it shouldn't)
- Feature: support copying and pasting tables from Excel HOT 1
- Use system appearance + github
- Rendering issue: bold text ending with colon
- Is this project still alive? HOT 7
- Universal Binary for Apple Silicon HOT 1
- domain pine.press HOT 1
- Can not see the code block non-critical word
- Add SECURITY.md
- [Feature] Adding Mermaid Plugin
- Sidebar isn't updated when new files/folders are added to the current directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pine.