├── .appcast.xml
├── .gitignore
├── LICENSE
├── Minimap.sketchplugin
└── Contents
│ ├── Resources
│ ├── Minimap.framework
│ │ ├── Minimap
│ │ ├── Resources
│ │ │ ├── Assets.car
│ │ │ ├── Info.plist
│ │ │ └── MinimapNavigatorWindowController.nib
│ │ └── _CodeSignature
│ │ │ └── CodeResources
│ ├── icon-alpha.png
│ └── icon.png
│ └── Sketch
│ ├── manifest.json
│ └── script.js
├── README.md
└── preview.png
/.appcast.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | .DS_Store
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Aby Nimbalkar
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Minimap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abynim/sketch-minimap/7453164f5ddc8e496441ed880958b451db29ffa1/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Minimap
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Resources/Assets.car:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abynim/sketch-minimap/7453164f5ddc8e496441ed880958b451db29ffa1/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Resources/Assets.car
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 19B88
7 | CFBundleDevelopmentRegion
8 | en
9 | CFBundleExecutable
10 | Minimap
11 | CFBundleIdentifier
12 | com.abynim.Minimap
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | Minimap
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleSupportedPlatforms
22 |
23 | MacOSX
24 |
25 | CFBundleVersion
26 | 376
27 | DTCompiler
28 | com.apple.compilers.llvm.clang.1_0
29 | DTPlatformBuild
30 | 11B52
31 | DTPlatformVersion
32 | GM
33 | DTSDKBuild
34 | 19B81
35 | DTSDKName
36 | macosx10.15
37 | DTXcode
38 | 1120
39 | DTXcodeBuild
40 | 11B52
41 | LSMinimumSystemVersion
42 | 10.14
43 | NSHumanReadableCopyright
44 | Copyright © 2019 Aby Nimbalkar. All rights reserved.
45 |
46 |
47 |
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Resources/MinimapNavigatorWindowController.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abynim/sketch-minimap/7453164f5ddc8e496441ed880958b451db29ffa1/Minimap.sketchplugin/Contents/Resources/Minimap.framework/Resources/MinimapNavigatorWindowController.nib
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/Minimap.framework/_CodeSignature/CodeResources:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | files
6 |
7 | Resources/Assets.car
8 |
9 | HdTCvUxnQ/+JadX/7oYdCWQILd0=
10 |
11 | Resources/Info.plist
12 |
13 | K4k3R7F43SAeA2pfSzEzdHhyUAc=
14 |
15 | Resources/MinimapNavigatorWindowController.nib
16 |
17 | InTxSc+j6JadZlfI1uU78SaYig8=
18 |
19 |
20 | files2
21 |
22 | Resources/Assets.car
23 |
24 | hash2
25 |
26 | P0LNzndvLexrqwgBgFCtPD4OWEx/cua1mrGKP1IqXIE=
27 |
28 |
29 | Resources/Info.plist
30 |
31 | hash2
32 |
33 | sWbqGixoX+BSKUwZv1AKV4q9BS396YIb/i/2XfFe2DQ=
34 |
35 |
36 | Resources/MinimapNavigatorWindowController.nib
37 |
38 | hash2
39 |
40 | OV6PNVdC3MdzjlC05ZlxQwxdzFk3ocFrNpDp3oRHUGk=
41 |
42 |
43 |
44 | rules
45 |
46 | ^Resources/
47 |
48 | ^Resources/.*\.lproj/
49 |
50 | optional
51 |
52 | weight
53 | 1000
54 |
55 | ^Resources/.*\.lproj/locversion.plist$
56 |
57 | omit
58 |
59 | weight
60 | 1100
61 |
62 | ^Resources/Base\.lproj/
63 |
64 | weight
65 | 1010
66 |
67 | ^version.plist$
68 |
69 |
70 | rules2
71 |
72 | .*\.dSYM($|/)
73 |
74 | weight
75 | 11
76 |
77 | ^(.*/)?\.DS_Store$
78 |
79 | omit
80 |
81 | weight
82 | 2000
83 |
84 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/
85 |
86 | nested
87 |
88 | weight
89 | 10
90 |
91 | ^.*
92 |
93 | ^Info\.plist$
94 |
95 | omit
96 |
97 | weight
98 | 20
99 |
100 | ^PkgInfo$
101 |
102 | omit
103 |
104 | weight
105 | 20
106 |
107 | ^Resources/
108 |
109 | weight
110 | 20
111 |
112 | ^Resources/.*\.lproj/
113 |
114 | optional
115 |
116 | weight
117 | 1000
118 |
119 | ^Resources/.*\.lproj/locversion.plist$
120 |
121 | omit
122 |
123 | weight
124 | 1100
125 |
126 | ^Resources/Base\.lproj/
127 |
128 | weight
129 | 1010
130 |
131 | ^[^/]+$
132 |
133 | nested
134 |
135 | weight
136 | 10
137 |
138 | ^embedded\.provisionprofile$
139 |
140 | weight
141 | 20
142 |
143 | ^version\.plist$
144 |
145 | weight
146 | 20
147 |
148 |
149 |
150 |
151 |
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/icon-alpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abynim/sketch-minimap/7453164f5ddc8e496441ed880958b451db29ffa1/Minimap.sketchplugin/Contents/Resources/icon-alpha.png
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abynim/sketch-minimap/7453164f5ddc8e496441ed880958b451db29ffa1/Minimap.sketchplugin/Contents/Resources/icon.png
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Sketch/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "commands" : [
3 | {
4 | "script" : "script.js",
5 | "handler" : "go",
6 | "shortcut" : "control 8",
7 | "name" : "Show Minimap",
8 | "identifier" : "showMap",
9 | "icon" : "icon-alpha.png",
10 | "description" : "Navigate large pages with ease!"
11 | }
12 | ],
13 | "menu": {
14 | "title" : "Minimap",
15 | "isRoot" : true,
16 | "items": [
17 | "showMap"
18 | ]
19 | },
20 | "identifier" : "com.abynim.Minimap",
21 | "version" : "0.3",
22 | "icon" : "icon.png",
23 | "description" : "Navigate large pages with ease",
24 | "author" : "Aby Nimbalkar",
25 | "name" : "Minimap",
26 | "disableCocoaScriptPreprocessor" : true,
27 | "homepage" : "https://github.com/abynim/sketch-minimap",
28 | "appcast" : "https://raw.githubusercontent.com/abynim/sketch-minimap/master/.appcast.xml"
29 | }
30 |
--------------------------------------------------------------------------------
/Minimap.sketchplugin/Contents/Sketch/script.js:
--------------------------------------------------------------------------------
1 | var go = function(context) {
2 | try { Minimap.go(context); }
3 | catch(e) {
4 | if(Mocha.sharedRuntime().loadFrameworkWithName_inDirectory('Minimap', NSBundle.bundleWithURL(context.plugin.url()).resourceURL().path())) {
5 | Minimap.go(context);
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Minimap
2 |
3 | A [Sketch](https://sketch.com) plugin to navigate large pages with ease.
4 |
5 | 
6 |
7 | ## Installation
8 | Download the contents of this repository, then double-click the `Minimap.sketchplugin` bundle.
9 | Or install via [Sketch Runner](https://sketchrunner.com/).
10 |
11 | # How to use
12 | 1. In Sketch, go to `Plugins` > `Show Minimap`.
13 | 1. Click and drag the minimap to easily scroll around the current page.
14 | 1. Option+click in the minimap to select and zoom-to-fit a specific artboard.
15 | 1. Cmd+drag on the map to draw a viewport of any size.
16 | 1. Press the zoom amount indicator to temporarily zoom to 100%. Useful when you're editing details and want to jump out for a full view.
17 | 1. Command+click the zoom amount indicator to zoom to 100%.
18 |
19 | ---
20 |
21 | Feedback or suggestions? Find me on Twitter: [@abynim](http://twitter.com/abynim)
22 |
23 | Made in collaboration with [Kevin Gutowski](https://twitter.com/kevgski) 😎
24 |
25 | Icon by [Matt](https://twitter.com/matthewskiles) 🙌🏼
26 |
27 | MIT License
28 |
29 | ---
30 |
31 | ## Plugs 🤓
32 |
33 | I've made more plugins for Sketch, including:
34 |
35 | [Sketch Runner](https://sketchrunner.com) - Design faster in Sketch
36 |
37 | [User Flows](https://abynim.github.io/UserFlows/) - A plugin for generating flow diagrams from Artboards in Sketch.
38 |
39 | [Lippy](https://github.com/abynim/lippy) - An interactive Lorem-ipsum generator plugin for Sketch.
40 |
41 |
--------------------------------------------------------------------------------
/preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abynim/sketch-minimap/7453164f5ddc8e496441ed880958b451db29ffa1/preview.png
--------------------------------------------------------------------------------