Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
f0b6b34
This commit intentionally left blank
STRd6 Dec 31, 2016
1bf77e0
:goberserk::u5272: Updated at https://danielx.net/editor/
STRd6 Dec 31, 2016
9704135
This commit intentionally left blank
STRd6 Dec 31, 2016
1b35913
:womans_clothes::kissing_closed_eyes: Updated at https://danielx.net/…
STRd6 Dec 31, 2016
fe4293d
:point_down::icecream: Updated at https://danielx.net/editor/
STRd6 Dec 31, 2016
630ebd6
Merge pull request #2 from STRd6/templates/input.jadelet
STRd6 Dec 31, 2016
60b5cee
:dress::eight_spoked_asterisk: Updated at https://danielx.net/editor/
STRd6 Dec 31, 2016
40a455f
:sunny::point_right: Updated at https://danielx.net/editor/
STRd6 Jan 2, 2017
a1bfd1e
:nut_and_bolt::dress: Updated at https://danielx.net/editor/
STRd6 Jan 2, 2017
ed41b40
:rage::link: Updated at https://danielx.net/editor/
STRd6 Jan 2, 2017
09dba2f
:eyes::raised_hand: Updated at https://danielx.net/editor/
STRd6 Jan 2, 2017
fe7aa2d
:doughnut::card_index: Updated at https://danielx.net/editor/
STRd6 Jan 3, 2017
8ba1b37
:octocat::green_apple: Updated at https://danielx.net/editor/
STRd6 Jan 4, 2017
065ea71
:fireworks::house_with_garden: Updated at https://danielx.net/editor/
STRd6 Jan 4, 2017
979c92a
:fried_shrimp::tulip: Updated at https://danielx.net/editor/
STRd6 Jan 4, 2017
8214647
:light_rail::uk: Updated at https://danielx.net/editor/
STRd6 Jan 4, 2017
fa6a5df
:bear::mailbox_with_mail: Updated at https://danielx.net/editor/
STRd6 Jan 5, 2017
a48792b
:fireworks::mailbox: Updated at https://danielx.net/editor/
STRd6 Jan 5, 2017
17e5dbb
:smoking::part_alternation_mark: Updated at https://danielx.net/editor/
STRd6 Jan 5, 2017
d067942
:city_sunrise::beers: Updated at https://danielx.net/editor/
STRd6 Jan 5, 2017
572df9b
:person_frowning::collision: Updated at https://danielx.net/editor/
STRd6 Jan 5, 2017
91f6955
:bowtie::six_pointed_star: Updated at https://danielx.net/editor/
STRd6 Jan 6, 2017
f47a0d9
:free::eyes: Updated at https://danielx.net/editor/
STRd6 Jan 6, 2017
4c64c5e
:iphone::loudspeaker: Updated at https://danielx.net/editor/
STRd6 Jan 6, 2017
a414fc8
:revolving_hearts::bus: Updated at https://danielx.net/editor/
STRd6 Jan 6, 2017
f61fe80
:information_desk_person::credit_card: Updated at https://danielx.net…
STRd6 Jan 6, 2017
67a17bc
:circus_tent::clock130: Updated at https://danielx.net/editor/
STRd6 Jan 6, 2017
cdce520
:yellow_heart::underage: Updated at https://danielx.net/editor/
STRd6 Jan 7, 2017
e84c11b
:blossom::mag_right: Updated at https://danielx.net/editor/
STRd6 Jan 7, 2017
54c12a7
:horse_racing::tshirt: Updated at https://danielx.net/editor/
STRd6 Jan 8, 2017
7997b89
:smoking::microscope: Updated at https://danielx.net/editor/
STRd6 Jan 8, 2017
4211681
:dolls::facepunch: Updated at https://danielx.net/editor/
STRd6 Jan 8, 2017
50c45e3
:passport_control::tongue: Updated at https://danielx.net/editor/
STRd6 Jan 8, 2017
a08b611
:mailbox_with_no_mail::man_with_gua_pi_mao: Updated at https://daniel…
STRd6 Jan 9, 2017
608ee08
:clock1::stuck_out_tongue: Updated at https://danielx.net/editor/
STRd6 Jan 9, 2017
1897da0
:pig2::eyes: Updated at https://danielx.net/editor/
STRd6 Jan 10, 2017
7c5cfce
:arrow_down_small::persevere: Updated at https://danielx.net/editor/
STRd6 Jan 10, 2017
f7b53ec
:smiley::four_leaf_clover: Updated at https://danielx.net/editor/
STRd6 Jan 11, 2017
c22b5b0
:pencil::ship: Updated at https://danielx.net/editor/
STRd6 Jan 11, 2017
17ff620
:tram::heavy_exclamation_mark: Updated at https://danielx.net/editor/
STRd6 Jan 11, 2017
edce999
:clock1130::mobile_phone_off: Updated at https://danielx.net/editor/
STRd6 Jan 11, 2017
bc04c1b
:dart::broken_heart: Updated at https://danielx.net/editor/
STRd6 Jan 11, 2017
57916d9
:penguin::fuelpump: Updated at https://danielx.net/editor/
STRd6 Jan 12, 2017
b7d5e11
:tropical_drink::imp: Updated at https://danielx.net/editor/
STRd6 Jan 12, 2017
28a7263
:straight_ruler::twisted_rightwards_arrows: Updated at https://daniel…
STRd6 Jan 13, 2017
e2dc948
:bomb::1234: Updated at https://danielx.net/editor/
STRd6 Jan 17, 2017
f52767e
:lollipop::leftwards_arrow_with_hook: Updated at https://danielx.net/…
STRd6 Jan 17, 2017
f7b6f22
:toilet::godmode: Updated at https://danielx.net/editor/
STRd6 Jan 17, 2017
6867ebc
:wind_chime::four_leaf_clover: Updated at https://danielx.net/editor/
STRd6 Jan 17, 2017
d5bd945
:nut_and_bolt::cow2: Updated at https://danielx.net/editor/
STRd6 Jan 19, 2017
bf19f39
:speedboat::arrow_down: Updated at https://danielx.net/editor/
STRd6 Jan 19, 2017
a40a677
:metal::v: Updated at https://danielx.net/editor/
STRd6 Jan 19, 2017
dfdddfa
:mega::put_litter_in_its_place: Updated at https://danielx.net/editor/
STRd6 Jan 21, 2017
3259c8c
:zap::clock3: Updated at https://danielx.net/editor/
STRd6 Jan 22, 2017
a910c7e
:cold_sweat::on: Updated at https://danielx.net/editor/
STRd6 Jan 22, 2017
07fa504
:grey_exclamation::pouch: Updated at https://danielx.net/editor/
STRd6 Jan 23, 2017
6eacc51
:small_red_triangle_down::gun: Updated at https://danielx.net/editor/
STRd6 Jan 24, 2017
ab12487
:mortar_board::fries: Updated at https://danielx.net/editor/
STRd6 Jan 24, 2017
a224def
:cn::hushed: Updated at https://danielx.net/editor/
STRd6 Jan 27, 2017
ccd3770
:electric_plug::pisces: Updated at https://danielx.net/editor/
STRd6 Jan 27, 2017
a7cc0ad
:heart_eyes_cat::clock430: Updated at https://danielx.net/editor/
STRd6 Jan 27, 2017
b970ee3
:bear::swimmer: Updated at https://danielx.net/editor/
STRd6 Jan 27, 2017
27acd0a
:atm::mailbox_with_mail: Updated at https://danielx.net/editor/
STRd6 Jan 27, 2017
a520c56
:loop::kissing: Updated at https://danielx.net/editor/
STRd6 Jan 28, 2017
821a5a7
:aquarius::arrow_forward: Updated at https://danielx.net/editor/
STRd6 Jan 28, 2017
4d43f9c
:dragon::paperclip: Updated at https://danielx.net/editor/
STRd6 Jan 28, 2017
a4a8eeb
:computer::cancer: Updated at https://danielx.net/editor/
STRd6 Jan 28, 2017
501d88c
:ok::no_mobile_phones: Updated at https://danielx.net/editor/
STRd6 Jan 28, 2017
8297b8e
:u6e80::kissing_closed_eyes: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
668e1e3
:tea::gun: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
d02c0ab
:speaker::school: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
3b66e60
:no_entry_sign::small_orange_diamond: Updated at https://danielx.net/…
STRd6 Jan 29, 2017
41a71a4
:lipstick::lock_with_ink_pen: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
434e21c
:crystal_ball::circus_tent: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
1c815cf
:rage::on: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
452c159
:smirk::clock6: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
afd8265
:mortar_board::palm_tree: Updated at https://danielx.net/editor/
STRd6 Jan 29, 2017
88b5f3e
This commit intentionally left blank
STRd6 May 21, 2017
8d28c22
:rugby_football::beers: Updated at https://danielx.net/editor/
STRd6 May 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
# zine
# Zine OS

