🔀 Fork of Bluesky (https://github.com/bluesky-social/social-app) with minor adjustments for https://zio.blue
 
 
 
 
 
 
Go to file
Paul Frazee 901feba6db
Replace pluralize by plural by @tkusano (#3882)
* Replace pluralize with plural or Plural
* Replace all pluralize (defined by src/lib/strings/helpers.ts) with plural or Plural (defined by @lingui/macro) to make some UI elements translatable.
* Delete pluralize() and related test.

* Import @formatjs polyfill libraries for plural on ios and android

- ios and andorid: import `@formtjs/intl-locale` and `@formatjs/intl-pluralrules` to polyfill `Intl.Locale` and `Intl.PluralRules` which are used in `plural()` and '<Plural />'.
- update `plural` use in notification messages for better translation.

* Rewrite to pass lint

* Add Catalan plural polyfill

* more replacement

* import zh plural data for zh-CN

* Refactor feed header components (#2964)

* Move home-related files to view/com/home

* Add HomeHeader in front of FeedTabBar

* Move isDekstop check outside FeedsTabBar

* Remove PWI logic from tabbar

* Separate platform-specific layout from shared logic

* Rename Home Feed Prefs to Following Feed Prefs (#2965)

* use `useOpenLink` hook for links in ALF (#2975)

* use `useOpenLink` hook for links in ALF

* web only for `outline`

* increase timeout to 15s (#2958)

* Normalize relative day (#2874)

* fix: normalize relative date

* chore: add comments

* refactor: skip flooring normalized diff

* refactor: let -> const

* fix: get own copy of date to prevent mutating

* refactor: rounding does the same trick

* Add handle validation to create account UI (#2959)

* show uiState errors in the box as well

simplify copy

update ui for only letters and numbers

add ui validation to handle selection

* simplify names

* Fix accidental text-node render

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>

* Make dim theme dim (#2966)

* Make dim color scheme dim

* Tweaks

* Overall tweaks

* We have to go darker

* Tweak saturation of blues in dim

* Increase contrast on dark-dark mode

* adjust dim

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Co-authored-by: Hailey <me@haileyok.com>

* Fix dim mode unread notif color

* use `showControls` to show/hide live text icon on ios (#2982)

* Update .po files

* fix reversed icons in validator 🤦 (#2991)

* Adjust `windowSize` on `PostThread` `FlatList` (#2989)

* adjust window size, cells batching period

* rm batching period change

* Pluralize 'follow(s)'

* Include a space between the msgid count and "follower(s)/following(s)" so the translator can adjust the translated count line to fit within the Drawer.

* pluralie '# following'

* Fix & Update

* Rewrite to use Plural

* rmeove unused import

* When commiting changes, disable 'simple-import-sort' plugin in .eslintrc.js to sync with bluesky-social:main

* Revert simple-import-sort/imports related changes

* Move ProfileHoverCard web to plural util

* Followings -> following

* Add plural following to hovercard

* Followings -> Following

---------

Co-authored-by: Takayuki KUSANO <kusano@tkusano.jp>
Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>
Co-authored-by: dan <dan.abramov@gmail.com>
Co-authored-by: Hailey <me@haileyok.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
Co-authored-by: Eric Bailey <git@esb.lol>
2024-05-06 16:55:57 -07:00
.bundle Initial commit 2022-06-07 17:50:05 -05:00
.github add bundle identifiers to app-info (#3861) 2024-05-04 16:33:10 -07:00
.husky set up lint-staged via husky 2023-07-13 15:35:56 -07:00
__e2e__ Release 1.80 (#3757) 2024-04-29 15:00:25 -07:00
__mocks__ Use Sentry only for errors (#1776) 2023-11-07 04:30:00 +00:00
__tests__/lib Replace pluralize by plural by @tkusano (#3882) 2024-05-06 16:55:57 -07:00
assets [Clipclops] Clop menu, leave clop, mute/unmute clop (#3804) 2024-05-02 00:15:10 +01:00
bskyembed rebased embedr (#3511) 2024-04-13 12:20:06 -07:00
bskyweb Add kawaii mode (#3773) 2024-05-01 08:59:40 +01:00
code-signing add expo-updates github action (#3270) 2024-03-19 11:18:22 -07:00
docs docs(build): update build instructions (#3641) 2024-04-22 10:44:44 -07:00
eslint [Statsig] Make gate checks lazily (#3594) 2024-04-18 04:39:29 +01:00
jest 1.76 release preparations (#3459) 2024-04-09 16:27:39 -07:00
modules Replace pluralize by plural by @tkusano (#3882) 2024-05-06 16:55:57 -07:00
patches Patch lexicon for perf (#3733) 2024-04-27 07:54:47 +01:00
plugins android: fix various places still using default Material Teal (#3555) 2024-04-29 11:36:05 -07:00
scripts rebased embedr (#3511) 2024-04-13 12:20:06 -07:00
src Replace pluralize by plural by @tkusano (#3882) 2024-05-06 16:55:57 -07:00
web Fade in animation for card (#3521) 2024-04-13 18:28:53 +01:00
.buckconfig Initial commit 2022-06-07 17:50:05 -05:00
.detoxrc.js Update testrunner to use new dev-env [WIP] (#1575) 2023-10-10 15:46:27 -07:00
.easignore Fix easignore 2024-01-26 17:37:27 -08:00
.env.example add bundle identifiers to app-info (#3861) 2024-05-04 16:33:10 -07:00
.eslintrc.js [Statsig] Typecheck gates (#3467) 2024-04-10 19:36:37 +01:00
.gitignore Add webpack analyzer, PR comments for webpack bundle size (#3383) 2024-04-03 19:31:29 -07:00
.nvmrc feat(nvm): add support for nvm & minor actions housekeeping (#2979) 2024-02-26 17:35:06 -08:00
.prettierignore Use Prettier at the root (#3375) 2024-04-02 12:02:20 +01:00
.prettierrc.js Add state management 2022-06-09 13:03:25 -05:00
.ruby-version Improve lightbox... and update to React Native 0.71.0 (#49) 2023-01-17 20:40:02 -06:00
.watchmanconfig Initial commit 2022-06-07 17:50:05 -05:00
Dockerfile NOOP deploy test 2024-04-17 14:05:08 -07:00
Dockerfile.embedr Add kawaii mode (#3773) 2024-05-01 08:59:40 +01:00
Gemfile Improve lightbox... and update to React Native 0.71.0 (#49) 2023-01-17 20:40:02 -06:00
LICENSE Update copyright year in LICENSE (#2606) 2024-01-25 12:15:40 -08:00
Makefile rebased embedr (#3511) 2024-04-13 12:20:06 -07:00
README.md Remove invite codes from README (#2988) 2024-02-27 01:24:14 +00:00
app.config.js Add PrivacyManifest info to comply with new App Store guidelines (#3784) 2024-05-06 21:47:55 +01:00
babel.config.js Bump react-native to 0.73.1, expo to 50 (#2214) 2023-12-23 15:44:38 -08:00
eas.json Add OTA updates support for `testflight` channel (#3291) 2024-04-03 15:14:44 -07:00
google-services.json.example Add example google-services file (#1545) 2023-09-28 12:22:23 -07:00
index.js E2E 🟢 (#2092) 2023-12-05 14:50:56 -06:00
index.web.js Mark bundle start time on web (#3147) 2024-03-08 04:13:36 +00:00
lingui.config.js Alphabetise languages by language code (#3350) 2024-04-04 10:51:54 -07:00
metro.config.js Let Metro handle import/export instead of Babel (#1772) 2023-10-30 21:54:23 +00:00
package.json Replace pluralize by plural by @tkusano (#3882) 2024-05-06 16:55:57 -07:00
tsconfig.check.json [APP-786] Native notifications (#1095) 2023-08-23 16:28:51 -07:00
tsconfig.e2e.json E2E runner fixes (#2428) 2024-01-04 17:33:57 -08:00
tsconfig.json exclude bskyweb bskyembed and web-build (#3790) 2024-05-01 15:29:30 +01:00
webpack.config.js migrate to `expo-linear-gradient` (#3420) 2024-04-04 21:22:13 -07:00
yarn.lock Replace pluralize by plural by @tkusano (#3882) 2024-05-06 16:55:57 -07:00

README.md

Bluesky Social App

Welcome friends! This is the codebase for the Bluesky Social app.

Get the app itself:

Development Resources

This is a React Native application, written in the TypeScript programming language. It builds on the atproto TypeScript packages (like @atproto/api), code for which is also on open source, but in a different git repository.

There is a small amount of Go language source code (in ./bskyweb/), for a web service that returns the React Native Web application.

The Build Instructions are a good place to get started with the app itself.

The Authenticated Transfer Protocol ("AT Protocol" or "atproto") is a decentralized social media protocol. You don't need to understand AT Protocol to work with this application, but it can help. Learn more at:

The Bluesky Social application encompasses a set of schemas and APIs built in the overall AT Protocol framework. The namespace for these "Lexicons" is app.bsky.*.

Contributions

While we do accept contributions, we prioritize high quality issues and pull requests. Adhering to the below guidelines will ensure a more timely review.

Rules:

  • We may not respond to your issue or PR.
  • We may close an issue or PR without much feedback.
  • We may lock discussions or contributions if our attention is getting DDOSed.
  • We're not going to provide support for build issues.

Guidelines:

  • Check for existing issues before filing a new one please.
  • Open an issue and give some time for discussion before submitting a PR.
  • Stay away from PRs like...
    • Changing "Post" to "Skeet."
    • Refactoring the codebase, eg to replace mobx with redux or something.
    • Adding entirely new features without prior discussion.

Remember, we serve a wide community of users. Our day to day involves us constantly asking "which top priority is our top priority." If you submit well-written PRs that solve problems concisely, that's an awesome contribution. Otherwise, as much as we'd love to accept your ideas and contributions, we really don't have the bandwidth. That's what forking is for!

Forking guidelines

You have our blessing 🪄 to fork this application! However, it's very important to be clear to users when you're giving them a fork.

Please be sure to:

  • Change all branding in the repository and UI to clearly differentiate from Bluesky.
  • Change any support links (feedback, email, terms of service, etc) to your own systems.
  • Replace any analytics or error-collection systems with your own so we don't get super confused.

Security disclosures

If you discover any security issues, please send an email to security@bsky.app. The email is automatically CCed to the entire team and we'll respond promptly.

Are you a developer interested in building on atproto?

Bluesky is an open social network built on the AT Protocol, a flexible technology that will never lock developers out of the ecosystems that they help build. With atproto, third-party can be as seamless as first-party through custom feeds, federated services, clients, and more.

License (MIT)

See ./LICENSE for the full license.

P.S.

We ❤️ you and all of the ways you support us. Thank you for making Bluesky a great place!