Skip to content

Commit 9353898

Browse files
committed
Rebrand project from massCode Web to takeCode
- Rename project title from 'massCode Web' to 'takeCode' - Update Docker image names from masscode-web to takecode - Update Docker Hub and GHCR repository links - Update service name in docker-compose.yml - Update screenshot from masscode-screenshot.png to takecode-screenshot.png - Update all references throughout documentation and code
1 parent 7ab2e74 commit 9353898

9 files changed

Lines changed: 31 additions & 30 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
with:
7373
images: |
7474
ghcr.io/${{ github.repository }}
75-
docker.io/codebude/masscode-web
75+
docker.io/codebude/takecode
7676
tags: |
7777
type=raw,value=${{ steps.version-tag.outputs.tag }}
7878
type=raw,value=latest,enable=${{ inputs.tag_as_latest }}

.github/workflows/update-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
key: ${{ secrets.SSH_PRIVATE_KEY }}
1919
passphrase: ${{ secrets.SSH_PASSPHRASE }}
2020
script: |
21-
cd /srv/masscodeweb
21+
cd /srv/takecode
2222
docker compose pull
2323
docker compose up -d --force-recreate

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
db.json
2+
TODO.md
23
!public/data/db.json

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
All notable changes to **massCode Web** will be documented in this file.
3+
All notable changes to **takeCode** will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212

1313
### Added
1414
- **Docker Hub Publishing**: Enhanced build workflow to publish Docker images to both GitHub Container Registry and Docker Hub
15-
- **Multi-Registry Support**: Images now available on both `ghcr.io/codebude/masscode-web` and `docker.io/codebude/masscode-web`
15+
- **Multi-Registry Support**: Images now available on both `ghcr.io/codebude/takecode` and `docker.io/codebude/takecode`
1616

1717
### Technical Details
1818
- Updated workflow permissions from `contents: read` to `contents: write` for repository dispatch functionality
@@ -27,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- **Desktop Sidebar Overflow**: Fixed content overflow when sidebar is open on desktop using responsive CSS with calc() functions and sibling selectors
2828

2929
### Added
30-
- **Live Demo**: Added live demo section to README with link to https://masscodeweb.code-bude.net/
30+
- **Live Demo**: Added live demo section to README with link to https://demo.take-code.dev/
3131
- **GitHub Actions Workflow**: Added manual workflow for updating live demo via SSH and Docker Compose
3232
- **Automatic Demo Updates**: Modified build workflow to automatically trigger demo updates when tagging builds as latest
3333