DIY E-Zine and Operating System

Interfaces
==========

FS Interface
------------

Read a blob from a path, returns a promise fulfilled with the blob object. The
blob is annotated with the path i.e.: blob.path == path

read: (path) ->

Write a blob to a path, returns a promise that is fulfilled when the write succeeds.

write: (path, blob) ->

Delete a file at a path, returns a promise that is fulfilled when the delete succeeds.

delete: (path) ->

Returns a promise

list: (directoryPath) ->


FileEntry Interface
-------------------

path:
size:
type:

FolderEntry Interface
---------------------

folder: true
path:
60 changes: 60 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
TODO
====

System Features
---------------
[X] File Browser

[X] App Associations

[X] File Context Menu

[X] Folders

[X] Desktop Icons

[ ] Desktop Background

[ ] Help Documentation

[X] Compilerz

[X] Require/Include Local Files

[ ] Drag 'n' Drop

[X] Cloud Briefcase

Applications
------------

Spreadsheet
- Save/Load Data
- Custom Cell Views
- Data Relationships
- Forms

Tactics Game Sandbox

Markdown / Wiki

Image Munger

Programatic Animator

Pixel Editor

Music Maker

Database?

Network Social
--------------

[x] Comments

[ ] Sharing

[ ] Remote Files (Network Neighborhood)

