{"id":29554933,"url":"https://github.com/graylikeblackandwhite/svelteboard","last_synced_at":"2025-08-02T00:33:48.884Z","repository":{"id":276235327,"uuid":"928606301","full_name":"graylikeblackandwhite/svelteboard","owner":"graylikeblackandwhite","description":"An imageboard created with Svelte. No client-side Javascript so safe for TOR and other applications.","archived":false,"fork":false,"pushed_at":"2025-02-10T18:45:54.000Z","size":591,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T11:48:18.684Z","etag":null,"topics":["chan","imageboard","svelte","sveltechan"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graylikeblackandwhite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-06T23:01:07.000Z","updated_at":"2025-02-11T23:46:27.000Z","dependencies_parsed_at":"2025-07-15T11:48:26.907Z","dependency_job_id":"eee5791d-d9c5-48cf-a405-7657c1b8ad66","html_url":"https://github.com/graylikeblackandwhite/svelteboard","commit_stats":null,"previous_names":["imake-ds-team/svelteboard","graylikeblackandwhite/svelteboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/graylikeblackandwhite/svelteboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graylikeblackandwhite%2Fsvelteboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graylikeblackandwhite%2Fsvelteboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graylikeblackandwhite%2Fsvelteboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graylikeblackandwhite%2Fsvelteboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graylikeblackandwhite","download_url":"https://codeload.github.com/graylikeblackandwhite/svelteboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graylikeblackandwhite%2Fsvelteboard/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268317926,"owners_count":24231453,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chan","imageboard","svelte","sveltechan"],"created_at":"2025-07-18T08:10:34.328Z","updated_at":"2025-08-02T00:33:48.852Z","avatar_url":"https://github.com/graylikeblackandwhite.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelteboard\n\n![Screenshot of Svelteboard](image.png)\n\nAn imageboard created with Svelte. No client-side Javascript so is safe for TOR and other applications.\n\n## Why Svelteboard?\nOther imageboard software requires that you fumble around with MariaDB, PHP, and a host of other software. With this, all you have to do is fill out your .env, type `npm install`, and run a few scripts in a Supabase instance. It's that simple.\n\nAdditionally, there's no client-side Javascript in this software, making it ideal for applications like TOR, which don't permit any client-side Javascript at all.\n\n## Deployment\n\nDeploying other people's software, especially the ones you find in their GitHub repos, is a huge pain in the ass. If something in here confuses you, please open an issue or DM me!\n\nI also recommend you deploy this on a Linux machine. Windows is truly only good for gaming and other niche applications. Ubuntu works best.\n### Priors (you'll need):\n- A Supabase instance, cloud is fine. If you want maximum control over your data, though, i.e., you live under an oppressive government, look into performing a local deployment of Supabase.\n- NodeJS and NPM.\n\n### Installation \u0026 Setup\nFirst, clone the repo\n\n```bash\ngit clone https://github.com/imake-ds-team/svelteboard.git\n```\n\nThen, install all dependencies\n```bash\nnpm install\n```\n\nThen, rename `.env.example` to `.env` and thats where all of your configurations can be found.\n\n#### Customization\nYou can go to `app.css` and alter the variables there. You can also install custom fonts with a [webfont generator](https://www.fontsquirrel.com/tools/webfont-generator). I like to get my fonts for free from [Dafont](https://www.dafont.com/).\n\n### Supabase Project Setup\nAfter you intialize your project, go to your SQL editor and create your table for boards:\n\n```sql\ncreate table boards (\n  id bigint generated by default as identity primary key,\n  inserted_at timestamp with time zone default timezone ('utc'::text, now()) not null,\n  name text unique not null,\n  abbreviation text unique not null,\n  description text not null\n);\n\nalter table boards enable row level security;\n\ncreate policy \"Anyone can read boards.\"\non boards for select\nto anon\nusing ( true );\n```\n\nnow create your table for threads:\n\n```sql\ncreate table threads (\n  id bigint generated by default as identity primary key,\n  inserted_at timestamp with time zone default timezone ('utc'::text, now()) not null,\n  title text not null,\n  content text not null,\n  gtripcode text null,\n  board not null,\n  image_url text null\n);\n\nalter table threads enable row level security;\n\ncreate policy \"Anyone can read threads.\"\non threads for select\nto anon\nusing ( true );\n\ncreate policy \"Anyone can update threads.\"\non threads for update\nto anon\nusing ( true )\nwith check ( true );\n\ncreate policy \"Anyone can insert threads.\"\non threads for insert\nto anon\nwith check ( true );\n\ncreate policy \"Anyone can delete threads.\"\non threads for delete\nto anon\nusing ( true );\n```\n\nand create your table for posts:\n\n```sql\ncreate table posts (\n  id bigint generated by default as identity primary key,\n  inserted_at timestamp with time zone default timezone ('utc'::text, now()) not null,\n  content text not null,\n  image_url text not null,\n  parent_thread_id text not null,\n  parent_thread_board text not null\n);\n\nalter table posts enable row level security;\n\ncreate policy \"Anyone can read posts.\"\non posts for select\nto anon\nusing ( true );\n\ncreate policy \"Anyone can insert posts.\"\non posts for insert\nto anon\nwith check ( true );\n\ncreate policy \"Anyone can update posts.\"\non posts for update\nto anon\nusing ( true )\nwith check ( true );\n\ncreate policy \"Anyone can delete posts.\"\non posts for delete\nto anon\nusing ( true );\n```\n\nFinally, create a new bucket called `threads-uploads`, make it public, with the accepted MIME type being all images, with whatever file upload limit you want. Return to your SQL editor and run\n\n```sql\nCREATE POLICY \"Permissive Policy qo2jqm_0\" ON storage.objects FOR INSERT TO public WITH CHECK (bucket_id = 'threads-uploads');\nCREATE POLICY \"Permissive Policy qo2jqm_1\" ON storage.objects FOR SELECT TO public USING (bucket_id = 'threads-uploads');\nCREATE POLICY \"Permissive Policy qo2jqm_2\" ON storage.objects FOR DELETE TO public USING (bucket_id = 'threads-uploads');\n```\n\n### Building\nRun\n```bash\nnpm run build\n```\n\nand your build should be in the `.svelte-kit` directory of the cloned repo! :D\n\n### How do I...\n\n#### Add new boards?\nGo to your `boards` table and create a new row.\n\n#### Delete threads/replies?\nTake your `ADMIN_PASSWORD` and delete threads/replies with that. The tripcode form accepts the correct tripcode AND the `ADMIN_PASSWORD`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraylikeblackandwhite%2Fsvelteboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraylikeblackandwhite%2Fsvelteboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraylikeblackandwhite%2Fsvelteboard/lists"}