All Projects → kysely → Framer Modules

kysely / Framer Modules

Licence: mit
Discover, install and save your favorite modules at one place

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Framer Modules

Skpm
💎📦 A utility to build and publish Sketch plugins
Stars: ✭ 890 (+163.31%)
Mutual labels:  registry, manager
module-dependents
Get the list of npm modules that depend on the specified npm module.
Stars: ✭ 15 (-95.56%)
Mutual labels:  registry, modules
workbench
A hierarchical environment manager for bash, written in bash.
Stars: ✭ 17 (-94.97%)
Mutual labels:  modules, manager
TTInputVisibilityController
Lightweight controller to keep your inputs visible when the keyboard is presented.
Stars: ✭ 21 (-93.79%)
Mutual labels:  manager
Shrimpit
Shrimpit 🍤 is a small CLI analysis tool for checking unused JavaScript, JSX & Vue templates ES6 exports in your project.
Stars: ✭ 255 (-24.56%)
Mutual labels:  modules
Unitymodmanager
一个便捷的程序可以修改游戏内资源包括:Unity游戏资源,Wwise音频资源。
Stars: ✭ 292 (-13.61%)
Mutual labels:  manager
Wu10man
Enable/Disable Windows 10 Automatic Updates
Stars: ✭ 316 (-6.51%)
Mutual labels:  registry
aplus
Aplus Command Line Tool
Stars: ✭ 71 (-78.99%)
Mutual labels:  manager
Modclean
Remove unwanted files and directories from your node_modules folder
Stars: ✭ 309 (-8.58%)
Mutual labels:  modules
Jdk9 Jigsaw
Examples and exercises based on some of the features of jigsaw in JDK9/Jigsaw (Early Access builds)
Stars: ✭ 275 (-18.64%)
Mutual labels:  modules
Advanced Nodejs
For help, ask in #questions at slack.jscomplete.com
Stars: ✭ 273 (-19.23%)
Mutual labels:  modules
Dubbo3
Dubbo3: distributed RPC framework from Alibaba Dubbo2
Stars: ✭ 257 (-23.96%)
Mutual labels:  registry
Nest.land
🦕 The nest.land website
Stars: ✭ 294 (-13.02%)
Mutual labels:  registry
Gmanager
基于gf框架的管理平台,支持登录、认证、组织机构、用户、角色、菜单、日志
Stars: ✭ 255 (-24.56%)
Mutual labels:  manager
A To Z List Of Useful Node.js Modules
Collection of most awesome node modules that will extend the capability of your node.js application.
Stars: ✭ 315 (-6.8%)
Mutual labels:  modules
LibPQ
Detach your M code from workbooks to reuse it! Import modules from local or web storage (unlimited number of sources)
Stars: ✭ 55 (-83.73%)
Mutual labels:  modules
Componentizationapp
A Componentization App.
Stars: ✭ 306 (-9.47%)
Mutual labels:  modules
Context menu
💻 A Python library to create and deploy cross-platform native context menus. 💻
Stars: ✭ 263 (-22.19%)
Mutual labels:  registry
Open Registry
Community Owned JavaScript Registry
Stars: ✭ 259 (-23.37%)
Mutual labels:  registry
Webpack Virtual Modules
Webpack Virtual Modules is a webpack plugin that lets you create, modify, and delete in-memory files in a way that webpack treats them as if they were physically presented in the file system.
Stars: ✭ 286 (-15.38%)
Mutual labels:  modules


Development Discontinued

Please use the official Framer Store for new Framer X.



Framer Modules Icon

Framer Modules

Community-driven modules registry and manager for Framer

Download Framer Modules

Download Framer Modules


✨ Discover

Looking for the right module used to be time-consuming and annoying—you didn't know if a module for the job exists, you weren't sure where to look for it and you had to manually download and move the files just to try things out.

Not anymore. Search for what you need and discover new useful modules without disrupting your workflow during prototyping. Not sure what's available? Try 'all'

Screenshot of listing the whole registry


⚡️ Install

Tired of downloading and copying modules to the prototype on your own? We all are. That's why installing modules is now so easy even your grandma can do it. Seriously, it's just “press Enter”.

All modules ship with example code snippets. When you're not yet familiar with how a module works, press Cmd C and paste the code in Framer.

Found out you don't need the module anymore? Press Cmd Backspace and say bye (the latter is optional).

Please make sure your prototype is saved before installing a module.

Screenshot of 'Installed' tab


❤️ Save

Yes, it's true. You can now save your favorite or regularly used modules in presets and install them to the prototype in batch with one button. Making wireframe prototype? Install these. Doing VR? Install those. Anything you need.

Just press Cmd S on a selected module, add it to a preset or create new one and save even more time!

Screenshot of adding module to a preset


All the shortcuts you'll ever need