@@ -183,4 +183,4 @@ This project uses [Semantic Versioning](https://semver.org/):
183183
- 🐛 **Fixed** - Bug fixes
184184
- 🗑️ **Removed** - Removed features
185185
- 🚨 **Breaking** - Breaking changes</content>
186-
<parameter name="filePath">/home/raffael/git/masscode-web/CHANGELOG.md
186+
<parameter name="filePath">/home/raffael/git/takecode/CHANGELOG.md

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# massCode Web
1+
# takeCode
22

33
A modern web interface for browsing and searching your massCode snippets with syntax highlighting, themes, and copy-to-clipboard functionality.
44

55
[![Docker](https://img.shields.io/badge/Docker-Ready-green?style=flat-square&logo=docker)](#using-docker-compose-recommended)
6-
[![Docker Hub](https://img.shields.io/docker/pulls/codebude/masscode-web?style=flat-square&logo=docker)](https://hub.docker.com/r/codebude/masscode-web)
7-
[![GHCR](https://img.shields.io/badge/GHCR-Ready-blue?style=flat-square&logo=github)](https://github.com/codebude/masscode-web/pkgs/container/masscode-web)
6+
[![Docker Hub](https://img.shields.io/docker/pulls/codebude/takecode?style=flat-square&logo=docker)](https://hub.docker.com/r/codebude/takecode)
7+
[![GHCR](https://img.shields.io/badge/GHCR-Ready-blue?style=flat-square&logo=github)](https://github.com/codebude/takecode/pkgs/container/takecode)
88
[![License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)](LICENSE.txt)
99

1010

@@ -25,17 +25,17 @@ A modern web interface for browsing and searching your massCode snippets with sy
2525

2626
## 📸 Screenshot
2727

28-
![massCode Web Interface](img/masscode-screenshot.png)
28+
![takeCode Interface](img/takecode-screenshot.png)
2929

3030
*Browse your massCode snippets with a clean, modern web interface featuring syntax highlighting, (regex-)search, dark-/light-mode and tabbed code fragments.*
3131

3232
## 🌐 Live Demo
3333

34-
Check out the live demo at [https://masscodeweb.code-bude.net/](https://masscodeweb.code-bude.net/)
34+
Check out the live demo at [https://demo.take-code.dev/](https://demo.take-code.dev/)
3535

3636
## 💡 Motivation
3737

38-
I love [massCode](https://masscode.io/) - it's an amazing code snippet manager that helps me organize and access my code snippets efficiently. However, sometimes I work on devices where I can't install the desktop client (like company laptops, shared computers, or restricted environments). To still have access to my snippets, I created massCode Web - a lightweight web interface that works with massCode's database files.
38+
I love [massCode](https://masscode.io/) - it's an amazing code snippet manager that helps me organize and access my code snippets efficiently. However, sometimes I work on devices where I can't install the desktop client (like company laptops, shared computers, or restricted environments). To still have access to my snippets, I created takeCode - a lightweight web interface that works with massCode's database files.
3939

4040
## ⚠️ Affiliation & Disclaimer
4141

@@ -54,7 +54,7 @@ I love [massCode](https://masscode.io/) - it's an amazing code snippet manager t
5454

5555
### Finding Your massCode Database
5656

57-
massCode Web works by reading your existing massCode `db.json` file. Here's how to locate it:
57+
takeCode works by reading your existing massCode `db.json` file. Here's how to locate it:
5858

5959
#### On Different Operating Systems:
6060

@@ -66,13 +66,13 @@ For more details, check the [massCode documentation on data storage](https://mas
6666

6767
#### Shared/Network Databases
6868

69-
You can also use massCode Web with databases stored on network drives or shared locations. Simply mount the network drive and point the volume mapping to the shared `db.json` file path.
69+
You can also use takeCode with databases stored on network drives or shared locations. Simply mount the network drive and point the volume mapping to the shared `db.json` file path.
7070

7171
### Using Docker Compose (Recommended)
7272

7373
1. **Download the docker-compose.yml**:
7474
```bash
75-
wget https://raw.githubusercontent.com/codebude/masscode-web/main/docker-compose.yml
75+
wget https://raw.githubusercontent.com/codebude/takecode/main/docker-compose.yml
7676
```
7777

7878
2. **Edit the volume mapping**:
@@ -105,7 +105,7 @@ volumes:
105105

106106
### Configuration Options
107107

108-
massCode Web supports environment variables for customization:
108+
takeCode supports environment variables for customization:
109109

110110
#### SEARCH_HIGHLIGHT_LIMIT
111111

@@ -134,17 +134,17 @@ environment:
134134

135135
```bash
136136
# Using GitHub Container Registry
137-
docker run -d -p 8080:80 -v /path/to/your/db.json:/data/db.json:ro ghcr.io/codebude/masscode-web:latest
137+
docker run -d -p 8080:80 -v /path/to/your/db.json:/data/db.json:ro ghcr.io/codebude/takecode:latest
138138
139139
# Or using Docker Hub
140-
docker run -d -p 8080:80 -v /path/to/your/db.json:/data/db.json:ro codebude/masscode-web:latest
140+
docker run -d -p 8080:80 -v /path/to/your/db.json:/data/db.json:ro codebude/takecode:latest
141141
```
142142

143143
## 🤝 Contributing
144144

145145
Found a bug or have a feature request? Feel free to:
146-
- [Open an issue](https://github.com/codebude/masscode-web/issues)
147-
- [Create a pull request](https://github.com/codebude/masscode-web/pulls)
146+
- [Open an issue](https://github.com/codebude/takecode/issues)
147+
- [Create a pull request](https://github.com/codebude/takecode/pulls)
148148
- ⭐ Star the repository if you find it useful!
149149

150150
## 📄 License
@@ -153,8 +153,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
153153

154154
---
155155

156-
**Try massCode Web today and supercharge your snippet management! 🚀**
156+
**Try takeCode today and supercharge your snippet management! 🚀**
157157

158158
## 📈 Star History
159159

160-
[![Star History Chart](https://api.star-history.com/svg?repos=codebude/masscode-web&type=Date)](https://www.star-history.com/#codebude/masscode-web&Date)
160+
[![Star History Chart](https://api.star-history.com/svg?repos=codebude/takecode&type=Date)](https://www.star-history.com/#codebude/takecode&Date)

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
2-
masscode-web:
3-
image: ghcr.io/codebude/masscode-web:latest
4-
# image: codebude/masscode-web:latest
2+
takecode:
3+
image: ghcr.io/codebude/takecode:latest
4+
# image: codebude/takecode:latest
55
ports:
66
- "8080:80"
77
volumes:

public/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>massCode-Web</title>
6+
<title>takeCode</title>
77
<script src="https://cdn.tailwindcss.com"></script>
88
<script>
99
tailwind.config = {
@@ -26,7 +26,7 @@
2626
<path d="M14 10L18 14" stroke="#10B981" stroke-width="2" stroke-linecap="round"/>
2727
<path d="M18 10L14 14" stroke="#10B981" stroke-width="2" stroke-linecap="round"/>
2828
</svg>
29-
<h1 class="text-2xl font-bold truncate">massCode-Web</h1>
29+
<h1 class="text-2xl font-bold truncate">takeCode</h1>
3030
</div>
3131
<div class="flex items-center space-x-2 ml-auto flex-shrink-0">
3232
<button id="theme-toggle" class="bg-gray-200 text-gray-900 p-2 rounded hover:bg-gray-300 transition-colors dark:bg-gray-800 dark:text-white dark:hover:bg-gray-700 flex-shrink-0" title="Toggle theme">
@@ -46,7 +46,7 @@ <h1 class="text-2xl font-bold truncate">massCode-Web</h1>
4646
</div>
4747
<footer class="p-4 border-t border-gray-200 dark:border-gray-600">
4848
<div class="flex items-center justify-between">
49-
<a href="https://github.com/codebude/masscode-web" target="_blank" class="text-gray-600 hover:text-gray-800 transition-colors dark:text-gray-400 dark:hover:text-white">
49+
<a href="https://github.com/codebude/takecode" target="_blank" class="text-gray-600 hover:text-gray-800 transition-colors dark:text-gray-400 dark:hover:text-white">
5050
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
5151
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
5252
</svg>
@@ -69,7 +69,7 @@ <h1 class="text-2xl font-bold truncate">massCode-Web</h1>
6969
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/keep-markup/prism-keep-markup.min.js"></script>
7070
<script>
7171
// Set global config from environment variables
72-
window.MASSCODE_CONFIG = {
72+
window.TAKECODE_CONFIG = {
7373
SEARCH_HIGHLIGHT_LIMIT: parseInt('${SEARCH_HIGHLIGHT_LIMIT}') || 3
7474
};
7575
</script>

public/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ document.addEventListener('DOMContentLoaded', () => {
422422
function highlightSearchMatches(text, query) {
423423
if (!query.trim()) return text;
424424

425-
const highlightLimit = window.MASSCODE_CONFIG?.SEARCH_HIGHLIGHT_LIMIT ?? 3;
425+
const highlightLimit = window.TAKECODE_CONFIG?.SEARCH_HIGHLIGHT_LIMIT ?? 3;
426426

427427
try {
428428
// Try to use the query as a regex pattern

0 commit comments

Comments
 (0)