+17
.env.example
+17
.env.example
···
+69
config.php.example
+69
config.php.example
···+define('DB_LOCATION', __DIR__.'/data/sbs.db'); # or something like that. not in the same folder! it is ass in source control!!!+define('FRONTPAGE_FEED', "at://did:plc:ffkgesg3jsv2j7aagkzrtcvt/app.bsky.feed.generator/aaagllxbcbsje");+# ideally pick a DEFAULT_PDS that has open registration, since this will be used to allow people to+define('FAVORITE_FEEDS', [ // list of feeds you want to display in the sidebar to users not logged in
+84
-83
index.php
+84
-83
index.php
······+Flight::set('userAuth', array_key_exists('sbs_'.SITE_DOMAIN, $_SESSION) ? $_SESSION['sbs_'.SITE_DOMAIN] : null);+Flight::set('userPds', array_key_exists('sbs_'.SITE_DOMAIN.'_pds', $_SESSION) ? $_SESSION['sbs_'.SITE_DOMAIN.'_pds'] : null);+Flight::set('userInfo', array_key_exists('sbs_'.SITE_DOMAIN.'_userinfo', $_SESSION) ? $_SESSION['sbs_'.SITE_DOMAIN.'_userinfo'] : null);···'setTheme' => array_key_exists('sbs_theme', $_COOKIE) ? $_COOKIE['sbs_theme'] : DEFAULT_THEME,···-// https://shimaenaga.veryroundbird.house/oauth/authorize?client_id=https%3A%2F%2Ftangled.org%2Foauth%2Fclient-metadata.json&request_uri=urn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3Areq-2399ff42af66498132ebf8de809254b7
+40
-2
lib/bskyProvider.php
+40
-2
lib/bskyProvider.php
···class BskyProvider extends OAuth2Provider implements \chillerlan\OAuth\Core\PAR, \chillerlan\OAuth\Core\PKCE {···+throw new ProviderException(sprintf('PAR error: "%s" (%s)', $json['error'], $json['error_description']));+throw new ProviderException(sprintf('PAR request error: (HTTP/%s)', $status)); // @codeCoverageIgnore+$url = QueryUtil::merge($this->authorizationURL, $this->getParAuthorizationURLRequestParams($json));
+1
lib/bskyToucher.php
+1
lib/bskyToucher.php
+2
pages/privacy.md
+2
pages/privacy.md
···smallbird social is meant to run as lightweight as possible and stores no data on its own server. if you are using a veryroundbird.house pds, your data and activity is on *that* server, but it only stores what's necessary to, you know, interact with the atproto ecosystem. so, user ID information, your posts, follows, likes, etc.+the server also caches publicly-available post and user data to speed up requests. none of this data is kept longer than, like, a few days unless it's requested again.there is some minimal tracking via goatcounter, but your data will never touch advertisers and it doesn't track individual users; i mostly just want to know what the site usage numbers are and where people found it from.
+5
pages/terms.md
+5
pages/terms.md
···+i reserve the right to block any IPs that are hitting the site too hard. i also reserve the right to end service at any time if for some reason it gets too hard to maintain or something like that. some features may be jank, broken, or missing due to the limitations of my approach and time.
-17
public/.env.example
-17
public/.env.example
···
-15
public/client-metadata.json
-15
public/client-metadata.json
···
-69
public/config.php.example
-69
public/config.php.example
···-define('DB_LOCATION', __DIR__.'/data/sbs.db'); # or something like that. not in the same folder! it is ass in source control!!!-define('FRONTPAGE_FEED', "at://did:plc:ffkgesg3jsv2j7aagkzrtcvt/app.bsky.feed.generator/aaagllxbcbsje");-# ideally pick a DEFAULT_PDS that has open registration, since this will be used to allow people to-define('FAVORITE_FEEDS', [ // list of feeds you want to display in the sidebar to users not logged in
+4
templates/layout.latte
+4
templates/layout.latte
+1
-3
vendor/chillerlan/php-oauth/src/Core/PARTrait.php
+1
-3
vendor/chillerlan/php-oauth/src/Core/PARTrait.php
···
+2
-2
vendor/composer/installed.php
+2
-2
vendor/composer/installed.php
······