a5b19e169c | ||
---|---|---|
.github/ISSUE_TEMPLATE | ||
Activities | ||
App Icons | ||
Assets.xcassets | ||
Caches | ||
DB | ||
Data Sources | ||
Extensions | ||
HTTP | ||
Keychain | ||
Localizations | ||
Mastodon | ||
MastodonAPI | ||
Metatext.xcodeproj | ||
Notification Service Extension | ||
Secrets | ||
ServiceLayer | ||
Share Extension | ||
Supporting Files | ||
System | ||
Tests | ||
Transitions | ||
View Controllers | ||
ViewModels | ||
Views | ||
.gitignore | ||
.swiftlint.yml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
README.md
Metatext
A free, open-source iOS Mastodon client.
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 contribution guidelines.
Contributing Ideas
Check out Metatext's discussions on GitHub.
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 Model–view–viewmodel (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
andimport MastodonAPI
should generally only be done within theServiceLayer
package, andimport ServiceLayer
only within theViewModels
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/.