-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpack.lua
More file actions
executable file
·41 lines (41 loc) · 1.67 KB
/
Copy pathpack.lua
File metadata and controls
executable file
·41 lines (41 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env lua
package.path = "packages/?.lua;packages/?/init.lua;" .. package.path
--------------------------------------------------------------------------------
-- pack - pack stories --
--
-- A declaritive rolling release
-- source based package manager
-- for stories - written in lua.
--
--------------------------------------------------------------------------------
-- Packs -> require("<packer>.<author>.<story>")
-- require("nop") -- NOP Story Packer
-- require("nop.cannon") -- All Cannon
-- require("nop.cannon.main") -- Main Stories
-- require("nop.cannon.main.1") -- Main Story 1
-- require("nop.cannon.main.2") -- Main Story 2
-- require("nop.cannon.arxur") -- Side Story
-- require("nop.heroman3003") -- All Heroman Stories
-- require("nop.heroman3003.waywardodysee") -- Heroman Story
-- require("nop.heroman3003.takingcareofbrokenbirds") -- Heroman Story
-- require("ao3") -- AO3 Story Packer
-- require("ao3.tgweaver") -- All TGWeaver Stories
-- require("ao3.tgweaver.packstreet") -- Single Story
-- etc... --
--------------------------------------------------------------------------------
-- Packers -> require("<packer>") { ... }
-- DDL, Download File
require("ddl") {
url = "https://archiveofourown.org/downloads/12141837/Pack_Street.epub",
path = "store/Pack_Street.epub",
}
-- Sync, Sync File
require("sync") {
url = "https://archiveofourown.org/downloads/23265703/Serval_Sheep_Sophomore.epub",
path = "store/Serval_Sheep_Sophomore.epub",
}
-- AO3, Sync to AO3
require("ao3") {
url = "https://archiveofourown.org/works/25378225/chapters/61757572",
dir = "store",
}