{"id":13871966,"url":"https://github.com/FeatherCMS/feather","last_synced_at":"2025-07-16T01:32:29.524Z","repository":{"id":46142651,"uuid":"268070496","full_name":"FeatherCMS/feather","owner":"FeatherCMS","description":"Feather is a modern Swift-based content management system powered by Vapor 4. ","archived":false,"fork":false,"pushed_at":"2023-05-29T13:46:43.000Z","size":5356,"stargazers_count":592,"open_issues_count":9,"forks_count":54,"subscribers_count":23,"default_branch":"main","last_synced_at":"2024-08-06T23:51:24.780Z","etag":null,"topics":["api","async-await","blogging","cms","engine","feather","framework","journalism","publishing","swift","swift-5","swift-5-5","swift-html","vapor-4","web"],"latest_commit_sha":null,"homepage":"https://feathercms.com","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FeatherCMS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-30T11:57:50.000Z","updated_at":"2024-07-30T13:57:00.000Z","dependencies_parsed_at":"2022-08-12T12:40:45.246Z","dependency_job_id":null,"html_url":"https://github.com/FeatherCMS/feather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatherCMS%2Ffeather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatherCMS%2Ffeather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatherCMS%2Ffeather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatherCMS%2Ffeather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FeatherCMS","download_url":"https://codeload.github.com/FeatherCMS/feather/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226090030,"owners_count":17572114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","async-await","blogging","cms","engine","feather","framework","journalism","publishing","swift","swift-5","swift-5-5","swift-html","vapor-4","web"],"created_at":"2024-08-05T23:00:31.398Z","updated_at":"2024-11-23T19:31:29.380Z","avatar_url":"https://github.com/FeatherCMS.png","language":"Swift","readme":"## ⚠️⚠️⚠️ Under construction ⚠️⚠️⚠️\n\nFeather CMS is currently under construction, just a few things about the new version:\n\n- 100% async / await support (requires macOS 12+ or Linux)\n- Leaf / Tau is completely replaced with [SwiftHtml](https://github.com/binarybirds/swift-html)\n- Simplified core library [FeatherCore](https://github.com/feathercms/feather-core)\n\n\n![Feather CMS](https://github.com/FeatherCMS/feather/blob/main/Assets/GitHub-Lead.png?raw=true)\n\n# Feather CMS 🪶\n\n🪶 Feather is a modern Swift-based content management system powered by Vapor 4. \n\n💬 Click to join the chat on [Discord](https://discord.gg/wMSkxCUXAD). \n\n\n## Requirements\n\nTo use Feather you'll have to install **Swift 5.5** or greater.\n\nIf you need help installing Swift, you should follow the official instructions available on [swift.org](https://swift.org/download/#releases).\n\n\n## Setup \u0026 environment\n\nClone or download the source files using the [Feather](https://github.com/feathercms/feather/) repository. \n\n```shell\ngit clone https://github.com/FeatherCMS/feather.git\n```\nChange the current working directory (located under the target setting when using [Xcode](https://theswiftdev.com/beginners-guide-to-server-side-swift-using-vapor-4/)) to the project directory.\n\n```shell\ncd feather\n```\n\nCreate a dotenv file ( `.env` or `.env.development`) based on your environment) and config the following values.\n\n```shell\n# the base path (absolute) of the working directory\nFEATHER_WORK_DIR=\"/path/to/feather/\" \n\n# Optional Feather related env variables\n\n# the hostname (domain) of your web server, default localhost\nFEATHER_HOSTNAME=feathercms.com\n# the port to listen on, default 8080\nFEATHER_PORT=80\n# use HTTPS, default false (needs cert \u0026 key setup on the Vapor app)\nFEATHER_HTTPS=true\n# maximum body size for file uploads\nFEATHER_MAX_BODY_SIZE=10mb\n# disable file middleware, default false (if disabled you can serve files with nginx)\nFEATHER_DISABLE_FILE_MIDDLEWARE=true\n# disable the session auth middleware for api endpoints (recommended for production)\nFEATHER_DISABLE_API_SESSION_MIDDLEWARE=true\n```\n\nYou can run the `make env` command to quickly create a development environment with the curret directory as a base path.\n\nStart the server using the `swift run Feather` command (alternatively you can use the `make run` command). \n\n\n\n### Notes about using Xcode\n\n- ⚠️ Warning: DO NOT USE the `swift package generate-xcodeproj` command, it's deprecated.\n- ⚠️ Make sure that you open the project by double clicking the `Package.swift` file.\n- ⚠️ Set the [custom working directory](https://theswiftdev.com/beginners-guide-to-server-side-swift-using-vapor-4/) for the `Feather` scheme to the root of the project directory.\n- ⚠️ If needed setup a [post-action script](https://theswiftdev.com/10-short-advices-that-will-make-you-a-better-vapor-developer-right-away/) to automatically shut-down previous server instances (to avoid address in use errors).\n- ✅ Build and run the project as usual and enjoy your Feather powered site.\n\n\n\n## Configuration\n\nThe [FeatherCore framework](https://github.com/feathercms/feather-core) provides all the necessary API to configure your Feather application. \n\n\n\n### Database driver\n\nBy default Feather uses the SQLite driver, but it is possible to use PostgreSQL, MySQL (MariaDB) or even MongoDB as your database driver through the [Fluent](https://docs.vapor.codes/4.0/fluent/overview/) framework.\n\nYou should follow the instructions using the official Vapor docs to setup the right driver, but please note that the preferred drivers are PosgreSQL and SQLite for really small projects and development purposes.\n\n\n\n### File storage driver\n\nThe [Liquid framework](https://github.com/binarybirds/liquid/) is an abstract file storage library that works with a local file storage driver, but it is also possible to use Amazon S3 as a cloud-based solution.\n\nYou can replace the default local driver with the [S3 driver](https://github.com/BinaryBirds/liquid-aws-s3-driver), which is powered by the [Soto for AWS](https://github.com/soto-project/soto) SDK.\n\n\n\n### Modules\n\nFeather is a modular CMS system, you can add new modules as Swift package dependencies or place them under the Modules directory.\n\nFeather gives you just a few **core modules**, they provide basic functionalies such as the route system, web frontend, admin interface or API layer.\n\nThe usage of [other modules](https://github.com/feathercms/?q=-module\u0026type=all\u0026language=swift\u0026sort=name) can be completely customized (just alter the SPM dependency \u0026 configuration file). \n\n💡 Feel free to fork this repository and create your own configuration as per needed. \n\n\n## Using Feather CMS\n\n### Installation\n\nThe first time when you open your page Feather will run in install mode. \n\nDuring this phase (behind the scenes):\n- all the required database structures will be created (database migration will run automatically).\n- Bundled resources (public files) will be copied to the project folder (if needed).\n- All the necesseary models will be installed (persisted) using the configured database driver.\n- All the required assets will be uploaded to the file storage (using the configured storage driver).\n- The \"root\" user account will be created, you have to provide yor own credentials during this step.\n- Sample content for the blog module will be created (you can opt-out from this).\n- You'll be redirected to the welcome page. \n\nNow you are ready to use your Feather-based website.\n\n\n#### User guide\n\nYou can read more about how to use Feather in the [wiki](https://github.com/FeatherCMS/feather/wiki).\n\n\n## Contribution and support\n\n🪶 Feather is an open source software and your contributions are more than welcome.\n\n🔀 If you wish to make a change, please open a [Pull Request](https://github.com/FeatherCMS/feather/pulls).\n\n🙏 Please don't hesitate to send your feedbacks, thoughts and ideas about Feather.\n\n## Address already in use error\n\nYou can use the following command to kill the process listening on the 8080 port. \n\n```shell\nlsof -i :8080 -sTCP:LISTEN |awk 'NR \u003e 1 {print $2}'|xargs kill -15\n```\n\nTip: when using Xcode, edit the scheme and add this as a pre-action script. \n\n## Credits\n\n- [Vapor](https://vapor.codes/) - underlying framework\n- [Feather icons](https://feathericons.com/) - Simply beautiful open source icons\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFeatherCMS%2Ffeather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFeatherCMS%2Ffeather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFeatherCMS%2Ffeather/lists"}