StoryCraftJS
A JS port of StoryCraft, as found
here.
Note: While this is entirely my code (not counting libraries, etc., which are clearly marked),
the core is not my idea, specifically features 1-9. They are from the original Storycraft, which this is an attempt to
both port and possibly expand on.
However, features 10 and on are my ideas.
WARNING: (I'll remove this later) This is entirely UNTESTED. When I feel satisfied with the amount of features
implemented, I will begin testing and remove this note. However, until then, I make no guarantees that this will even work
at it's most basic level. Additionally, until testing commences, I will not be managing a gh-pages branch (too much hassle),
so you'll have to run it yourself (perhaps by forking, then creating a gh-pages branch and finding the github pages link
in your settings)
Features
- Editing (80%)
- Saving (30%)
- Loading (50%)
- Downloading (0%)
- Uploading (0%)
- Story Explorer (30%)
- Notes (25%)
- Note viewer (40%)
- Anchors/note "activeness" (1%)
- Custom Anchors (10%)
- Possible gist-saving (and loading? No idea how to automatically use gist) (0%)
- | as the opposite of = (25%)
Changelog:
10/11: Got sick again
- I have the worst luck for some things (cough cough Eyeless Skull cough cough 5 weeks of searching cough cough)
- Got some custom anchor syntax worked out, so not a total loss.
10/7-8/15: I made a decision (v0.4)
- Tiny update today (yesterday, technically -- whatever)
- I got a tentative css to differentiate active/passive/open notes.
- Today, for real, I got most of the explorer's stuff together.
- The onclick scroll is not done yet, and I've not got any sort of collapsing/image stuff yet but whatever.
10/6/15: Avoiding ALL the decisions (v0.3)
- Getting back into it still.
- Notes are getting along pretty well now
- There's a note-sidebar generator, even.
- Not looking forwards to more general nav/docs
10/5/15: Back to work.
- Was sick. I'm better now, but nothing happened over the weekend.
- Some work got done today with notes.
10/1/15: Parsing work (v0.2)
- Not as much work done today as I'd like.
- As expected, no time yesterday.
- Found a function to handle finding the position, so that getAnchors can do its job
- Also got presentNotes for saving/loading. This will be borkon because people might put --//-- in their notes. I'll
probably get some sort of fix for this.
- May do some more work later today. --
- Added some work for computing anchors at various points.
9/29/15: Improvements (v0.1)
- Some work was done, you can now see my features list with completion stats.
- Yes, this is 9/30. Whatever. Too busy today to do much anyways.
9/28/15: Initial commit (v0.0)
- (3:30) It exists? I guess? More later.
- (4:30) Was away a bit, now html sort of has the core, and there's a bit of css.
- (5:40) Yay I added some localstorage and cookies stuff, because don't we all want simpler saving stuff?
- (note) I'll get gist saving at some point if I can figure out how to and how to make it more seamlessly work.
- (10:30) I've learned I code terribly when tired, so I'm just commenting and writing trivial funcs.