Action Shortcut
Open Framer Modules window Cmd ;
Switch between individual tabs Tab
Close the window Esc
Selected module
Install selected module return
Copy the code snippet for selected module Cmd C
Save the module to a preset Cmd S
Go to module's GitHub repository Cmd G
Remove module Cmd Backspace
Selected preset
Install modules from preset return
Delete preset Cmd Backspace
Edit preset modules Cmd E

It's what we make it. So let's make it great!

The “community-driven” part in the description is not just an empty phrase. This app is developed by the same people who are using it. If you are one of them (actually... us) and want to make our modules registry/manager even better, you're more than welcome to contribute.

This part of the docs will hopefully acquaint you with the inner workings of the whole system.

Architecture

Hosting the modules and module.json

Due to this project's open-source nature, the modules' management was designed to be as easy as possible and seamlessly integrated with other technologies available.

That's why there is no own server hosting the actual modules files. Instead, modules are hosted on GitHub and recognized by their module.json metadata file. Upon the installation, module files are pulled from the GitHub repository as specified in module.json and installed to the prototype.

That is why we don't need our own fileserver and why the Framer Modules registry is basically just a database holding modules' module.json files.

Modules Hosting Scheme

Hosting on GitHub also provides us the perks of not needing user accounts. When the module is published to the registry, it carries the information about the author in its repository link. This is enough to recognize the author and give them the permissions to update and overwrite. Publishing or updating a module with the same name from a different GitHub user is automatically rejected.

System Components & Technology stack

You can say the whole system consists of 3 major parts:

  • Framer Modules app — The main app for the designer that handles the prototype management
  • Server — Small server for communication with the modules registry
  • Modules Registry — Collection of modules metadata in database

Framer Modules Icon Framer Modules App

Is built on Electron and handles all actions related to prototype management. The app is split into two parts that communicate with each other using ipcMain and ipcRenderer modules from Electron.

Core

The main Electron process that is responsible for all 3 main types of actions being taken.

First is communication with the renderer process via ipc. Literally all methods for this are defined in self-titled Actions.js. Some methods also preprocess the responses before sending them back to renderer process, but otherwise they're pretty straightforward.

Second type of actions is HTTP requests. Although the requests are being used throughout the whole core and aren't defined at one place, they all use request package to make the calls. However, methods for making the requests to the Framer Modules server share many properties and thus are defined in ServerRequest.js.

And last but not least, the actions that actually handle the prototype are to be found in prototype-actions subdirectory. The functions are fed module.json (or an array of those) and prototype's path. Using request, they then pull the files from the corresponding GitHub repository as defined in the JSON and pipe them to the module-specific subfolder in prototype's modules directory.

If the un/installation is successful, the core will update prototype's app.coffee (by adding/removing require() statement) and framer/config.json (by recalculating folded code ranges). If any error occurs during the installation, the whole module gets removed.

Installed modules are also recognized by directory name and module.json inside. Any loose files or directories without module.json will result in “unmanaged” modules.

Interface

Interface is written with React and although we are not using any “single source of truth” state container, the state for the most of the app is stored within a single, highest-level, component. There are two components that have their own state, Splash and ModalWindow, and the reasons for those are pretty obvious in use.

Please note that because I couldn't get webpack to bundle ipcRenderer module from Electron, the methods for communication between the two processes are defined in the separate Action.js file loaded to the page via <script>.

To further inspect the React component structure, use electron-react-devtools. The package is installed as a dev dependency, you'll just need to require it in the app window's console.

Styles are written in Sass and split into individual files corresponding to React components. All SVG assets are Base64-encoded and saved as data URIs in _assets.sass file.

Server Icon Server

Small REST server for communication with the modules registry and data preprocessing. Separating this functionality from the app enables using the registry in more general ways.

The server is written in Express.js and uses Mongoose for easier data modeling, validation, etc.

Currently deployed on the Heroku Free Dyno. The source code for the server lies in its own repository.

Go to server's repository

Database Icon Modules Registry (Database)

Simple as it sounds. The database of choice is MongoDB and is currently deployed on the free MongoDB Atlas cluster. Data modeling of the collection is very straightforward and you will be able to to understand it from the Mongoose Schema in the server's source code or docs.

How it looks together?

System Architecture Blueprint

Design

The whole app is designed in Sketch and you can find the source file in resources folder in this repository.

WCAG and keyboard-first icons

Please comply to WCAG 2.0 Level AA. Although the app is supposed to be used by fairly small group of people, standard accessibility concepts will make the experience better for everyone. For color scheme checking, using Stark is recommended.

Since the app is most useful to the user in Framer Code view, it's designed to be mainly operated from the keyboard. Current design is heavily inspired by macOS Spotlight and Sketch Runner (which are both keyboard-first utilities) and you are welcome to redesign it from scratch if you have better design in mind. Please just make sure the app is always operable from the keyboard.

Related Repositories

Got questions about your contribution?

Open an issue | Send me an e-mail | Reach me on Messenger


Disclaimer

This is a third-party project and is not affiliated with Motif Tools BV.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].