Giter Club home page Giter Club logo

macssb's Introduction

macssb

Single-site browser for macOS.

Features

Native Tabs

native-tabs

Uses macOS' native tabs. Easily drag tabs from one window to another, show all tabs, and more are all available.

Picture-in-picture ⌃⌘P

picture-in-picture

Use macOS' picture-in-picture on the first video element found. Note this does not work if the video is in an iframe element.

Airplay ⌃⌘A

airplay

Presents macOS' Airplay menu for the first video element found. Note this does not work if the video is in an iframe element.

AdBlock

Includes a content-blocker.

Usage

  • Make a new folder in sites/ (see sites/Example/) to get started.
  • edit sites/YOUR_SITE/config.json.
  • run ./script/build to build all sites (alternatively run ./script/build sites/YOUR_SITE).

Your .app will now be available in ./sites-build/YOUR SITE.app.

Requirements

  • Xcode
  • Recent version of macOS

macssb's People

Contributors

mikew avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

macssb's Issues

Reduce app size

Built apps are ~14M. A good chunk of that is just swift:

$ du -shc Contents/Frameworks/*
236K	Contents/Frameworks/libswiftAppKit.dylib
6.2M	Contents/Frameworks/libswiftCore.dylib
 96K	Contents/Frameworks/libswiftCoreData.dylib
 40K	Contents/Frameworks/libswiftCoreFoundation.dylib
200K	Contents/Frameworks/libswiftCoreGraphics.dylib
 48K	Contents/Frameworks/libswiftCoreImage.dylib
104K	Contents/Frameworks/libswiftDarwin.dylib
340K	Contents/Frameworks/libswiftDispatch.dylib
2.9M	Contents/Frameworks/libswiftFoundation.dylib
 44K	Contents/Frameworks/libswiftIOKit.dylib
 92K	Contents/Frameworks/libswiftMetal.dylib
 60K	Contents/Frameworks/libswiftObjectiveC.dylib
 60K	Contents/Frameworks/libswiftQuartzCore.dylib
 44K	Contents/Frameworks/libswiftXPC.dylib
 76K	Contents/Frameworks/libswiftos.dylib
 11M	total

Although this project was started to learn Swift, maybe Objective-C would drastically reduce the final app sizes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.