Selfcrafted is a web application designed to provide users with an engaging and interactive experience. The platform allows users to explore crafts, learn about the company, start crafting processes, manage their user profiles, and view their shopping carts.
- Node.js (v16 or higher)
- npm (v8 or higher)
-
Clone the repository:
git clone https://github.com/TheAnimatrix/SCWeb.git cd SCWeb -
Install dependencies:
npm install
-
Set up environment variables:
-
Create a
.envfile in the root directory. -
Add your Supabase URL and public API key:
VITE_SUPABASE_URL=your-supabase-url VITE_SUPABASE_ANON_KEY=your-supabase-anon-key
-
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173to view the application.
The blog lives at /blog, with individual stories at /blog/[slug]. Edit the starter articles or add
new entries in src/lib/blog/posts.ts. Each entry contains a stable slug, title, excerpt, category,
publication date, a cover illustration with alt text and dimensions, and structured body blocks
(paragraphs, headings, quotes, or lists). Paragraphs may include links to public sources. Reading times
are calculated from the content; the feed and sitemap include the articles automatically. Publish
content changes through the normal site deployment.
Blog illustrations are stored in static/images/blog; the generation prompts are recorded in
docs/blog-image-prompts.md.
Contributions are welcome! Please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.
This project uses a dual-license model:
- Default: GNU Affero General Public License v3.0 (AGPL-3.0) — free to use, with copyleft obligations including the network/SaaS clause for modified hosted deployments.
- Commercial: Required for closed-source/non-copyleft use or commercial use expecting gross revenue over USD $10,000.
See LICENSING.md for the full explanation. Contributors accept CLA.md so contributions may be distributed under both licenses.
Commercial licensing: creo@selfcrafted.in