Compare commits

...

4 commits

Author SHA1 Message Date
alcapurrias
971e744057 Update 'app/Http/Controllers/LocationController.php' 2023-09-06 00:36:13 +02:00
alcapurrias
faef26e528 Update 'resources/views/front/location.blade.php' 2023-09-05 23:59:09 +02:00
alcapurrias
1f65756bdd Update 'README.md' 2023-09-05 23:52:43 +02:00
alcapurrias
a0b4f1759c Update 'resources/views/front/about.blade.php'
Minor spelling and grammar changes, updated the case for headings as well.
2023-09-05 23:35:17 +02:00
4 changed files with 25 additions and 25 deletions

View file

@ -1,6 +1,6 @@
# The Bad Space # The Bad Space
A searcable catalog of the worst places on the web. A searchable catalog of the worst places on the web.
More features incoming More features incoming

View file

@ -45,12 +45,12 @@ class LocationController extends Controller
return back()->with('message', 'New Location Added. Take a break!'); return back()->with('message', 'New Location Added. Take a break!');
} else { } else {
return back()->withErrors([ return back()->withErrors([
'error' => 'Uh oh. There was an inssue', 'error' => 'Uh oh. There was an issue.',
]); ]);
} }
} else { } else {
return back()->withErrors([ return back()->withErrors([
'error' => 'All fields are required', 'error' => 'All fields are required.',
]); ]);
} }
} }
@ -65,7 +65,7 @@ class LocationController extends Controller
$duplicates = 0; $duplicates = 0;
$fresh = 0; $fresh = 0;
// ['url' => "rage.love"], // ['url' => "rage.love"],
//['url' => "indyapocalypse.social"], //['url' => "indiepocalypse.social"],
$unified = []; $unified = [];
//$denycount = array_map('str_getcsv', file($this->defed)); //$denycount = array_map('str_getcsv', file($this->defed));
@ -145,7 +145,7 @@ class LocationController extends Controller
'uuid' => Uuid::uuid4(), 'uuid' => Uuid::uuid4(),
'name' => $item['url'], 'name' => $item['url'],
'url' => $item['url'], 'url' => $item['url'],
'description' => ($item['comment'] != null) ? $item['comment'] : "no description", 'description' => ($item['comment'] != null) ? $item['comment'] : "No description provided.",
'active' => true, 'active' => true,
'rating' => $item['rating'], 'rating' => $item['rating'],
'added_by' => 1, 'added_by' => 1,

View file

