百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Z

zipsell

> 数据库
开源

一个免费的 开源 平台,用于销售电子下载产品,如电子书

590 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个免费的 开源 平台,用于销售电子下载产品,如电子书

Zipsell

Zipsell helps you set up an online store for selling digital products such as ebooks, music, videos, source code etc.

Zipsell handles payment processing via stripe and sends customers secure expiring Amazon S3 links to the files they have purchased. Since it is self-hosted, you receive payments directly and avoid paying commissions to 3rd party marketplaces.

Zipsell is built with Ruby on Rails.

Demo site - http://demo.zipsell.org

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Zipsell is a Ruby on Rails app. These instructions assume you have run a rails app on your local machine before.

Installing

Clone the project into a local folder and run the included setup file:

bash
git clone https://github.com/yongfook/zipsell
cd zipsell
./bin/setup

Configuration

During local setup above, a git-ignored config file is generated at config/application.yml.

Populate this with your local and production config for Amazon AWS, Stripe etc. You can have environment-specific values for local, test and production. ENV config is handled by the Figaro gem.

The config template looks like this:

…

These should be self explanatory except for the optional cdn host section.

cdn_host_assets: This is the optional Rails asset pipeline cdn host. Use this if you want to serve css / js faster. Include the protocol you want to use e.g. https://myapp.cdn.com

cdn_host_s3_bucket: This is the optional Amazon Cloudfront cdn host for your S3 bucket. Use this if you want to serve uploaded image files faster. Do not include the protocol, use only the hostname e.g. randomname.cloudfront.net

Running locally

Start your rails server:

rails s

Your shopfront is at:

http://0.0.0.0:3000

Your admin dashboard is at:

http://0.0.0.0:3000/admin

Deployment on Heroku

To deploy to heroku for the first time:

bash
heroku create
git push heroku master
heroku run rails db:migrate
figaro heroku:set -e production

The last line updates the remote heroku server with the ENV config in config/application.yml.

You will need to run this command again if you change your production config.

Contributing

In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Built With

  • Amazon S3 is used as the file store. All downloadable files have non-public access rights and download links are securely signed with a configurable expiry time.
  • Bulma is used as the css framework.
  • Figaro is used to set production configuration without commiting files or storing sensitive information in databases.
  • Heroku is used as the production environment in my readme, although you are free to deploy it anywhere else.
  • Paperclip is used for file attachments. I purposely removed Active Storage from the app as it is currently not suitable for serving files via CDN. Zipsell needs flexibility - image previews can be served from a CDN while private, downloadable files are served directly from the S3 bucket.
  • Ruby on Rails is used as the web application framework.
  • Stripe is used as the payment processor. You use your own Stripe account with Zipsell and all payments go directly to you.

License

This project is licensed under the MIT License - see the LICENSE file for details

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubydigital-assetsdigital-productsdownloadsebook-downloader

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库