[X] Personal Homepage
15 changes: 15 additions & 0 deletions apps/achievement-status.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = ->
{Achievement, UI} = system
{Window} = UI

cheevoElement = Achievement.progressView()
cheevoElement.style.width = "100%"
cheevoElement.style.padding = "1em"

Achievement.unlock "Check yo' self"

windowView = Window
title: "Cheevos"
content: cheevoElement
width: 640
height: 480
50 changes: 50 additions & 0 deletions apps/audio-bro.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Play Audio

FileIO = require "../os/file-io"
Model = require "model"

module.exports = ->
# Global system
{ContextMenu, MenuBar, Modal, Observable, Progress, Util:{parseMenu}, Window} = system.UI
{Achievement} = system

Achievement.unlock "Pump up the jam"

audio = document.createElement 'audio'
audio.controls = true
audio.autoplay = true

filePath = Observable()

handlers = Model().include(FileIO).extend
loadFile: (blob) ->
filePath blob.path
audio.src = URL.createObjectURL blob

exit: ->
windowView.element.remove()

menuBar = MenuBar
items: parseMenu """
[F]ile
[O]pen
-
E[x]it
"""
handlers: handlers

windowView = Window
title: ->
if path = filePath()
"Audio Bro - #{path}"
else
"Audio Bro"
content: audio
menuBar: menuBar.element
width: 308
height: 80
iconEmoji: "🎶"

windowView.loadFile = handlers.loadFile

return windowView
24 changes: 24 additions & 0 deletions apps/chateau.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
IFrameApp = require "../lib/iframe-app"

module.exports = ->
{Achievement} = system

app = IFrameApp
src: "https://danielx.net/chateau/"
width: 960
height: 540
title: "Chateau"
iconEmoji: "🍷"

app.on "event", (name) ->
switch name
when "login"
Achievement.unlock "Enter the Chateau"
when "custom-avatar"
Achievement.unlock "Puttin' on the Ritz"
when "custom-background"
Achievement.unlock "Paint the town red"
when "file-upload"
Achievement.unlock "It's in the cloud"

return app
17 changes: 17 additions & 0 deletions apps/contrasaurus.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = ->
{Achievement, iframeApp} = system

app = iframeApp
src: "https://contrasaur.us/"
width: 960
height: 540
title: "Contrasaurus: Defender of the American Dream"

Achievement.unlock "Rawr"

app.on "event", (name) ->
switch name
when "win"
Achievement.unlock "A winner is you"

return app
12 changes: 12 additions & 0 deletions apps/dungeon-of-sadness.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = ->
{Achievement, iframeApp} = system

app = iframeApp
title: "Dungeon of Sadness"
src: "https://danielx.net/ld33/"
width: 648
height: 507

Achievement.unlock "The dungeon is in our heart"

return app
Loading