@ -4,58 +4,58 @@
@parent @parent
<section> <section>
<article> <article>
<h2 id="what">What is The Bad Space?</h2> <h2 id="what">What Is The Bad Space?</h2>
<p>The Bad Space project was born from a need to effectively identify instances that house bad actors and are poorly moderated, which puts marginalized communities at risk. <p>The Bad Space project was born from a need to effectively identify instances that house bad actors and are poorly moderated, which puts marginalized communities at risk.
</p> </p>
<p> <p>
It is an extension of the It is an extension of the
<strong>#fediblock</strong> <strong>#fediblock</strong>
hashtag created by hashtag created by
<a href="https://www.artistmarciax.com/">Artist Marcia X</a> <a href="https://www.artistmarciax.com/" target="_new">Artist Marcia X</a>,
with additional support from with additional support from
<a href="https://digital.rooting.garden">Ginger</a> <a href="https://digital.rooting.garden" target="_new">Ginger</a>,
to provide a catalog of instances that seek to cause harm and reduce the quality of experience in the fediverse. to provide a catalog of instances that seek to cause harm and reduce the quality of experience in the fediverse.
</p> </p>
<p> <p>
Technical support provided by Technical support provided by
<a href="https://roiskinda.cool/profile.html">Ro</a>. <a href="https://roiskinda.cool/profile.html" target="_new">Ro</a>.
</p> </p>
<h2 id="how">How does it work?</h2> <h2 id="how">How Does It Work?</h2>
<p>The Bad Space is a collaboration of instances committed to actively moderating against racism, sexism, heterosexism, transphobia, ableism, casteism, or religion.</p> <p>The Bad Space is a collaboration of instances committed to actively moderating against racism, sexism, heterosexism, transphobia, ableism, casteism, and religion.</p>
<p>These instances have permitted The Bad Space to read their respective blocklists to create a composite directory of sites tagged for the behavior above that can be searched and, through a public API, can be integrated into external services.</p> <p>These instances have permitted The Bad Space to read their respective blocklists to create a composite directory of sites tagged for the behavior above that can be searched and, through a public API, can be integrated into external services.</p>
<p><strong>Current Sources:</strong></p> <p><strong>Current Sources:</strong></p>
Maston:<br /> Mastodon:<br />
@foreach($sources as $source) @foreach($sources as $source)
@if($source->format == 'json') @if($source->format == 'json')
<a href="https://{{$source->url}}">{{$source->url}}</a><br /> <a href="https://{{$source->url}}">{{$source->url}}</a><br />
@endif @endif
@endforeach @endforeach<br />
Custom CSV<br /> Custom CSV:<br />
@foreach($sources as $source) @foreach($sources as $source)
@if($source->format == 'csv') @if($source->format == 'csv')
<a href="{{$source->url}}">{{$source->url}}</a><br /> <a href="{{$source->url}}">{{$source->url}}</a><br />
@endif @endif
@endforeach @endforeach
<h2>How do I use it?</h2> <h2>How Do I Use It?</h2>
<p> <p>
The Bad Space is meant to be a resource for anyone looking to improve the quality of their online experience by creating a tool that catalogs sources for harassment and abuse. There are several options for how it can be used. The Bad Space is meant to be a resource for anyone looking to improve the quality of their online experience by creating a tool that catalogs sources for harassment and abuse. There are several options for how it can be used.
<h3>Search</h3> <h3>Search</h3>
To see if a site is listed in the database, use the To see if an instance is listed in the database, use the
<a href="/">search feature</a> <a href="/">search feature</a>
to search for that URL. If it is in the database, information for that instance will be returned and associated instances if applicable. to search for its URL. If it is in the database, information for that instance will be returned and include associated instances, if applicable.
<h3>CSV Exports</h3> <h3>CSV Exports</h3>
For a list of the current locations being tracked, click on one of the links below to download a dynamically generated CSV file that can be consumed as a blocklist. More formats will be added over time. For a list of the current instances being tracked, click on one of the links below to download a dynamically generated CSV file that can be consumed as a blocklist. More formats will be added over time.
<br /> <br /><br />
<a href="/exports/mastodon">For Mastodon</a> <a href="/exports/mastodon">For Mastodon</a>
<h3>API</h3> <h3>API</h3>
The Bad Space has a public api that can be used to search the database programatically and return results in the JSON format. The API can be accsess at<br /> The Bad Space has a public API that can be used to search the database programatically and return results in the JSON format. The API can be accessed at<br />
<code>https://thebad.space/api/v1/search</code> <code>https://thebad.space/api/v1/search</code>
by posting a JSON object with the following format: by posting a JSON object with the following format:
<code>{"url":"search.url"}</code><br /> <code>{"url":"search.url"}</code><br /><br />
Data from API request will be returned in the follow format:<br /> Data from API requests will be returned in the following format:<br />
<pre> <pre>
<code>{ <code>{

View file

@ -25,10 +25,10 @@
<strong>Suspended Count: {{$location->block_count}}</strong> <strong>Suspended Count: {{$location->block_count}}</strong>
@endif @endif
<br /> <br /><br />
This count reflects the number of times this instance has been suspended or silenced be two or more <a href="/about#how">Current Sources</a> This count reflects the number of times this instance has been suspended or silenced by two or more <a href="/about#how">Current Sources</a>.
<br />UPDATED : {{$updated}} <br /><br />UPDATED: {{$updated}}
</article> </article>
</section> </section>
@endsection @endsection