A free, open-source iOS Mastodon client.
Find a file
2021-03-17 00:38:41 -07:00
Activities Link preferences 2021-02-06 00:07:23 -08:00
App Icons Alternate app icons 2021-03-03 23:22:32 -08:00
Assets.xcassets Add icon 2020-09-09 18:45:43 -07:00
Caches Set retry and continue in background image options 2021-03-03 17:31:46 -08:00
Data Sources Apply emoji animation preference in picker 2021-02-22 20:40:08 -08:00
DB Update SQLCipher 2021-03-14 12:24:53 -07:00
Extensions Change visibility logic 2021-03-08 20:40:22 -08:00
HTTP Cancel uploads 2021-01-03 15:57:40 -08:00
Keychain Keychain items accessible after first unlock 2021-01-05 15:39:03 -08:00
Localizations Add Japanese translations (#2) 2021-03-17 00:38:41 -07:00
Mastodon Use system ISO8601DateFormatter 2021-03-12 18:27:07 -08:00
MastodonAPI Add/remove from lists 2021-03-02 16:50:22 -08:00
Metatext.xcodeproj Add Japanese translations (#2) 2021-03-17 00:38:41 -07:00
Notification Service Extension Settings refactor 2021-03-05 18:25:18 -08:00
Secrets Extract Base16 package 2021-02-27 15:34:49 -08:00
ServiceLayer Settings refactor 2021-03-05 18:25:18 -08:00
Share Extension Settings refactor 2021-03-05 18:25:18 -08:00
Supporting Files Change default file protection 2021-03-14 11:48:32 -07:00
System 0xDEAD10CC mitigation 2021-03-12 15:25:16 -08:00
Tests Modularize view models 2020-09-01 00:33:49 -07:00
Transitions Set final frame in transition 2021-03-04 18:14:16 -08:00
View Controllers Ensure proper cell layout 2021-03-12 11:09:40 -08:00
ViewModels Add link to source code / issue tracker 2021-03-14 12:09:23 -07:00
Views Add link to source code / issue tracker 2021-03-14 12:09:23 -07:00
.gitignore Import and refactor stuff from old UIKit project 2020-07-31 00:13:54 -07:00
.swiftlint.yml Remove outdated swiftlint directives 2020-12-17 16:20:53 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2021-03-13 21:31:15 -08:00
LICENSE Create LICENSE 2021-03-13 21:30:36 -08:00
README.md Add README.md 2021-03-16 20:16:45 -07:00

Metatext

A free, open-source iOS Mastodon client.

Check out the beta on TestFlight

Contributing Bug Reports

GitHub is used for bug tracking. Please search existing issues and create a new one if the issue is not yet tracked.

Contributing Code

See the architecture section for an overview of Metatext's code. Make sure you have SwiftLint installed and there are no warnings.

Sign the Contributor License Agreement (CLA)

In order to publish Metatext's source code under the GNU General Public License and be able to dual-license Metatext to Apple for distribution on the App Store, Metabolist must be the sole copyright holder to Metatext's source code. You will need to sign Metabolist's CLA before your pull request can be merged.

Building

To build Metatext:

  • Clone the repository (git clone https://github.com/metabolist/metatext.git)
  • Open Metatext.xcodeproj in Xcode
  • Select the top-level "Metatext" item in Xcode and change the team in each target's "Signing & Capabilities" settings to your own

All dependencies are managed using Swift Package Manager and will automatically be installed by Xcode.

Push Notifications

Push notifications will not work in development builds of Metatext unless you host your own instance of metatext-apns and change the pushSubscriptionEndpointURL constants in IdentityService.swift to its URL.

Architecture

  • Metatext uses the Modelviewviewmodel (MVVM) architectural pattern.
  • View models are clients of a service layer that abstracts network and local database logic.
  • Different levels of the architecture are in different local Swift Packages. import DB and import MastodonAPI should generally only be done within the ServiceLayer package, and import ServiceLayer only within the ViewModels package.

Acknowledgements

Metatext uses the following third-party libraries:

Cryptography Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

License

Copyright (C) 2021 Metabolist

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.